Skip to content

Commit

Permalink
fix: Change manager deployment name in upgrade test (#827)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrkl committed Feb 29, 2024
1 parent b60f4cc commit 26634a4
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/pr-lifecycle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Deploy with latest tag
shell: bash
run: |
git fetch --tags
git fetch --tags
LATEST_TAG=$(git tag --sort=-creatordate | sed -n 1p)
echo "Using tag ${LATEST_TAG}"
git checkout ${LATEST_TAG}
Expand All @@ -36,9 +36,9 @@ 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: Wait for operator readiness
- name: Wait for manager readiness
shell: bash
run: kubectl -n kyma-system rollout status deployment telemetry-operator --timeout=90s
run: kubectl -n kyma-system rollout status deployment telemetry-manager --timeout=90s

- name: Run test on latest tag
shell: bash
Expand All @@ -65,11 +65,6 @@ jobs:
GITHUB_OWNER: "${{ github.repository_owner }}"
GITHUB_REPO: "telemetry-manager"

- name: Undeploy operator deployment
shell: bash
run: |
kubectl -n kyma-system scale deployment telemetry-operator --replicas 0
- name: Deploy with current version
shell: bash
run: |
Expand Down

0 comments on commit 26634a4

Please sign in to comment.