~comcloudway/builds.sr.ht

91a84013e12b4ec8879ae004339124c076cffee7 — Dhruvin Gandhi 2 years ago c4831c2
images/guix: fetch or build latest guix

We now will build the latest guix if the CI doesn't have substitutes
available. This will ensure the builds are strictly up to date.

This will prevent CI from making guix downgrade.

Fixes: https://todo.sr.ht/~dhruvin/builds.sr.ht-guix/6
1 files changed, 0 insertions(+), 11 deletions(-)

M images/guix/genimg
M images/guix/genimg => images/guix/genimg +0 -11
@@ 86,17 86,6 @@ guest_ssh build@localhost tee .gitconfig <<EOF
    email = builds@sr.ht
EOF

# Configure guix channels.  Use a commit for which substitutes for
# guix are available
guest_ssh build@localhost mkdir -p .config/guix
guest_ssh build@localhost tee .config/guix/channels.scm <<EOF
(use-modules (guix ci))

(list (channel-with-substitutes-available
       %default-guix-channel
       "https://ci.guix.gnu.org"))
EOF

# Provide guest the cache of host guix to reuse guix channel checkout
# and authentication
guest_ssh build@localhost mkdir -p .cache