ci: fix Apptainer install by dropping Launchpad PPA#41
Conversation
… to v4 Agent-Logs-Url: https://github.com/sequana/fastqc/sessions/38342296-c34c-41d3-a540-a778e799f58f Co-authored-by: cokelaer <[email protected]>
Up to standards ✅🟢 Issues
|
|
@copilot the apptainer workflow fails with thie error: "E: Unable to locate package apptainer" |
Agent-Logs-Url: https://github.com/sequana/fastqc/sessions/b2f06054-8950-48ef-b7e1-9d770e590ca1 Co-authored-by: cokelaer <[email protected]>
Fixed in 90a6d4f. |
Coverage Report for CI Build 25226991894Coverage remained the same at 91.667%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
| key: ${{ runner.os }}-apt-cache-v1 | ||
|
|
||
| # Cache Apptainer installation | ||
| - name: Cache Apptainer install |
There was a problem hiding this comment.
@copilot is there nothing on github market place to install apptainer ?
…qc#41) Agent-Logs-Url: https://github.com/sequana/mapper/sessions/40197aea-a9d7-4c28-9b63-b031387e96ff Co-authored-by: cokelaer <[email protected]>
add-apt-repository ppa:apptainer/ppaintermittently times out on GitHub-hosted runners, causing flaky CI failures unrelated to the actual test code. Additionally,apptaineris not available in Ubuntu's default apt repositories.Changes
software-properties-common→add-apt-repository→apt-get install) with a direct download of the.debfrom Apptainer's GitHub releases (auto-detecting the latest version), avoiding both the Launchpad network timeout and the missing-package issue. Addsapptainer --versionto confirm the install succeeded./usr/bin/apptainer,/usr/lib/apptainer,/etc/apptainer) and the unused APT archives cache. Retain only~/.apptainer/cache(user-space image cache, the only part worth caching).actions/cache@v3→actions/cache@v4to avoid the upcoming Node.js 16 deprecation warning.Original prompt
This pull request was created from Copilot chat.