chore(gitlab-ci): ...
This commit is contained in:
parent
531cd028cd
commit
7d66c8629c
@ -6,7 +6,10 @@ workflow:
|
|||||||
|
|
||||||
default:
|
default:
|
||||||
image:
|
image:
|
||||||
name: nixos/nix:2.3.12
|
name: nixpkgs/nix-flakes:nixos-21.05
|
||||||
|
|
||||||
|
variables:
|
||||||
|
NIX_PATH: "nixpkgs=http://nixos.org/channels/nixos-21.05/nixexprs.tar.xz"
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- setup
|
- setup
|
||||||
@ -16,9 +19,7 @@ node dependencies:
|
|||||||
script:
|
script:
|
||||||
- nix build -o node-dependencies .#uniworxNodeDependencies
|
- nix build -o node-dependencies .#uniworxNodeDependencies
|
||||||
before_script:
|
before_script:
|
||||||
- install -m 0644 .gitlab-ci/nix-bootstrap.conf /etc/nix/nix.conf
|
- nix-env -f '<nixpkgs>' -riA envsubst
|
||||||
- nix-channel --update
|
|
||||||
- nix-env -f '<nixpkgs>' -riA envsubst nixUnstable git coreutils
|
|
||||||
- envsubst -i .gitlab-ci/nix.conf -o /etc/nix/nix.conf
|
- envsubst -i .gitlab-ci/nix.conf -o /etc/nix/nix.conf
|
||||||
- git config --global init.defaultBranch master
|
- git config --global init.defaultBranch master
|
||||||
- install -v -m 0700 -d ~/.ssh
|
- install -v -m 0700 -d ~/.ssh
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
sandbox = true
|
sandbox = true
|
||||||
experimental-features = nix-command flakes ca-references
|
|
||||||
substituters = https://hydra.iohk.io https://cache.nixos.org/
|
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=
|
trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
|
||||||
require-sigs = true
|
require-sigs = true
|
||||||
Loading…
Reference in New Issue
Block a user