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

[Build Artifacts] Azure Devops Pipeline generate compact artifacts only #6717

Closed
Blueve opened this issue Feb 8, 2021 · 0 comments · Fixed by sonic-net/sonic-mgmt#2956
Closed
Labels

Comments

@Blueve
Copy link
Contributor

Blueve commented Feb 8, 2021

Description

I notice that we have migrate some of our build pipeline from Jenkins to Azure Devops Pipeline, the UI and UX is great, but the artifacts distribution behaviors changed.

All the artifacts are compact in one package which means we are no longer to:

  1. Download/share the image link
  2. View the image checksum

Here is one example: https://dev.azure.com/mssonic/build/_build/results?buildId=3228&view=artifacts&pathAsName=false&type=publishedArtifacts

Do we have any plan to support above feature in Azure Devops Pipeline?

Steps to reproduce the issue:

  1. Publish a PR
  2. Look into the build pipeline
  3. Download image from Azure Devops Artifacts

Describe the results you received:
A compacted artifacts.

Describe the results you expected:
All artifacts with its own url and checksum.

Additional information you deem important (e.g. issue happens only occasionally):

**Output of `show version`:**

```
(paste your output here)
```

**Attach debug file `sudo generate_dump`:**

```
(paste your output here)
```
@lguohan lguohan added the ci label Feb 17, 2021
@anshuv-mfst anshuv-mfst added the Triaged this issue has been triaged label Feb 17, 2021
yxieca pushed a commit to sonic-net/sonic-mgmt that referenced this issue Feb 17, 2021
Approach
What is the motivation for this PR?
fix sonic-net/sonic-buildimage#6717
add script to download artifacts from azure pipeline

How did you verify/test it?
usage: getbuild.py [-h] [--buildid buildid] [--branch branch] [--platform platform] [--content content]

Download artifacts from sonic azure devops.

optional arguments:
  -h, --help           show this help message and exit
  --buildid buildid    build id
  --branch branch      branch name
  --platform platform  platform to download
  --content content    download content type [all|image(default)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants