Skip to content

Commit

Permalink
test: Fix upgrade test (#746)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Khalash authored Jan 24, 2024
1 parent 3e50041 commit f34724b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr-lifecycle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ jobs:
echo "Deploying Manager using image europe-docker.pkg.dev/kyma-project/prod/telemetry-manager:${GIT_COMMIT_DATE}-${GIT_COMMIT_SHA}"
IMG=europe-docker.pkg.dev/kyma-project/prod/telemetry-manager:${GIT_COMMIT_DATE}-${GIT_COMMIT_SHA} make deploy-dev
- name: Switch back to current revision
uses: actions/checkout@v4

- name: Wait for operator readiness
shell: bash
run: kubectl -n kyma-system rollout status deployment telemetry-operator --timeout=90s
Expand All @@ -51,6 +48,9 @@ jobs:
shell: bash
run: hack/wait-for-namespaces.sh

- name: Switch back to current revision
uses: actions/checkout@v4

# wait for the build to succeed so that the manager image is available
- name: Wait for the 'pull-telemetry-manager-build' job to succeed
uses: kyma-project/wait-for-commit-status-action@2b3ffe09af8b6f40e1213d5fb7f91a7bd41ffb20
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ upgrade-test: provision-k3d ## Provision k3d cluster and run upgrade tests.

.PHONY: run-upgrade-test
run-upgrade-test: ginkgo
$(GINKGO) run --tags e2e --junit-report=junit.xml --flake-attempts=5 --label-filter="operational && !metrics" -v ./test/e2e
$(GINKGO) run --tags e2e --junit-report=junit.xml --flake-attempts=5 --label-filter="operational" -v ./test/e2e
mkdir -p ${ARTIFACTS}
mv junit.xml ${ARTIFACTS}

Expand Down

0 comments on commit f34724b

Please sign in to comment.