summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2019-07-07 21:04:11 +0200
committermakefu <github@syntax-fehler.de>2019-07-07 21:04:11 +0200
commit497eecef31c9e41848c4bb5a0c80ca7308607846 (patch)
tree15aaf4bf6fe516a7e12f2db16da7e0517a97de9d
parenta4aafafd717a9437766486490a5ce6d4cdd86c16 (diff)
gitlab-ci: add git submodule checkout
-rw-r--r--.gitlab-ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b1f62789c..6afbfe08c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,6 +16,7 @@ wolf deployment test:
script:
- 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
+ - git submodule update --init
- $(nix-build krebs/krops.nix --no-out-link --argstr name wolf --argstr target /tmp -A test)
nix-shell test:
stage: test
@@ -30,6 +31,7 @@ wolf deployment:
stage: deploy
script:
- 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)
nur-packages makefu:
stage: deploy