update image version

This commit is contained in:
Ben Parees 2015-11-20 18:26:32 -05:00
parent e0a3fa6c0a
commit 8e44d68d30
2 changed files with 22 additions and 8 deletions

View file

@ -83,7 +83,7 @@
"from": { "from": {
"kind": "ImageStreamTag", "kind": "ImageStreamTag",
"namespace": "openshift", "namespace": "openshift",
"name": "python:3.3" "name": "python:3.4"
} }
} }
}, },
@ -97,6 +97,9 @@
{ {
"type": "ImageChange" "type": "ImageChange"
}, },
{
"type": "ConfigChange"
},
{ {
"type": "GitHub", "type": "GitHub",
"github": { "github": {
@ -230,6 +233,19 @@
"type": "Recreate" "type": "Recreate"
}, },
"triggers": [ "triggers": [
{
"type": "ImageChange",
"imageChangeParams": {
"automatic": false,
"containerNames": [
"postgresql"
],
"from": {
"kind": "ImageStreamTag",
"name": "postgresql:9.4"
}
}
},
{ {
"type": "ConfigChange" "type": "ConfigChange"
} }
@ -249,7 +265,7 @@
"containers": [ "containers": [
{ {
"name": "postgresql", "name": "postgresql",
"image": "${POSTGRESQL_IMAGE}", "image": "postgresql",
"ports": [ "ports": [
{ {
"containerPort": 5432 "containerPort": 5432
@ -327,11 +343,6 @@
"generate": "expression", "generate": "expression",
"from": "[a-zA-Z0-9]{16}" "from": "[a-zA-Z0-9]{16}"
}, },
{
"name": "POSTGRESQL_IMAGE",
"description": "Image to use for postgresql",
"value": "openshift/postgresql-92-centos7"
},
{ {
"name": "APP_CONFIG", "name": "APP_CONFIG",
"description": "Relative path to Gunicorn configuration file (optional)" "description": "Relative path to Gunicorn configuration file (optional)"

View file

@ -83,7 +83,7 @@
"from": { "from": {
"kind": "ImageStreamTag", "kind": "ImageStreamTag",
"namespace": "openshift", "namespace": "openshift",
"name": "python:3.3" "name": "python:3.4"
} }
} }
}, },
@ -97,6 +97,9 @@
{ {
"type": "ImageChange" "type": "ImageChange"
}, },
{
"type": "ConfigChange"
},
{ {
"type": "GitHub", "type": "GitHub",
"github": { "github": {