Skip to content

CI: add apt-install.sh for unification and robustness - #11629

Open
padelsbach wants to merge 1 commit into
wolfSSL:masterfrom
padelsbach:ci-apt-wrapper
Open

padelsbach wants to merge 1 commit into
wolfSSL:masterfrom
padelsbach:ci-apt-wrapper

Conversation

@padelsbach

Copy link
Copy Markdown
Contributor

Description

Unify several copypasta apt install loops into apt-install.sh. Handles timeouts for robustness in a uniform way.

Testing

CI

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

Copilot AI balanced review requested due to automatic review settings October 2, 2026 00:16

Copilot AI left a comment

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.

Copilot review overview

🟡 Changes recommended

Zero-value validation and the Falcon job’s insufficient timeout budget undermine the intended robustness.

Review effort: Balanced
Findings: 2 Medium severity

Open (2)
What changed in this PR

Centralizes robust apt installation behavior for CI workflows and composite actions.

Changes:

  • Adds a reusable apt installer with retries, timeouts, and vendor-source handling.
  • Migrates CI jobs and dependency-bundle generation to the shared script.
  • Expands SBOM dependencies and avoids amd64 bundles on non-x64 runners.
File Description
.github/​scripts/​apt-install.sh Adds the shared apt installation utility.
.github/​scripts/​download-deb-closure.sh Uses the shared utility for bundle downloads.
.github/​actions/​install-apt-deps/​action.yml Delegates apt fallback and adds architecture gating.
.github/​actions/​ccache-setup/​action.yml Reuses the shared installer for ccache.
.github/​workflows/​sbom.yml Uses bundled apt dependencies for SBOM tooling.
.github/​workflows/​falcon-interop.yml Migrates Falcon jobs to the apt action.
.github/​workflows/​cross-library.yml Bootstraps and uses the installer in containers.
.github/​workflows/​cross-library/​README.md Documents the new bootstrap process.
.github/​workflows/​ci-deps-image.yml Uses the installer when producing dependency bundles.
.github/​workflows/​afalg.yml Uses best-effort shared installation for kernel modules.
.github/​ci-deps/​packages-ubuntu-24.04-full.txt Adds SBOM build dependencies to the full bundle.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/scripts/apt-install.sh
Comment thread .github/workflows/falcon-interop.yml

Copilot AI left a comment

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.

Copilot review overview

🟡 Changes recommended

Existing sparse checkouts omit the shared helper, breaking apt fallback in multiple workflows.

Review effort: Balanced
Findings: 1 Medium severity

Open (1)
Resolved since last review (2)

sleep $DELAY
DELAY=$((DELAY * 2))
done
"$GITHUB_ACTION_PATH/../../scripts/apt-install.sh" \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants