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

ci: Fix change detection (part 3) #24347

Merged
merged 2 commits into from
Dec 6, 2022
Merged

Conversation

phlax
Copy link
Member

@phlax phlax commented Dec 5, 2022

Signed-off-by: Ryan Northey [email protected]

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

@phlax
Copy link
Member Author

phlax commented Dec 5, 2022

@alyssawilk the idea with this Pr is that we remove all the requirements on checks from branch protection and replace them with just the complete job - that way the other jobs can either run or be skipped without failing the pipeline

vmImage: "ubuntu-20.04"
condition: |
and(
in(dependencies.bazel.result, 'Succeeded', 'SucceededWithIssues', 'Skipped'),
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 comment about this job and how it works inline? I would assume that SucceededWithIssues would be bad and not grouped with the other two.
/wait

Copy link
Member Author

Choose a reason for hiding this comment

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

i think we need SucceededWithIssues - not sure exactly what it does but this condition is functionally equivalent to using the succeeded() queue time var

that is my interpretation of:

succeeded() == in(variables['Agent.JobStatus'], 'Succeeded', 'SucceededWithIssues')

here https://learn.microsoft.com/en-us/azure/devops/pipelines/process/expressions?view=azure-devops#succeeded

Copy link
Member Author

Choose a reason for hiding this comment

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

comment added

Signed-off-by: Ryan Northey <[email protected]>
@phlax phlax merged commit d8b47aa into envoyproxy:main Dec 6, 2022
jpsim added a commit that referenced this pull request Dec 6, 2022
…to-pull-bazelisk-1.15.0

* origin/main:
  coverage: fixing a TODO (#24357)
  ci: Fix change detection (part 3) (#24347)
  wasm: Improve the coverage report for Wasm (#23055)
  coverage: adding tests, bumping up (#24351)

Signed-off-by: JP Simard <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants