Skip to content

Commit

Permalink
fixing the check validating build files are up to date (#30703)
Browse files Browse the repository at this point in the history
fixing the check validating build files are up to date #30703
  • Loading branch information
kobymeir authored Nov 7, 2023
1 parent bcbfbb4 commit ab16c75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab/ci/.gitlab-ci.global.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ab16c75

Please sign in to comment.