mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
installed gitlab key in global before_script,
don't need to overwrite in template before_script
This commit is contained in:
parent
417dcee450
commit
1f6fca672d
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user