Skip to content

Switch from using choco to curl in pipeline#5255

Open
nmlud21 wants to merge 8 commits into
microsoft:mainfrom
nmlud21:download_from_curl
Open

Switch from using choco to curl in pipeline#5255
nmlud21 wants to merge 8 commits into
microsoft:mainfrom
nmlud21:download_from_curl

Conversation

@nmlud21
Copy link
Copy Markdown
Contributor

@nmlud21 nmlud21 commented May 11, 2026

Description

  • Dependencies that were downloaded via choco are now downloaded via curl.
  • Added a new scheduled workflow that checks for updates to curl downloaded dependencies and auto raises a PR to update the hashes and versions if needed.
  • Added a helper script to download a given file via curl.

Fixes #5193

Testing

N/A

Documentation

No

Installation

No

Nicholas Ludwig added 2 commits May 11, 2026 12:17
Signed-off-by: Nicholas Ludwig <nludwig@microsoft.com>
Signed-off-by: Nicholas Ludwig <nludwig@microsoft.com>
@nmlud21 nmlud21 changed the title Download from curl Switch from using choco to curl in pipeline May 11, 2026
Comment thread .github/workflows/update-curl-dependencies.yml
Nicholas Ludwig added 2 commits May 12, 2026 16:43
Signed-off-by: Nicholas Ludwig <nludwig@microsoft.com>
Signed-off-by: Nicholas Ludwig <nludwig@microsoft.com>
@nmlud21 nmlud21 force-pushed the download_from_curl branch from f59fbe5 to 856ea74 Compare May 12, 2026 23:43
Nicholas Ludwig added 3 commits May 12, 2026 16:43
Signed-off-by: Nicholas Ludwig <nludwig@microsoft.com>
Signed-off-by: Nicholas Ludwig <nludwig@microsoft.com>
Signed-off-by: Nicholas Ludwig <nludwig@microsoft.com>
Alan-Jowett
Alan-Jowett previously approved these changes May 13, 2026
@nmlud21 nmlud21 enabled auto-merge May 13, 2026 21:06
@nmlud21 nmlud21 dismissed Alan-Jowett’s stale review May 13, 2026 21:07

The merge-base changed after approval.

rm /tmp/Procdump.zip

# Extract current hash from workflow files.
OLD_HASH=$(grep -oP "PROCDUMP_EXPECTED_HASH: '\K[A-F0-9]+" \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This updates github reusable-test.yml, but not the azure reusable-test.yml expected hashes (also note the azure pipeline currently uses just $expectedHash for each of the hashes).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

Workflow failed - bpf2c_conformance

4 participants