From 1f6fca672d00d4f09a019d6dc2efac876a4d4ec6 Mon Sep 17 00:00:00 2001 From: Yinling Date: Tue, 13 Sep 2016 10:06:09 +0800 Subject: [PATCH] installed gitlab key in global before_script, don't need to overwrite in template before_script --- .gitlab-ci.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b4e62e1fe..96006f8c8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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