diff options
| author | Rutherther <rutherther@ditigal.xyz> | 2025-12-16 12:26:57 +0100 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2025-12-23 09:16:05 +0100 |
| commit | 2d4ed08662714ea46cfe0b41ca195d1ef845fd1b (patch) | |
| tree | 3b352c59a9dc01a178db365783f891a63eb71892 /etc/teams/release/artifacts.scm | |
| parent | ab63e29e90aba4f10d477e76587d687a7bb6a27d (diff) | |
etc: release: Switch to Guile declaration of artifacts.v1.5.0rc1
This is a rewrite of the bash commands for generation of guix binary
tarballs and system images to Guile. I am expecting this will help us
significantly with getting the same derivations locally and from Cuirass,
instead of relying on images/tarball job specifications and trying to tweak
it locally to have the same ones.
Implements: #4347, #4348.
* etc/teams/release/artifacts-manifest.scm: Make a manifest with
release artifacts for all supported systems.
* etc/teams/release/artifacts.scm: Collect artifacts for
all supported systems into a union with proper names for
the release artifacts.
* Makefile.am (release): Use time-machine instead of pre-inst-env; Switch to
building new artifacts.scm
Change-Id: I71a6a27e6f315dd31b91c49e71dff2d09695c0dc
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'etc/teams/release/artifacts.scm')
| -rw-r--r-- | etc/teams/release/artifacts.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/etc/teams/release/artifacts.scm b/etc/teams/release/artifacts.scm new file mode 100644 index 00000000000..095df709de4 --- /dev/null +++ b/etc/teams/release/artifacts.scm | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | ||
| 2 | ;;; | ||
| 3 | ;;; This file is part of GNU Guix. | ||
| 4 | ;;; | ||
| 5 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | ||
| 6 | ;;; under the terms of the GNU General Public License as published by | ||
| 7 | ;;; the Free Software Foundation; either version 3 of the License, or (at | ||
| 8 | ;;; your option) any later version. | ||
| 9 | ;;; | ||
| 10 | ;;; GNU Guix is distributed in the hope that it will be useful, but | ||
| 11 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | ;;; GNU General Public License for more details. | ||
| 14 | ;;; | ||
| 15 | ;;; You should have received a copy of the GNU General Public License | ||
| 16 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | ||
| 17 | |||
| 18 | ;;; Produce a single directory with all the artifacts inside of it, with proper | ||
| 19 | ;;; names. They can then be easily copied to releasedir in Makefile. The files are | ||
| 20 | ;;; symlinked to save space, but they should be copied out of the store as regular | ||
| 21 | ;;; files. | ||
| 22 | |||
| 23 | (load "artifacts-manifest.scm") | ||
| 24 | |||
| 25 | (manifest->union | ||
| 26 | supported-systems-union-manifest) | ||
