diff --git a/.gitlab/ci/build.yml b/.gitlab/ci/build.yml index abee0d6a8f..c44fcb70d7 100644 --- a/.gitlab/ci/build.yml +++ b/.gitlab/ci/build.yml @@ -72,8 +72,6 @@ build_template_app: # # keep the log file to help debug - "**/build*/build_log.txt" - # keep the size info to help track the binary size - - size_info.txt - "**/build*/size*.json" expire_in: 1 week when: always diff --git a/.idf_ci.toml b/.idf_ci.toml index e16384aab8..6866454fca 100644 --- a/.idf_ci.toml +++ b/.idf_ci.toml @@ -100,7 +100,7 @@ patterns = [ [gitlab.artifacts.s3.longterm] bucket = "longterm" -if_clause = '"$CI_COMMIT_REF_NAME" == "master"' +if_clause = 'CI_COMMIT_REF_NAME == "master"' patterns = [ '**/build*/size*.json', ] diff --git a/tools/ci/idf_ci_local/app.py b/tools/ci/idf_ci_local/app.py index c82e78a408..0a0f3c1f62 100644 --- a/tools/ci/idf_ci_local/app.py +++ b/tools/ci/idf_ci_local/app.py @@ -41,9 +41,7 @@ class IdfCMakeApp(CMakeApp): ) rmdir( self.build_path, - exclude_file_patterns=[ - 'build_log.txt', - ], + exclude_file_patterns=['build_log.txt', 'size*.json'], )