From a1c186f4ff6c74ef4a3a59240ceab550796d360b Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Fri, 27 Jan 2023 16:10:33 +0100 Subject: [PATCH] images/nixos: add 22.11, point latest to it --- contrib/crontab | 3 ++- images/nixos/22.11/functions | 1 + images/nixos/22.11/genimg | 3 +++ images/nixos/build.yml | 2 +- images/nixos/latest | 2 +- 5 files changed, 8 insertions(+), 3 deletions(-) create mode 120000 images/nixos/22.11/functions create mode 100755 images/nixos/22.11/genimg diff --git a/contrib/crontab b/contrib/crontab index 99b1a29..db80e11 100644 --- a/contrib/crontab +++ b/contrib/crontab @@ -9,7 +9,8 @@ # Weekly refreshes 0 19 * * 0 chronic /usr/local/bin/submit_image_build -n "Weekly scheduled build image refresh" fedora/36 -30 19 * * 0 chronic /usr/local/bin/submit_image_build -n "Weekly scheduled build image refresh" nixos/22.05 +30 19 * * 0 chronic /usr/local/bin/submit_image_build -n "Weekly scheduled build image refresh" nixos/22.11 + 0 20 * * 0 chronic /usr/local/bin/submit_image_build -n "Weekly scheduled build image refresh" nixos/22.05 0 19 * * 1 chronic /usr/local/bin/submit_image_build -n "Weekly scheduled build image refresh" alpine/old 30 19 * * 1 chronic /usr/local/bin/submit_image_build -n "Weekly scheduled build image refresh" -a amd64 debian/stable 0 19 * * 2 chronic /usr/local/bin/submit_image_build -n "Weekly scheduled build image refresh" fedora/latest diff --git a/images/nixos/22.11/functions b/images/nixos/22.11/functions new file mode 120000 index 0000000..c0b5bcc --- /dev/null +++ b/images/nixos/22.11/functions @@ -0,0 +1 @@ +../functions \ No newline at end of file diff --git a/images/nixos/22.11/genimg b/images/nixos/22.11/genimg new file mode 100755 index 0000000..d267e17 --- /dev/null +++ b/images/nixos/22.11/genimg @@ -0,0 +1,3 @@ +#!/bin/sh +export release=22.11 +exec ../genimg "$@" diff --git a/images/nixos/build.yml b/images/nixos/build.yml index b8d341f..996541c 100644 --- a/images/nixos/build.yml +++ b/images/nixos/build.yml @@ -8,7 +8,7 @@ sources: secrets: - fa00a8d3-7b63-42d5-8060-3bb31c3e3018 environment: - release: "22.05" + release: "22.11" arch: x86_64 slaves: # - deploy@cirno1.sr.ht diff --git a/images/nixos/latest b/images/nixos/latest index bb7635c..f07cdfa 120000 --- a/images/nixos/latest +++ b/images/nixos/latest @@ -1 +1 @@ -22.05 \ No newline at end of file +22.11 \ No newline at end of file -- 2.38.5