Skip to content

Commit

Permalink
Use image tag as branches
Browse files Browse the repository at this point in the history
  • Loading branch information
muralov committed Jan 24, 2024
1 parent c5b93cf commit 44d7775
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/run-upgrade-tests-reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Pre-upgrade checkout
run: |
# uses pre-upgrade-image-tag if pre-upgrade-branch is not provided
if [ -z "${{ inputs.pre-upgrade-branch }}" ]; then
git checkout -b ${{ inputs.pre-upgrade-image-tag }}
else
git checkout ${{ inputs.pre-upgrade-branch }}
fi
run: git checkout -b ${{ inputs.pre-upgrade-image-tag }}

- name: Install k3d tools
run: make -C hack/ci/ install-k3d-tools
Expand Down Expand Up @@ -94,11 +88,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Post-upgrade checkout
run: |
# uses post-upgrade-image-tag if post-upgrade-branch is not provided
if [ -z "${{ inputs.post-upgrade-branch }}" ]; then
git checkout -b ${{ inputs.post-upgrade-image-tag }}
fi
run: git checkout -b ${{ inputs.post-upgrade-image-tag }}

- name: Install Eventing manager after Upgrade
run: |
Expand Down

0 comments on commit 44d7775

Please sign in to comment.