From 2082979ace7da7999571c34dafcb845dc807ceba Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 11 Nov 2019 08:32:03 +0100 Subject: [PATCH] chore(gitlab ci): fix tests & ssh permissions --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7c2da98a9..0ac55fda3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -143,7 +143,7 @@ hlint:dev: yesod:test:dev: stage: test script: - - stack test --coverage --fast --flag uniworx:-library-only --flag uniworx:-dev --flag uniworx:pedantic --skip hlint + - stack test --coverage --fast --flag uniworx:-library-only --flag uniworx:dev --flag uniworx:pedantic --skip hlint needs: - frontend:build - yesod:build:dev # For caching @@ -179,7 +179,7 @@ hlint: yesod:test: stage: test script: - - stack test --coverage --flag uniworx:-library-only --flag uniworx:-dev --flag uniworx:pedantic uniworx:test:hlint --skip hlint + - stack test --coverage --flag uniworx:-library-only --flag uniworx:-dev --flag uniworx:pedantic --skip hlint needs: - frontend:build - yesod:build # For caching @@ -206,7 +206,7 @@ deploy:uniworx4: - apt-get update -y - apt-get install -y --no-install-recommends openssh-client - eval $(ssh-agent -s) - - ssh-add ${SSH_PRIVATE_KEY_UNIWORX4} + - "ssh-add - <${SSH_PRIVATE_KEY_UNIWORX4}" - mkdir -p ~/.ssh - chmod 700 ~/.ssh - cp ${SSH_KNOWN_HOSTS} ~/.ssh/known_hosts