Commit 998792dd authored by Pablo Panero's avatar Pablo Panero
Browse files

Fix: worng variable name in tag_image, import_image and deploy_production

parent 5bedf473
......@@ -71,7 +71,7 @@ tag_image_dev: &tag_image_openshift
- oc tag --source=docker ${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG} ${RESOURCE}:${CI_COMMIT_TAG} --token=${TOKEN} --server=${OPENSHIFT_SERVER} -n ${NAMESPACE}
variables:
TOKEN: ${SERVICE_ACCOUNT_TOKEN_DEV}
NAMESAPCE: ${NAMESPACE_DEV}
NAMESPACE: ${NAMESPACE_DEV}
OPENSHIFT_SERVER: ${OPENSHIFT_SERVER_DEV}
########## PROD ##########
......@@ -80,7 +80,7 @@ tag_image_prod:
<<: *tag_image_openshift
variables:
TOKEN: ${SERVICE_ACCOUNT_TOKEN_PROD}
NAMESAPCE: ${NAMESPACE_PROD}
NAMESPACE: ${NAMESPACE_PROD}
OPENSHIFT_SERVER: ${OPENSHIFT_SERVER_PROD}
########## DEV ##########
......@@ -108,8 +108,8 @@ import_image_prod:
- oc import-image ${RESOURCE}:${CI_COMMIT_TAG:-latest} --token=${TOKEN} --server=${OPENSHIFT_SERVER} -n ${NAMESPACE}
variables:
TOKEN: ${SERVICE_ACCOUNT_TOKEN_PROD}
NAMESAPCE: ${NAMESPACE_PROD}
OPENSHIFT_SERVER: ${OPENSHIFT_SERVER_PROD}
NAMESPACE: ${NAMESPACE_PROD}
########## PROD ##########
deploy_production:
......@@ -123,6 +123,6 @@ deploy_production:
- oc --token=${TOKEN} --server=${OPENSHIFT_SERVER} -n ${NAMESPACE} tag ${RESOURCE}:${CI_COMMIT_TAG} ${RESOURCE}:stable
variables:
TOKEN: ${SERVICE_ACCOUNT_TOKEN_PROD}
NAMESAPCE: ${NAMESPACE_PROD}
OPENSHIFT_SERVER: ${OPENSHIFT_SERVER_PROD}
NAMESPACE: ${NAMESPACE_PROD}
GIT_STRATEGY: none
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment