feat: Integrate wave_singularity.py script for Singularity container HTTPS SIF URL reporting #9079
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR enhances the Wave workflow to automatically generate and report HTTPS SIF URLs for Singularity containers built through the Wave service. The integration allows users to easily access direct download links for Singularity images without manual intervention.
Changes Made
New Singularity-specific workflow steps
Added three new steps to the
conda-wave
job that execute only formatrix.profile == 'singularity'
:astral-sh/setup-uv@v6
to install the uv package manager, which handles runtime dependency resolution for the Python script.github/scripts/wave_singularity.py
script to convert the ORAS reference into a direct HTTPS download URLKey Features
set -euo pipefail
and validation that ORAS references are successfully extractedGITHUB_STEP_SUMMARY
, providing users with the essential download linkTOWER_ACCESS_TOKEN
secret asSEQERA_ACCESS_TOKEN
for Wave API authenticationWorkflow Integration
The script leverages the existing
wave_singularity.py
utility which:Example Output
When a Singularity container is built, the workflow summary will now include:
This enhancement streamlines the process of obtaining Singularity containers from Wave builds, eliminating the need for manual conversion from ORAS references to download URLs.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
astral.sh
curl -LsSf REDACTED
(dns block)If you need me to access, download, or install something from one of these locations, you can either:
This pull request was created as a result of the following prompt from Copilot chat.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.