From 35609de4177861fa45fd620e1cfea10f6927a140 Mon Sep 17 00:00:00 2001 From: Anton Maklakov Date: Fri, 16 Jun 2017 12:38:32 +0800 Subject: [PATCH] CI: Move the ci-related staff to a separate directory --- .gitlab-ci.yml | 12 ++++-------- {make => tools/ci}/build_examples.sh | 0 {make => tools/ci}/configure_ci_environment.sh | 0 {make => tools/ci}/test_build_system.sh | 0 {make => tools/ci}/test_configure_ci_environment.sh | 0 5 files changed, 4 insertions(+), 8 deletions(-) rename {make => tools/ci}/build_examples.sh (100%) rename {make => tools/ci}/configure_ci_environment.sh (100%) rename {make => tools/ci}/test_build_system.sh (100%) rename {make => tools/ci}/test_configure_ci_environment.sh (100%) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a9d0d8d58..a24d8654a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,7 +34,7 @@ before_script: # Set IS_PRIVATE or IS_PUBLIC depending on if our branch is public or not # # (the same regular expressions are used to set these are used in 'only:' sections below - - source make/configure_ci_environment.sh + - source tools/ci/configure_ci_environment.sh # fetch all submodules - git submodule update --init --recursive @@ -135,7 +135,7 @@ build_esp_idf_tests: - mkdir build_examples - cd build_examples # build some of examples - - ${IDF_PATH}/make/build_examples.sh "${CI_JOB_NAME}" + - ${IDF_PATH}/tools/ci/build_examples.sh "${CI_JOB_NAME}" build_examples_00: <<: *build_examples_template @@ -209,8 +209,8 @@ test_build_system: - build_test dependencies: [] script: - - ./make/test_configure_ci_environment.sh - - ./make/test_build_system.sh + - ./tools/ci/test_configure_ci_environment.sh + - ./tools/ci/test_build_system.sh test_report: stage: test_report @@ -433,8 +433,6 @@ assign_test: script: # first test if config file exists, if not exist, exit 0 - test -e $CONFIG_FILE || exit 0 - # remove artifacts from the 'unit_test' stage - - rm -rf "$LOG_PATH" # add gitlab ssh key - mkdir -p ~/.ssh - chmod 700 ~/.ssh @@ -476,8 +474,6 @@ nvs_compatible_test: - ESP32_IDF - NVS_Compatible script: - # remove artifacts from the 'unit_test' stage - - rm -rf "$LOG_PATH" # add gitlab ssh key - mkdir -p ~/.ssh - chmod 700 ~/.ssh diff --git a/make/build_examples.sh b/tools/ci/build_examples.sh similarity index 100% rename from make/build_examples.sh rename to tools/ci/build_examples.sh diff --git a/make/configure_ci_environment.sh b/tools/ci/configure_ci_environment.sh similarity index 100% rename from make/configure_ci_environment.sh rename to tools/ci/configure_ci_environment.sh diff --git a/make/test_build_system.sh b/tools/ci/test_build_system.sh similarity index 100% rename from make/test_build_system.sh rename to tools/ci/test_build_system.sh diff --git a/make/test_configure_ci_environment.sh b/tools/ci/test_configure_ci_environment.sh similarity index 100% rename from make/test_configure_ci_environment.sh rename to tools/ci/test_configure_ci_environment.sh