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

add default value for BASE_BRANCH var within compare_ci_diff scripts #5703

Merged
merged 1 commit into from
Aug 19, 2020

Conversation

O1ahmad
Copy link
Contributor

@O1ahmad O1ahmad commented Aug 19, 2020

Appears as though Buildkite's job-environment scoped $BUILDKITE_PULL_REQUEST_BASE_BRANCH EnvVar is not properly set when builds are triggered against the base branch itself (develop in this case) see: example. This change adds a default of develop, which should result in a no-op, if so.

Testing: Buildkite CI

Checklist:

  • Tests were added for the new behavior
    • Document test purpose, significance of failures
    • Test names should reflect their purpose
  • All tests pass (CI will check this if you didn't)

@O1ahmad O1ahmad requested review from a team as code owners August 19, 2020 15:43
@O1ahmad O1ahmad self-assigned this Aug 19, 2020
@O1ahmad O1ahmad added the ci-build-me Add this label to trigger a circle+buildkite build for this branch label Aug 19, 2020
@O1ahmad O1ahmad merged commit 2fd7c79 into develop Aug 19, 2020
@O1ahmad O1ahmad deleted the lintopt_add_default_basebranch branch August 19, 2020 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-build-me Add this label to trigger a circle+buildkite build for this branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants