gitlab-ci: test and deploy wolf

This commit is contained in:
makefu 2019-07-07 19:27:16 +02:00
parent 200d46e0e9
commit 73b327e588
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -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
- $(nix-build ~/stockholm/krebs/krops.nix --no-out-link --argstr name wolf --argstr target /tmp -A test)
nix-shell test: nix-shell test:
stage: test stage: test
script: script:
@ -25,6 +26,11 @@ nix-shell test:
- ssh -V - ssh -V
- gpg --version - gpg --version
- curl --version - curl --version
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
- $(nix-build krebs/krops.nix --no-out-link --argstr name wolf -A deploy)
nur-packages makefu: nur-packages makefu:
stage: deploy stage: deploy
script: script: