From 181a0a8fcaa8c68253cb07e61bda05e1b9984d1e Mon Sep 17 00:00:00 2001 From: Evgeny Torbin Date: Thu, 20 Nov 2025 13:24:08 +0100 Subject: [PATCH 1/2] ci: fix uploading build artifacts --- .gitlab/ci/build.yml | 2 -- tools/ci/idf_ci_local/app.py | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) 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/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'], ) From e3bd539280dfcea1d31978e48e8f62f2b138d5a5 Mon Sep 17 00:00:00 2001 From: Evgeny Torbin Date: Tue, 25 Nov 2025 10:42:33 +0100 Subject: [PATCH 2/2] ci: fix if clause in `.idf_ci.toml` --- .idf_ci.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', ]