Commit 89723ea8 authored by mohoff's avatar mohoff

chore(deployments): remove kubctl patch commands that added timestamp label

parent 8d0552dc
Pipeline #21362 passed with stages
in 27 seconds
......@@ -69,7 +69,6 @@ production:
- terraform workspace new ${CI_PROJECT_PATH_SLUG} || true
- terraform workspace select ${CI_PROJECT_PATH_SLUG}
- terraform apply -auto-approve
- kubectl patch deployment ${CI_PROJECT_PATH_SLUG} -n ${NAMESPACE_SLUG} -p "{\"spec\":{\"template\":{\"metadata\":{\"labels\":{\"date\":\"`date +'%s'`\"}}}}}"
- npm install --global --unsafe-perm @brickblock/ci-healthcheck
- ci-healthcheck
- CI_PROJECT_NAME=${CI_PROJECT_NAME} npx @brickblock/slack-changelog-notifier || true
......
......@@ -48,7 +48,6 @@ review:
- terraform workspace new ${CI_ENVIRONMENT_SLUG} || true
- terraform workspace select ${CI_ENVIRONMENT_SLUG}
- terraform apply -auto-approve
- kubectl patch deployment ${CI_ENVIRONMENT_SLUG} -n ${NAMESPACE_SLUG} -p "{\"spec\":{\"template\":{\"metadata\":{\"labels\":{\"date\":\"`date +'%s'`\"}}}}}"
- npm install --global --unsafe-perm @brickblock/ci-healthcheck
- ci-healthcheck
- printf "\n\n ✅ Successfully deployed to https://${CI_ENVIRONMENT_SLUG}.${REVIEW_DOMAIN}\n\n"
......
......@@ -47,7 +47,6 @@ staging:
- terraform workspace new ${CI_PROJECT_PATH_SLUG} || true
- terraform workspace select ${CI_PROJECT_PATH_SLUG}
- terraform apply -auto-approve
- kubectl patch deployment ${CI_PROJECT_PATH_SLUG} -n ${NAMESPACE_SLUG} -p "{\"spec\":{\"template\":{\"metadata\":{\"labels\":{\"date\":\"`date +'%s'`\"}}}}}"
- npm install --global --unsafe-perm @brickblock/ci-healthcheck
- ci-healthcheck
- printf "\n\n ✅ Successfully deployed to https://${STAGING_SUBDOMAIN}.${STAGING_DOMAIN}\n\n\n"
......
Markdown is supported
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