Skip to content

Commit

Permalink
Use older disk version for preparing upgrade-test
Browse files Browse the repository at this point in the history
Signed-off-by: Fredrik Lönnegren <fredrik.lonnegren@suse.com>
  • Loading branch information
frelon committed Feb 15, 2024
1 parent cc53c13 commit ee9cdd0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
tags:
- v**
pull_request_target:
pull_request:
types:
- opened
- synchronize
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/build_and_test_x86.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,12 @@ jobs:
make test-deps
- run: |
git fetch --prune --unshallow
- name: Cached Disk
- if: ${{ matrix.test == "test-upgrade" }}
name: Download specific disk
run: |
wget https://github.com/rancher/elemental-toolkit/releases/download/v1.1.4/elemental-${{ inputs.flavor }}-v1.1.4.${{ env.ARCH }}.qcow2 -O /tmp/elemental-${{ inputs.flavor }}.${{ env.ARCH }}.qcow2
- if: ${{ matrix.test != "test-upgrade" }}
name: Cached Disk
id: cache-disk
uses: actions/cache/restore@v4
env:
Expand Down
4 changes: 2 additions & 2 deletions tests/assets/chroot_hooks.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: "Setup cos config"
name: "Debug hooks"
stages:
after-upgrade-chroot:
- commands:
- echo > /after-upgrade-chroot
after-reset-chroot:
- commands:
- echo > /after-reset-chroot
- echo > /after-reset-chroot

0 comments on commit ee9cdd0

Please sign in to comment.