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

Change how "NPM packaging pipeline" downloads packages from another pipeline #17838

Merged
merged 4 commits into from
Oct 12, 2023

Conversation

snnn
Copy link
Member

@snnn snnn commented Oct 8, 2023

Description

"NPM packaging pipeline" needs to download an artifact from "Zip-Nuget-Java-Nodejs Packaging Pipeline".
It has been a long-time issue that they two pipelines often use different commit ids, or even their branch names are different.
This change declares 'Zip-Nuget-Java-Nodejs Packaging Pipeline' as a resource, so that "NPM packaging pipeline" will always fetch from the pipeline run that triggers this NPM pipeline.
Their official document says:
"When you define a resource trigger, if its pipeline resource is from the same repo as the current pipeline, triggering follows the same branch and commit on which the event is raised."

Motivation and Context

@snnn snnn requested a review from a team as a code owner October 8, 2023 17:41
@snnn snnn merged commit 138ccec into main Oct 12, 2023
161 checks passed
@snnn snnn deleted the snnn/p3 branch October 12, 2023 04:07
kleiti pushed a commit to kleiti/onnxruntime that referenced this pull request Mar 22, 2024
…ipeline (microsoft#17838)

### Description
"NPM packaging pipeline" needs to download an artifact from
"Zip-Nuget-Java-Nodejs Packaging Pipeline".
It has been a long-time issue that they two pipelines often use
different commit ids.
This change declares 'Zip-Nuget-Java-Nodejs Packaging Pipeline' as a
resource, so that "NPM packaging pipeline" will always fetch from the
pipeline run that triggers this NPM pipeline.
Their official document says:
"When you define a resource trigger, if its pipeline resource is from
the same repo as the current pipeline, triggering follows the same
branch and commit on which the event is raised."
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