Skip to content

Conversation

@danlucian
Copy link
Member

@danlucian danlucian commented Apr 1, 2025

Introducing azure-pipelines-tool-lib/tool for handling binary installations

This pull request introduces the use of the azure-pipelines-tool-lib/tool library to handle the installation of binaries in the Snyk Azure Pipelines tasks. The key changes include:

  • Integration of azure-pipelines-tool-lib/tool: added the downloadToolWithRetries(...) function from the mentioned library to manage the download and retry logic for snyk binaries (cli and snyk-to-html).
  • Improved download logic: enhanced the download process with retry capabilities to ensure robustness and reliability.
  • Proxy support: automatic detection and use of the HTTP/HTTPS proxy configuration of the agent it's running on.
  • Executable permissions: added logic to set executable permissions for downloaded files on Unix-based systems. The files downloaded with the azure lib tool are configured, on Unix systems, just with read and write permissions thus requiring extra logic.

@danlucian danlucian requested a review from a team as a code owner April 1, 2025 15:36
@CLAassistant
Copy link

CLAassistant commented Apr 1, 2025

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@CatalinSnyk CatalinSnyk left a comment

Choose a reason for hiding this comment

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

Also tested this locally with a proxy and it's looking good ✅

@danlucian danlucian force-pushed the feat/use-azure-tool-lib branch from 813016b to 8c7bf09 Compare April 22, 2025 11:24
@github-actions
Copy link

Your PR has not had any activity for 30 days. In 2 days I'll close it. Make some activity to remove this.

@github-actions github-actions bot added the Stale label Jun 23, 2025
@danlucian danlucian force-pushed the feat/use-azure-tool-lib branch from 8c7bf09 to bdba442 Compare June 23, 2025 07:25
@snyk-io
Copy link

snyk-io bot commented Jun 23, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

code/snyk check is complete. No issues have been found. (View Details)

@github-actions github-actions bot removed the Stale label Jun 25, 2025
@danlucian danlucian merged commit eb68f7f into main Jul 28, 2025
12 of 14 checks passed
@danlucian danlucian deleted the feat/use-azure-tool-lib branch July 28, 2025 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants