ci: testing
This commit is contained in:
parent
758ac94af4
commit
37895e8e38
1 changed files with 2 additions and 4 deletions
|
@ -6,7 +6,7 @@ stages:
|
|||
- deploy
|
||||
|
||||
variables:
|
||||
FLAKE_COMMIT: ""
|
||||
FLAKE_COMMIT: "main"
|
||||
|
||||
# Update the flake for any changes upstream
|
||||
# Passed in from upstream
|
||||
|
@ -46,8 +46,7 @@ build:
|
|||
stage: test
|
||||
before_script:
|
||||
- . "$HOME/.nix-profile/etc/profile.d/nix.sh"
|
||||
# use the
|
||||
- git remote rm origin && git remote add origin ssh://git@gitlab.skynet.ie:2222/compsoc/skynet/nixos.git
|
||||
# use the new flake
|
||||
- git pull origin $FLAKE_COMMIT
|
||||
script:
|
||||
- nix --experimental-features 'nix-command flakes' run nixpkgs#colmena -- build
|
||||
|
@ -63,7 +62,6 @@ deploy:
|
|||
- chmod 700 ~/.ssh
|
||||
# load nix environment
|
||||
- . "$HOME/.nix-profile/etc/profile.d/nix.sh"
|
||||
- git remote rm origin && git remote add origin ssh://git@gitlab.skynet.ie:2222/compsoc/skynet/nixos.git
|
||||
- git pull origin $FLAKE_COMMIT
|
||||
script:
|
||||
# dns is always deployed first
|
||||
|
|
Loading…
Reference in a new issue