installed gitlab key in global before_script,

don't need to overwrite in template before_script
pull/21/head
Yinling 2016-09-13 10:06:09 +08:00
rodzic 417dcee450
commit 1f6fca672d
1 zmienionych plików z 0 dodań i 11 usunięć

Wyświetl plik

@ -51,15 +51,6 @@ build_template_app:
IDF_PATH: "$CI_PROJECT_DIR"
GIT_STRATEGY: clone
# add gitlab key to build docker
before_script:
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- echo -n $GITLAB_KEY >> ~/.ssh/id_rsa_base64
- base64 --decode --ignore-garbage ~/.ssh/id_rsa_base64 > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- echo -e "Host gitlab.espressif.cn\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
build_ssc:
<<: *build_template
artifacts:
@ -77,8 +68,6 @@ build_ssc:
- chmod +x gen_misc_ng.sh
- ./gen_misc_ng.sh
test_nvs_on_host:
stage: test
image: espressif/esp32-ci-env