diff --git a/scheduled.yml b/scheduled.yml index 0cb02b3..daf32f8 100644 --- a/scheduled.yml +++ b/scheduled.yml @@ -6,16 +6,13 @@ variables: CI_OUTPUT_DIR: _output CI_CMAKE: /usr/bin/cmake CI_QMAKE5: /usr/bin/qmake - SSH_ASKPASS_REQUIRE: never .add-ssh-key: before_script: - mkdir -p ~/.ssh - chmod 700 ~/.ssh - eval $(ssh-agent -s) - - echo "$SSH_PRIVATE_KEY" | tr -d '\r' > ~/.ssh/key - - chmod 0400 ~/.ssh/key - - echo '' | SSH_ASKPASS=/bin/cat setsid -w ssh-add ~/.ssh/key + - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - - echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts .use-clang: @@ -141,8 +138,6 @@ variables: .scheduled-smolensk15: extends: .scheduled-test - before_script: - - !reference [.add-ssh-key, before_script] image: smolensk15-dev tags: ['docker']