From 229e5077ad430bdcd2bb8cf5b75d34123c1467fe Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 14 Sep 2021 12:24:26 +0200 Subject: [PATCH] chore(gitlab-ci): ... --- .gitlab-ci.yml | 3 ++- .gitlab-ci/nix-bootstrap.conf | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .gitlab-ci/nix-bootstrap.conf diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0644c2fa2..535ba2fd6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,7 +16,8 @@ node dependencies: script: - nix build -o node-dependencies .#uniworxNodeDependencies before_script: - - nix-env -f '' -iA envsubst nixUnstable git + - install -m 0644 .gitlab-ci/nix-bootstrap.conf /etc/nix/nix.conf + - nix-env -f '' -iA envsubst nixUnstable git coreutils - envsubst -i .gitlab-ci/nix.conf -o /etc/nix/nix.conf - git config --global init.defaultBranch master - install -v -m 0700 -d ~/.ssh diff --git a/.gitlab-ci/nix-bootstrap.conf b/.gitlab-ci/nix-bootstrap.conf new file mode 100644 index 000000000..036c2fc5e --- /dev/null +++ b/.gitlab-ci/nix-bootstrap.conf @@ -0,0 +1,5 @@ +sandbox = true +experimental-features = nix-command flakes ca-references +substituters = https://hydra.iohk.io https://cache.nixos.org/ +trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= +require-sigs = true \ No newline at end of file