Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing the check validating build files are up to date #30703

Merged
merged 2 commits into from
Nov 7, 2023

Conversation

kobymeir
Copy link
Contributor

@kobymeir kobymeir commented Nov 6, 2023

Status

  • In Progress
  • Ready
  • In Hold - (Reason for hold)

Description

fixing the check validating build files are up to date

@kobymeir kobymeir requested a review from tkatzir November 6, 2023 14:55
@kobymeir kobymeir self-assigned this Nov 6, 2023
Copy link
Contributor

@tkatzir tkatzir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good, long due!
Approved, with a comment.

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"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we print the values of all these variables, so we could be certain why we didn't check the validation of the build files?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

they are printed in the build parameters step

@kobymeir kobymeir merged commit e5f5c64 into master Nov 7, 2023
13 checks passed
@kobymeir kobymeir deleted the check_build_files_are_up_to_date branch November 7, 2023 06:56
sapirshuker pushed a commit that referenced this pull request Dec 21, 2023
fixing the check validating build files are up to date #30703
israelpoli pushed a commit that referenced this pull request May 15, 2024
fixing the check validating build files are up to date #30703
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants