@@ -199,6 +199,34 @@ jobs:
199199 - store_artifacts :
200200 path : /tmp/logs/test/integration/kind-helm
201201 working_directory : ~/kubernetes-monitor
202+ integration_tests_operator_on_k8s :
203+ machine :
204+ docker_layer_caching : true
205+ enabled : true
206+ steps :
207+ - checkout
208+ - setup_node12
209+ - install_python_requests
210+ - run :
211+ command : mkdir -p /tmp/logs/test/integration/kind-olm-operator
212+ name : Create temporary directory for logs
213+ - run :
214+ command : |
215+ export KUBERNETES_MONITOR_IMAGE_NAME_AND_TAG=$(./scripts/circleci-jobs/setup-integration-tests.py)
216+ .circleci/do-exclusively --branch staging --job ${CIRCLE_JOB} npm run test:integration:kindolm:operator
217+ name : Operator integration tests on plain k8s
218+ - run :
219+ command : |
220+ ./scripts/operator/delete-operator-from-quay.sh
221+ name : Delete Operator from Quay
222+ - run :
223+ command : |
224+ ./scripts/slack/notify_failure_on_branch.py "staging-integration-tests-operator-on-k8s-${CIRCLE_SHA1}"
225+ name : Notify Slack on failure
226+ when : on_fail
227+ - store_artifacts :
228+ path : /tmp/logs/test/integration/kind-olm-operator
229+ working_directory : ~/kubernetes-monitor
202230 integration_tests_proxy :
203231 machine :
204232 docker_layer_caching : true
@@ -214,7 +242,7 @@ jobs:
214242 command : |
215243 export KUBERNETES_MONITOR_IMAGE_NAME_AND_TAG=$(./scripts/circleci-jobs/setup-integration-tests.py)
216244 npm run test:integration:kind:proxy
217- name : Integration tests with Helm deployment
245+ name : Integration tests with proxy
218246 - run :
219247 command : |
220248 ./scripts/slack/notify_failure_on_branch.py "staging-integration-proxy-tests-${CIRCLE_SHA1}"
@@ -601,7 +629,7 @@ jobs:
601629 command : |
602630 CURRENT_DIRECTORY=$(pwd)
603631 COMMUNITY_FOLDER_LOCATION="community-operators"
604- ./scripts/operator/push-operator.sh "${CURRENT_DIRECTORY}" "${COMMUNITY_FOLDER_LOCATION}"
632+ ./scripts/operator/push-operator-to-snyk-upstream .sh "${CURRENT_DIRECTORY}" "${COMMUNITY_FOLDER_LOCATION}"
605633 name : Push new Operator to the fork of the community-operators repository
606634 - run :
607635 command : |
@@ -615,7 +643,7 @@ jobs:
615643 - run :
616644 command : |
617645 if [[ "${NOTHING_TO_TEST}" != "true" ]]; then
618- ./scripts/slack/notify_failure.py "push-new-operator on ${COMMUNITY_FOLDER_LOCATION} "
646+ ./scripts/slack/notify_failure.py "push-new-operator on community-operators "
619647 fi
620648 name : Notify Slack on failure
621649 when : on_fail
@@ -663,7 +691,7 @@ jobs:
663691 command : |
664692 CURRENT_DIRECTORY=$(pwd)
665693 COMMUNITY_FOLDER_LOCATION="upstream-community-operators"
666- ./scripts/operator/push-operator.sh "${CURRENT_DIRECTORY}" "${COMMUNITY_FOLDER_LOCATION}"
694+ ./scripts/operator/push-operator-to-snyk-upstream .sh "${CURRENT_DIRECTORY}" "${COMMUNITY_FOLDER_LOCATION}"
667695 name : Push new Operator to the fork of the upstream-community-operators repository
668696 - run :
669697 command : |
@@ -862,6 +890,15 @@ workflows:
862890 - staging
863891 requires :
864892 - build_image
893+ - integration_tests_operator_on_k8s :
894+ filters :
895+ branches :
896+ only :
897+ - staging
898+ requires :
899+ - build_image
900+ - build_operator
901+ - upload_operator
865902 - openshift4_integration_tests :
866903 filters :
867904 branches :
@@ -891,7 +928,7 @@ workflows:
891928 - staging
892929 requires :
893930 - tag_and_push
894- NIGHTLY :
931+ MONTHLY :
895932 jobs :
896933 - operator_upgrade_tests
897934 - push_operator_to_community_operators :
@@ -900,6 +937,16 @@ workflows:
900937 - push_operator_to_upstream_community_operators :
901938 requires :
902939 - operator_upgrade_tests
940+ triggers :
941+ - schedule :
942+ cron : 0 1 1 * *
943+ filters :
944+ branches :
945+ only :
946+ - master
947+ NIGHTLY :
948+ jobs :
949+ - operator_upgrade_tests
903950 triggers :
904951 - schedule :
905952 cron : 0 1 * * *
0 commit comments