Repository navigation
Make the pupmod acceptance jobs survive Launchpad PPA outages #126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
8e48697
Make the pupmod acceptance jobs survive Launchpad PPA outages
michael-riddle da7ace8
Address review: use a shared setup action and warm its cache from the…
michael-riddle 3836513
Use the setup-vagrant-libvirt action from simp/gha-workflows
michael-riddle bd824a8
Address review: add rngd and simp_authselect, quiet the cache workflow
michael-riddle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,76 @@ | ||
| --- | ||
| # Make the pupmod acceptance jobs survive Launchpad PPA outages | ||
| # (simp/puppetsync#122). | ||
| # | ||
| # The acceptance job's "Setup libvirt for Vagrant" step installed vagrant | ||
| # and vagrant-libvirt from ppa:evgeni/vagrant alone, so a Launchpad outage | ||
| # failed every acceptance job and, through 'All checks', blocked merges. | ||
| # The step now uses the setup-vagrant-libvirt action in simp/gha-workflows, | ||
| # which installs from the Actions cache, then the PPA (with retries), then | ||
| # HashiCorp's apt repository. | ||
| # | ||
| # A pull request can only restore caches saved from the default branch (or | ||
| # its own ref or base branch), so each repo also gets | ||
| # vagrant_package_cache.yml, which saves the PPA's packages from the | ||
| # default branch on push and twice a week. | ||
| # | ||
| # Run it with repolist=pupmods_vagrant_acceptance: ensure_files adds | ||
| # vagrant_package_cache.yml to every repo in the session, and modules whose | ||
| # acceptance job uses podman, or that have none, don't need it. | ||
| # | ||
| # pr_tests.yml (merge_github_workflows): each repo's `jobs.acceptance` block | ||
| # is kept as-is, except for the step named in template_steps, which is | ||
| # replaced with the template's. | ||
| puppetsync::plan_config: | ||
| puppetsync: | ||
| permitted_project_types: | ||
| - pupmod | ||
| - pupmod_skeleton | ||
| plans: | ||
| sync: | ||
| github_api_delay_seconds: 1 | ||
| merge_github_workflows: | ||
| files: | ||
| - pr_tests.yml | ||
| - vagrant_package_cache.yml | ||
| ensure_files: | ||
| - vagrant_package_cache.yml | ||
| preserve_blocks: | ||
| - jobs.acceptance | ||
| template_steps: | ||
| - Setup libvirt for Vagrant | ||
| stages: | ||
| - install_gems | ||
| - checkout_git_feature_branch_in_each_repo | ||
| - merge_github_workflows | ||
| - git_commit_changes | ||
| - ensure_github_fork | ||
| - ensure_git_remote | ||
| - git_push_to_remote | ||
| - ensure_github_pr | ||
|
|
||
| approve_github_prs: | ||
| stages: | ||
| - approve_github_pr_for_each_repo | ||
|
|
||
| merge_github_prs: | ||
| stages: | ||
| - merge_github_pr_for_each_repo | ||
|
|
||
| git: | ||
| feature_branch: puppetsync/20261102-vagrant-ppa-fallback | ||
| commit_message: | | ||
| [puppetsync] Survive Launchpad PPA outages in acceptance | ||
|
|
||
| The acceptance job installed Vagrant and vagrant-libvirt from | ||
| ppa:evgeni/vagrant alone, so a Launchpad outage failed every | ||
| acceptance run. The setup step now uses the setup-vagrant-libvirt | ||
| action from simp/gha-workflows, which installs the PPA's packages | ||
| from the Actions cache when it can, retries the PPA, and | ||
| falls back to HashiCorp's Vagrant and the vagrant-libvirt plugin. | ||
| The new 'Vagrant package cache' workflow keeps the packages cached | ||
| from the default branch, where pull requests can restore them. | ||
|
|
||
| github: | ||
| pr_user: silug # This should be the account that *submitted* the PRs | ||
| approval_message: ':+1: :ghost:' | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| 20261014-all-checks-job.yaml | ||
| 20261102-vagrant-ppa-fallback.yaml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| github-org.yaml | ||
| pupmods_vagrant_acceptance.yaml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,120 @@ | ||
| --- | ||
| # pupmod repos whose acceptance job runs Beaker on Vagrant with libvirt | ||
| # ("Setup libvirt for Vagrant" in pr_tests.yml), as of 2026-11-03. | ||
| # The rest of pupmods.yaml run acceptance on podman or have none; | ||
| # pupmod-simp-rngd and pupmod-simp-simp_authselect aren't in pupmods.yaml. | ||
| puppetsync::repos_config: | ||
|
|
||
| https://github.com/simp/pupmod-simp-acpid: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-aide: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-auditd: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-autofs: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-ds389: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-fips: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-gdm: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-ima: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-issue: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-libreswan: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-logrotate: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-mozilla: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-nfs: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-oath: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-oddjob: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-pam: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-pki: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-pupmod: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-rngd: | ||
| branch: main | ||
|
|
||
| https://github.com/simp/pupmod-simp-rsync: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-rsyslog: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-selinux: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-simp: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-simp_apache: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-simp_authselect: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-simp_ds389: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-simp_gitlab: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-simp_nfs: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-simp_rsyslog: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-simp_snmpd: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-ssh: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-sssd: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-stunnel: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-sudo: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-svckill: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-swap: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-tlog: | ||
| branch: master | ||
|
|
||
| https://github.com/simp/pupmod-simp-vsftpd: | ||
| branch: master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.