Skip to content

Commit

Permalink
Merge pull request #857 from adamcstephens/nixos/24.11
Browse files Browse the repository at this point in the history
nixos: add 24.11 image
  • Loading branch information
stgraber authored Nov 30, 2024
2 parents 1da07d0 + 3ad7969 commit 58ac2f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions images/nixos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,4 @@ files:
}
releases:
- unstable
- 24.11
5 changes: 3 additions & 2 deletions jenkins/jobs/image-nixos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
values:
- unstable
- 24.05
- 24.11

- axis:
name: variant
Expand All @@ -38,8 +39,8 @@
RELEASE=${release}
[ "${RELEASE}" = "unstable" ] && JOBSET="trunk-combined" || JOBSET="release-${RELEASE}"
# remove lxd image when 24.11 is released
[ "${RELEASE}" = "unstable" ] && HYDRA_IMAGE="incusVirtualMachineImage" || HYDRA_IMAGE="lxdVirtualMachineImage"
# remove lxd image when 24.05 is removed
[ "${RELEASE}" = "24.05" ] && HYDRA_IMAGE="lxdVirtualMachineImage" || HYDRA_IMAGE="incusVirtualMachineImage"
# download a pre-built VM image
curl --location --output ${WORKSPACE}/disk.qcow2 https://hydra.nixos.org/job/nixos/${JOBSET}/nixos.${HYDRA_IMAGE}.${ARCH}-linux/latest/download-by-type/file/qcow2-image
Expand Down

0 comments on commit 58ac2f7

Please sign in to comment.