From 4896e22c32c982d3f672325ba3db5b47611fcbf0 Mon Sep 17 00:00:00 2001 From: kobymeir Date: Mon, 6 Nov 2023 16:55:04 +0200 Subject: [PATCH] fixing the check validating build files are up to date --- .gitlab/ci/.gitlab-ci.global.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab/ci/.gitlab-ci.global.yml b/.gitlab/ci/.gitlab-ci.global.yml index 2bbbcc4f1a5b..ff29f1fc3e5c 100644 --- a/.gitlab/ci/.gitlab-ci.global.yml +++ b/.gitlab/ci/.gitlab-ci.global.yml @@ -71,8 +71,8 @@ .check_build_files_are_up_to_date: &check_build_files_are_up_to_date - section_start "Check Build Files Are Up To Date" - | - if [[ -n "${DEMISTO_SDK_NIGHTLY}" || -n "${NIGHTLY}" || -n "${BUCKET_UPLOAD}" || -n "${SLACK_JOB}" ]]; then - echo "running nightly or bucket upload, skipping files up-to-date validation" + if [[ -n "${DEMISTO_SDK_NIGHTLY}" ]] || [[ -n "${NIGHTLY}" ]] || [[ -n "${BUCKET_UPLOAD}" ]] || [[ -n "${SLACK_JOB}" ]] || [[ "${BUILD_MACHINES_CLEANUP}" == "true" ]] || [[ "${DELETE_MISMATCHED_BRANCHES}" == "true" ]] || [[ "${SECURITY_SCANS}" == "true" ]] || [[ "${DEMISTO_TEST_NATIVE_CANDIDATE}" == "true" ]] || [[ "${CI_COMMIT_BRANCH}" == "master" ]]; then + echo "Running a build which doesn't require build files check validation" else ./Tests/scripts/is_file_up_to_date.sh .gitlab $CI_COMMIT_BRANCH # we want to checkout if it's not up-to-date