@@ -109,6 +109,21 @@ jobs:
109109 name : Notify Slack on failure
110110 when : on_fail
111111 working_directory : ~/kubernetes-monitor
112+ delete_operators_from_quay :
113+ docker :
114+ - auth :
115+ password : $DOCKERHUB_PASSWORD
116+ username : $DOCKERHUB_USER
117+ image : circleci/python:3.9
118+ steps :
119+ - checkout
120+ - install_python_requests
121+ - run :
122+ command : |
123+ python3 scripts/operator/delete_operators_from_quay.py "${QUAY_USERNAME}" "${QUAY_PASSWORD}"
124+ name : Delete Operators from Quay
125+ when : always
126+ working_directory : ~/kubernetes-monitor
112127 deploy_dev :
113128 docker :
114129 - auth :
@@ -334,11 +349,6 @@ jobs:
334349 export KUBERNETES_MONITOR_IMAGE_NAME_AND_TAG=$(./scripts/circleci-jobs/setup-integration-tests.py)
335350 .circleci/do-exclusively --branch staging --job ${CIRCLE_JOB} npm run test:integration:openshift4:operator
336351 name : Integration tests OpenShift 4
337- - run :
338- command : |
339- scripts/operator/delete_operators_from_quay.py "${QUAY_USERNAME}" "${QUAY_PASSWORD}"
340- name : Delete Operators from Quay
341- when : always
342352 - run :
343353 command : |
344354 ./scripts/slack/notify_failure_on_branch.py "${CIRCLE_BRANCH}" "${CIRCLE_JOB}" "${CIRCLE_BUILD_URL}" "${CIRCLE_PULL_REQUEST}" "${SLACK_WEBHOOK}"
@@ -946,6 +956,14 @@ workflows:
946956 requires :
947957 - build_image
948958 - build_and_upload_operator
959+ - delete_operators_from_quay :
960+ filters :
961+ branches :
962+ only :
963+ - staging
964+ requires :
965+ - integration_tests_operator_on_k8s
966+ - openshift4_integration_tests
949967 - tag_and_push :
950968 filters :
951969 branches :
0 commit comments