Commit ad145b2f authored by Sem den Broeder's avatar Sem den Broeder 👌🏻

Fixed review for cron

parent 12b41719
Pipeline #7829 canceled with stages
in 10 seconds
......@@ -36,6 +36,7 @@ review:
refs:
- master
variables:
- $CRON
- $REVIEW_DISABLED
stop_review:
......@@ -124,16 +125,6 @@ staging:cron:
- cat deployment.yaml | sed -e "s@{{CI_PROJECT_NAME}}@$CI_PROJECT_NAME@g" -e "s@{{CI_REGISTRY_IMAGE}}@$CI_REGISTRY_IMAGE@g"
- cat deployment.yaml | sed -e "s@{{CI_PROJECT_NAME}}@$CI_PROJECT_NAME@g" -e "s@{{CI_REGISTRY_IMAGE}}@$CI_REGISTRY_IMAGE@g" | kubectl apply -f - --validate=false --namespace=staging-apps
- kubectl patch cronjob $CI_PROJECT_NAME --namespace staging-apps -p "{\"spec\":{\"template\":{\"metadata\":{\"annotations\":{\"date\":\"`date +'%s'`\"}}}}}"
environment:
name: staging
url: http://$CI_PROJECT_PATH_SLUG.staging.$KUBE_INGRESS_BASE_DOMAIN
only:
refs:
- master
environment:
name: staging
url: http://$CI_PROJECT_PATH_SLUG.staging.$KUBE_INGRESS_BASE_DOMAIN
only:
refs:
- master
......
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