Browse Source

installed gitlab key in global before_script,
don't need to overwrite in template before_script

Yinling 9 years ago
parent
commit
1f6fca672d
1 changed files with 0 additions and 11 deletions
  1. 0 11
      .gitlab-ci.yml

+ 0 - 11
.gitlab-ci.yml

@@ -51,15 +51,6 @@ build_template_app:
     IDF_PATH: "$CI_PROJECT_DIR"
     IDF_PATH: "$CI_PROJECT_DIR"
     GIT_STRATEGY: clone
     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_ssc:
   <<: *build_template
   <<: *build_template
   artifacts:
   artifacts:
@@ -77,8 +68,6 @@ build_ssc:
     - chmod +x gen_misc_ng.sh
     - chmod +x gen_misc_ng.sh
     - ./gen_misc_ng.sh
     - ./gen_misc_ng.sh
 
 
-
-
 test_nvs_on_host:
 test_nvs_on_host:
   stage: test
   stage: test
   image: espressif/esp32-ci-env
   image: espressif/esp32-ci-env