Skip to content

Commit

Permalink
Fix even more things
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitris Karakasilis <[email protected]>
  • Loading branch information
jimmykarily committed Oct 12, 2023
1 parent 517fe3f commit 5c76045
Show file tree
Hide file tree
Showing 11 changed files with 43 additions and 11 deletions.
1 change: 0 additions & 1 deletion .github/workflows/image-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ jobs:
uses: ./.github/workflows/reusable-qemu-netboot-test.yaml
with:
flavor: ubuntu
flavor_release: "23.04"
needs:
- core

Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/reusable-build-flavor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,21 @@ on:
flavor:
required: true
type: string
family:
flavor_release:
required: true
type: string
artifact:
family:
required: true
type: string
base_image:
required: true
type: string
model:
required: true
type: string
variant:
required: true
type: string

jobs:
build:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/reusable-encryption-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
flavor:
required: true
type: string
flavor_release:
required: true
type: string
label:
required: true
type: string
Expand Down Expand Up @@ -74,7 +77,7 @@ jobs:
id: iso
uses: actions/download-artifact@v3
with:
name: kairos-${{ inputs.flavor }}.iso.zip
name: kairos-${{ inputs.flavor }}-${{ inputs.flavor_release }}.iso.zip
- name: Display structure of downloaded files
run: ls -las .
- name: Block all traffic to metadata ip # For cloud runners, the metadata ip can interact with our test machines
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/reusable-install-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
flavor:
required: true
type: string
flavor_release:
required: true
type: string

jobs:
test:
Expand All @@ -18,7 +21,7 @@ jobs:
id: iso
uses: actions/download-artifact@v3
with:
name: kairos-${{ inputs.flavor }}.iso.zip
name: kairos-${{ inputs.flavor }}-${{ inputs.flavor_release}}.iso.zip
- name: Display structure of downloaded files
run: ls -las .
- name: Install deps
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/reusable-qemu-acceptance-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
flavor:
required: true
type: string
flavor_release:
required: true
type: string
port:
required: false
type: string
Expand Down Expand Up @@ -53,7 +56,7 @@ jobs:
id: iso
uses: actions/download-artifact@v3
with:
name: kairos-${{ inputs.flavor }}.iso.zip
name: kairos-${{ inputs.flavor }}-${{ inputs.flavor_release }}.iso.zip
- name: Display structure of downloaded files
run: ls -las .
- name: Install earthly
Expand All @@ -66,4 +69,4 @@ jobs:
sudo iptables -I INPUT -s 169.254.169.254 -j DROP
sudo iptables -I OUTPUT -d 169.254.169.254 -j DROP
- run: |
earthly +run-qemu-datasource-tests --PREBUILT_ISO=$(ls core-*${{ inputs.flavor }}*.iso) --FLAVOR=${{ inputs.flavor }} --SSH_PORT=${{ inputs.port }}
earthly +run-qemu-datasource-tests --PREBUILT_ISO=$(ls *${{ inputs.flavor }}*.iso) --FLAVOR=${{ inputs.flavor }} --SSH_PORT=${{ inputs.port }}
5 changes: 4 additions & 1 deletion .github/workflows/reusable-qemu-bundles-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
flavor:
required: true
type: string
flavor_release:
required: true
type: string

jobs:
test:
Expand All @@ -18,7 +21,7 @@ jobs:
id: iso
uses: actions/download-artifact@v3
with:
name: kairos-${{ inputs.flavor }}.iso.zip
name: kairos-${{ inputs.flavor }}-${{ inputs.flavor_release }}.iso.zip
- name: Display structure of downloaded files
run: ls -las .
- name: Install earthly
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/reusable-qemu-netboot-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
flavor:
required: true
type: string
flavor_release:
required: true
type: string

jobs:
test:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/reusable-qemu-reset-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
flavor:
required: true
type: string
flavor_release:
required: true
type: string

jobs:
test:
Expand All @@ -18,7 +21,7 @@ jobs:
id: iso
uses: actions/download-artifact@v3
with:
name: kairos-${{ inputs.flavor }}.iso.zip
name: kairos-${{ inputs.flavor }}-${{ inputs.flavor_release }}.iso.zip
- name: Display structure of downloaded files
run: ls -las .
- name: Install earthly
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/reusable-upgrade-latest-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
flavor:
required: true
type: string
flavor_release:
required: true
type: string

jobs:
test:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/reusable-upgrade-with-cli-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
flavor:
required: true
type: string
flavor_release:
required: true
type: string

jobs:
test:
Expand Down Expand Up @@ -55,7 +58,7 @@ jobs:
id: iso
uses: actions/download-artifact@v3
with:
name: kairos-${{ inputs.flavor }}.iso.zip
name: kairos-${{ inputs.flavor }}-${{ inputs.flavor_release }}.iso.zip
- name: Display structure of downloaded files
run: ls -las .
- name: Block all traffic to metadata ip # For cloud runners, the metadata ip can interact with our test machines
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/reusable-zfs-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
flavor:
required: true
type: string
flavor_release:
required: true
type: string

jobs:
test:
Expand All @@ -16,7 +19,7 @@ jobs:
id: iso
uses: actions/download-artifact@v3
with:
name: kairos-${{ inputs.flavor }}.iso.zip
name: kairos-${{ inputs.flavor }}-${{ inputs.flavor_release }}.iso.zip
- name: Display structure of downloaded files
run: ls -R
- name: Install earthly
Expand Down

0 comments on commit 5c76045

Please sign in to comment.