gitlab-ci: add git submodule checkout
This commit is contained in:
parent
a4aafafd71
commit
497eecef31
@ -16,6 +16,7 @@ wolf deployment test:
|
|||||||
script:
|
script:
|
||||||
- GIT_SSH_COMMAND="ssh -i ~/.ssh/gitlab_deploy.key" git clone git@ssh.git.shackspace.de:rz/secrets.git ~/brain
|
- GIT_SSH_COMMAND="ssh -i ~/.ssh/gitlab_deploy.key" git clone git@ssh.git.shackspace.de:rz/secrets.git ~/brain
|
||||||
- test $(PASSWORD_STORE_DIR=~/brain pass smoke) == 1337
|
- test $(PASSWORD_STORE_DIR=~/brain pass smoke) == 1337
|
||||||
|
- git submodule update --init
|
||||||
- $(nix-build krebs/krops.nix --no-out-link --argstr name wolf --argstr target /tmp -A test)
|
- $(nix-build krebs/krops.nix --no-out-link --argstr name wolf --argstr target /tmp -A test)
|
||||||
nix-shell test:
|
nix-shell test:
|
||||||
stage: test
|
stage: test
|
||||||
@ -30,6 +31,7 @@ wolf deployment:
|
|||||||
stage: deploy
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
- GIT_SSH_COMMAND="ssh -i ~/.ssh/gitlab_deploy.key" git clone git@ssh.git.shackspace.de:rz/secrets.git ~/brain
|
- GIT_SSH_COMMAND="ssh -i ~/.ssh/gitlab_deploy.key" git clone git@ssh.git.shackspace.de:rz/secrets.git ~/brain
|
||||||
|
- git submodule update --init
|
||||||
- $(nix-build krebs/krops.nix --no-out-link --argstr name wolf -A deploy)
|
- $(nix-build krebs/krops.nix --no-out-link --argstr name wolf -A deploy)
|
||||||
nur-packages makefu:
|
nur-packages makefu:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
Loading…
Reference in New Issue
Block a user