diff options
author | makefu <github@syntax-fehler.de> | 2019-07-07 19:27:16 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2019-07-07 19:30:03 +0200 |
commit | 73b327e58832a92fa42d575a73a7e44085a7e5f9 (patch) | |
tree | 4bc539f5cb308f6b36e792226229324b9fee9f64 | |
parent | 200d46e0e9e2bf420e046212a9b9f2f144e6ac4b (diff) |
gitlab-ci: test and deploy wolf
-rw-r--r-- | .gitlab-ci.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f099c53d4..dc7c5bb74 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 + - $(nix-build ~/stockholm/krebs/krops.nix --no-out-link --argstr name wolf --argstr target /tmp -A test) nix-shell test: stage: test script: @@ -25,6 +26,11 @@ nix-shell test: - ssh -V - gpg --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: stage: deploy script: |