WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 3cb966e

Browse files
authored
Merge branch 'master' into trigger-cloud-uploads-on-new-tags
2 parents b8629a6 + b21c99d commit 3cb966e

File tree

13 files changed

+30
-36
lines changed

13 files changed

+30
-36
lines changed

.github/workflows/image-master-arm.yaml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,11 @@ jobs:
5757
else
5858
echo "cache_available=false" >> $GITHUB_OUTPUT
5959
fi
60-
- name: Get changed files
61-
id: changed-files
62-
run: |
63-
# Get the list of files that were changed between the base branch and the current commit
64-
CHANGED_FILES=$(git diff --name-only origin/$GITHUB_BASE_REF...HEAD | grep "^images/Dockerfile.nvidia")
65-
66-
if echo "$CHANGED_FILES"; then
67-
echo "any_changed=true" >> $GITHUB_OUTPUT
68-
else
69-
echo "any_changed=false" >> $GITHUB_OUTPUT
70-
fi
60+
- uses: tj-actions/changed-files@v46
61+
with:
62+
files_yaml: |
63+
nvidia:
64+
- 'images/Dockerfile.nvidia'
7165
- name: Release space from worker
7266
if: ${{ steps.cache.outputs.cache_available == 'false' || steps.changed-files.outputs.nvidia_any_changed == 'true' }}
7367
run: |

.github/workflows/image-master.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ jobs:
103103
- "install-target"
104104
- "reset"
105105
- "upgrade-with-cli"
106-
- "upgrade-latest"
106+
- "upgrade-latest-with-cli"
107107
exclude:
108-
- test: "upgrade-latest"
108+
- test: "upgrade-latest-with-cli"
109109
base_image: "alpine:3.21"
110110
include:
111111
- test: "install"
@@ -132,9 +132,9 @@ jobs:
132132
base_image: "opensuse/leap:15.6"
133133
- test: "acceptance"
134134
base_image: "debian:12"
135-
- test: "upgrade-latest"
135+
- test: "upgrade-latest-with-cli"
136136
base_image: "alpine:3.21"
137-
release-matcher: "kairos-alpine-3.19-core-amd64-generic-v3.3.1.iso"
137+
release-matcher: "kairos-alpine-3.19-core-amd64-generic-*.iso"
138138
netboot-tests:
139139
name: ${{ matrix.base_image }}
140140
uses: ./.github/workflows/reusable-qemu-netboot-test.yaml

.github/workflows/image-pr.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ jobs:
6868
- "install-target"
6969
- "reset"
7070
- "upgrade-with-cli"
71-
- "upgrade-latest"
71+
- "upgrade-latest-with-cli"
7272
exclude:
73-
- test: "upgrade-latest"
73+
- test: "upgrade-latest-with-cli"
7474
base_image: "alpine:3.21"
7575
include:
7676
- test: "install"
@@ -80,9 +80,9 @@ jobs:
8080
base_image: "ubuntu:24.04"
8181
- test: "bundles"
8282
base_image: "ubuntu:24.04"
83-
- test: "upgrade-latest"
83+
- test: "upgrade-latest-with-cli"
8484
base_image: "alpine:3.21"
85-
release-matcher: "kairos-alpine-3.19-core-amd64-generic-v3.3.3.iso"
85+
release-matcher: "kairos-alpine-3.19-core-amd64-generic-*.iso"
8686
netboot-tests:
8787
name: ${{ matrix.base_image }}
8888
uses: ./.github/workflows/reusable-qemu-netboot-test.yaml

.github/workflows/reusable-encryption-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
LUET_NOLOCK=true sudo -E luet install -y container/kubectl utils/k3d
7575
- name: Download ISO
7676
id: iso
77-
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
77+
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
7878
with:
7979
name: kairos-${{ steps.split.outputs.flavor }}-${{ steps.split.outputs.flavor_release }}-${{ inputs.variant }}-${{ inputs.arch }}-${{ inputs.model }}.iso.zip
8080
- name: Display structure of downloaded files

.github/workflows/reusable-qemu-netboot-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
cp ipxe/src/bin/ipxe.iso ipxe.iso
7676
- name: Download ISO
7777
id: iso
78-
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
78+
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
7979
with:
8080
name: kairos-${{ steps.split.outputs.flavor }}-${{ steps.split.outputs.flavor_release }}-${{ inputs.variant }}-${{ inputs.arch }}-${{ inputs.model }}.iso.zip
8181
- name: Extract ipxe artifacts for the ipxe server

.github/workflows/reusable-qemu-test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,20 +100,20 @@ jobs:
100100
sudo apt-get install -y libvirt-clients libvirt-daemon-system libvirt-daemon virtinst bridge-utils qemu qemu-system-x86 qemu-system-x86 qemu-utils qemu-kvm acl udev mkisofs swtpm
101101
sudo setfacl -m u:runner:rwx /dev/kvm
102102
- name: Download artifacts
103-
if: ${{ inputs.test != 'upgrade-latest' && inputs.test != 'provider-upgrade-latest-k8s-with-kubernetes' }}
104-
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
103+
if: ${{ inputs.test != 'upgrade-latest-with-cli' && inputs.test != 'provider-upgrade-latest-k8s-with-kubernetes' }}
104+
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
105105
with:
106106
name: kairos-${{ steps.split.outputs.flavor }}-${{ steps.split.outputs.flavor_release }}-${{ inputs.variant }}-${{ inputs.arch }}-${{ inputs.model }}${{ inputs.kubernetes_distro != '' && format('-{0}', inputs.kubernetes_distro) || '' }}.iso.zip
107107
- name: Download latest release
108108
uses: robinraju/release-downloader@daf26c55d821e836577a15f77d86ddc078948b05 # v1.12
109-
if: ${{ (inputs.test == 'upgrade-latest' || inputs.test == 'provider-upgrade-latest-k8s-with-kubernetes') && inputs.release-matcher == '' }}
109+
if: ${{ (inputs.test == 'upgrade-latest-with-cli' || inputs.test == 'provider-upgrade-latest-k8s-with-kubernetes') && inputs.release-matcher == '' }}
110110
with:
111111
latest: true
112112
fileName: 'kairos-${{ steps.split.outputs.flavor }}-${{ steps.split.outputs.flavor_release }}-${{ inputs.variant }}-${{ inputs.arch }}-${{ inputs.model }}-*.iso'
113113
out-file-path: ""
114114
- name: Download latest release with release matcher
115115
uses: robinraju/release-downloader@daf26c55d821e836577a15f77d86ddc078948b05 # v1.12
116-
if: ${{ (inputs.test == 'upgrade-latest' || inputs.test == 'provider-upgrade-latest-k8s-with-kubernetes') && inputs.release-matcher != '' }}
116+
if: ${{ (inputs.test == 'upgrade-latest-with-cli' || inputs.test == 'provider-upgrade-latest-k8s-with-kubernetes') && inputs.release-matcher != '' }}
117117
with:
118118
latest: true
119119
fileName: ${{ inputs.release-matcher }}

.github/workflows/upload-cloud-images.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,14 +169,14 @@ jobs:
169169
shouldBuild: ${{ steps.checkPushed.outputs.shouldBuild }}
170170
steps:
171171
- name: "Checkout code"
172-
uses: actions/checkout@v4
172+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
173173
with:
174174
persist-credentials: false
175175
- run: |
176176
git fetch --prune --unshallow
177177
# https://github.com/Azure/login?tab=readme-ov-file#azure-login-action
178178
- name: Azure login
179-
uses: azure/login@v2
179+
uses: azure/login@a65d910e8af852a8061c627c456678983e180302 # v2
180180
with:
181181
client-id: ${{ secrets.AZURE_CLIENT_ID }}
182182
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
@@ -230,7 +230,7 @@ jobs:
230230
--set "state_dir=/aurora"
231231
232232
- name: Azure CLI script
233-
uses: azure/cli@v2
233+
uses: azure/cli@089eac9d8cc39f5d003e94f8b65efc51076c9cbd # v2
234234
if: ${{ steps.checkPushed.outputs.shouldBuild == 'true' }}
235235
env:
236236
GCP_PROJECT: palette-kairos

examples/builds/fedora-fips/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/kairos/kairos-init:v0.4.2 AS kairos-init
1+
FROM quay.io/kairos/kairos-init:v0.4.3 AS kairos-init
22

33
FROM fedora:40
44
ARG VERSION=v0.0.1

examples/builds/rockylinux-fips/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/kairos/kairos-init:v0.4.2 AS kairos-init
1+
FROM quay.io/kairos/kairos-init:v0.4.3 AS kairos-init
22

33
FROM rockylinux:9
44
ARG VERSION=v0.0.1

examples/builds/ubuntu-fips/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/kairos/kairos-init:v0.4.2 AS kairos-init
1+
FROM quay.io/kairos/kairos-init:v0.4.3 AS kairos-init
22

33
FROM ubuntu:20.04
44
ARG VERSION=v0.0.1

0 commit comments

Comments
 (0)