diff options
author | makefu <github@syntax-fehler.de> | 2019-07-08 00:58:38 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2019-07-08 01:04:59 +0200 |
commit | 7ca133e90b565e0cd97fe447b3bd4872d11a22a8 (patch) | |
tree | 398ed675386b62e823b2adb1cdf0d88ebac12618 /.gitlab-ci.yml | |
parent | f4ec0418f2ed9a513a9056af8f7458d760760a44 (diff) |
shack/gitlab-runner: do not restart service on change
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f893331b4..b5e92d084 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,9 +30,12 @@ nix-shell test: 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 + - cp ~/.ssh/gitlab_deploy.key ~/.ssh/id_rsa + - git clone git@ssh.git.shackspace.de:rz/secrets.git ~/brain - git submodule update --init - ssh-keyscan -H 'wolf.shack' >> ~/.ssh/known_hosts + - ssh-keyscan -H 'wolf' >> ~/.ssh/known_hosts + - ssh wolf uname -a # TODO, hostname wolf cannot be resolved - $(nix-build krebs/krops.nix --no-out-link --argstr name wolf --argstr target wolf.shack -A deploy) nur-packages makefu: |