This commit is contained in:
Andrei Astafev 2023-02-17 16:53:54 +03:00
parent 63ae666326
commit 497b660a5f

View File

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