Commit Graph
11470 Commits
Author SHA1 Message Date
Erica Portnoy 4420ec486b separate and print 2026-04-28 15:01:32 -07:00
Erica Portnoy cc55c487f9 syntax 2026-04-28 14:59:16 -07:00
Erica Portnoy 80d933a88f is it literally just the update? 2026-04-28 14:57:51 -07:00
Erica Portnoy e2c310d7c2 back to all tests 2026-04-28 14:27:15 -07:00
Erica Portnoy d0e06c4c40 ok, that typo is on me/sublime 2026-04-28 14:26:58 -07:00
Erica Portnoy 81b07a9cc4 back to running all tests 2026-04-28 14:22:11 -07:00
Erica Portnoy b495bc376a maybe docker is mad about single quotes? 2026-04-28 14:22:01 -07:00
Erica Portnoy 5dedc2c99f add nicer name for generate_dns_list_matrix 2026-04-28 14:15:58 -07:00
Erica Portnoy 134e47dd8c undo only packaging jobs 2026-04-28 14:14:34 -07:00
Erica Portnoy ba1d6bb0dc only packaging jobs 2026-04-28 14:14:16 -07:00
Erica Portnoy c4996428b1 yes install recommends 2026-04-28 14:14:06 -07:00
Erica Portnoy 8697b913f3 trying another quoting style for docker reference format 2026-04-28 14:14:00 -07:00
Erica Portnoy fcfc394083 quote docker images subshell output 2026-04-28 13:55:07 -07:00
Erica Portnoy 809a5904b9 add image name for extended tests 2026-04-28 13:40:55 -07:00
Erica Portnoy 29a221042d run must rely on launchpad builds 2026-04-28 13:26:05 -07:00
Erica Portnoy d793011efb run armhf snaps 2026-04-28 13:23:33 -07:00
Erica Portnoy 8f3a177260 cleaning 2026-04-28 13:08:27 -07:00
Erica Portnoy 9c51712369 remove double space in format 2026-04-28 12:47:28 -07:00
Erica Portnoy 1c0b515828 Merge branch 'main' into convert-all-pipelines 2026-04-28 12:46:54 -07:00
9ec4105ff3 Migrate PR tests from azure pipelines to github actions (#10622)
Related to https://github.com/certbot/certbot/issues/10581

This is the first step of migrating to github actions.

Nightly and full tests have been converted on branch
`convert-all-pipelines`; you can see additional changes to do those for
context
[here](https://github.com/certbot/certbot/compare/convert-pr-tests...convert-all-pipelines).

Some notes: 
- All github workflows must be flat in the `.github/workflows/`
directory.
- Github actions doesn't have a concept of "stages." Instead, it
generates a dependency graph, which is kind of nice. You can see an
example of a more complicated one
[here](https://github.com/certbot/certbot/actions/runs/24580625688).
- I don't know why the actions in the left bar (under Actions tab -->
All workflows) are using the path instead of the listed name. I suspect
it has something to do with not being run on main. Once it's merged, if
the name doesn't change, we can delete previous runs and that will clear
the entry on the left.
- "permissions" is for the fine-grained github PAT. contents: read is
needed for the "checkout" action, which basically everything uses. it's
still best practice to define per-workflow. it can also be defined
per-job, but per-workflow seemed nicer to me.
[This](https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#permissions)
is the best permissions explanation I've found; [some
actions](https://github.com/actions/checkout) mention what permissions
they need.
- For definitions of the keywords to `on`, see
[here](https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows).
- Some of the potential inputs in tox steps are not used in this PR
because we're not running the AWS tests. It seemed messier to take them
out here and put them back later when the extended tests need them, but
I can do that on request.

We currently have a `main` [protection
rule](https://github.com/certbot/certbot/settings/branch_protection_rules/5466)
set that Azure pipelines PR test suite must pass before merging.
Obviously I don't want to turn that off before this PR is reviewed. In
github actions, it can only require a specific job to pass, though you
can have multiple. To address this, I've created a job that requires all
other jobs to pass, and that can be set at the required job. We probably
do not want to list every individual job, as that includes every job
generated by a matrix strategy. To find it in the protection rules page,
start typing "PR test suite success" and it will show up.

---------

Co-authored-by: Brad Warren <bmw@users.noreply.github.com>
Co-authored-by: Will Greenberg <willg@eff.org>
2026-04-28 12:34:42 -07:00
ohemorangeandGitHub 6114144bd2 Merge pull request #10630 from certbot/lexicon-repin
Repin dependencies to pull in updated dns-lexicon, which contains the fix for OVH challenge deletion bug
2026-04-28 12:28:31 -07:00
Erica Portnoy a2fd8da578 add back aws secrets but better 2026-04-24 15:22:06 -07:00
Erica Portnoy d2864e5b9f Merge branch 'convert-pr-tests' into convert-all-pipelines 2026-04-24 15:20:51 -07:00
Erica Portnoy f93a1d3b44 remove unused aws secret env vars 2026-04-24 15:20:03 -07:00
dced246bb5 Delete comment since it's in the official docs
Co-authored-by: Brad Warren <bmw@users.noreply.github.com>
2026-04-24 15:16:42 -07:00
Erica Portnoy 7ca46575ab remove test_name from extended tests 2026-04-24 13:24:51 -07:00
Erica Portnoy 9836dd6f71 use persist-credentials: false in checkout calls 2026-04-24 13:24:22 -07:00
Erica Portnoy c18f0999a6 remove set -e 2026-04-24 13:23:05 -07:00
Erica Portnoy 1fd4882a28 remove uploadCoverage input from extended tests 2026-04-24 13:17:13 -07:00
Erica Portnoy 3d0b315f8d Merge branch 'convert-pr-tests' into convert-all-pipelines 2026-04-24 13:16:58 -07:00
Erica Portnoy ed82edd001 remove comment added to check concurrency 2026-04-24 13:10:18 -07:00
Erica Portnoy b6fe14e0f7 add a comment to check concurrency; this should stop the previous test and run this instead 2026-04-24 13:09:15 -07:00
Erica Portnoy 269d856681 remove github.ref from concurency group name 2026-04-24 13:08:29 -07:00
Erica Portnoy 87b13716cd group venv as well! these should maybe be separate steps but whatever 2026-04-24 13:04:17 -07:00
Erica Portnoy 9ba5d3317a group more outputs in sphinx tests 2026-04-24 13:01:53 -07:00
Erica Portnoy 0f5ac81a6b add a comment to test if debugging turned off correctly 2026-04-24 12:58:46 -07:00
Erica Portnoy cfa43e860b put the sphinx capitalization change in the right place 2026-04-24 12:44:36 -07:00
Erica Portnoy b0e5900e52 use github actions syntax for groups and errors 2026-04-24 12:28:58 -07:00
Erica Portnoy 6f2aa2f376 use consistent naming and capitalization for sphinx builds as well 2026-04-24 12:21:49 -07:00
Erica Portnoy 23738a1c6e remove test_name since github already has that context, swap order of toxenv and image name 2026-04-24 11:57:09 -07:00
Erica Portnoy 4e47230974 remove uploading to codecov, since we don't use that anymore 2026-04-24 11:50:51 -07:00
Erica Portnoy 52613ca83c remove TARGET_BRANCH that's no longer used anyway 2026-04-24 11:43:22 -07:00
Erica Portnoy e73f1eccd0 mac_install id no longer needed, it's an artifact of interim testing 2026-04-24 11:42:03 -07:00
Erica Portnoy 3c5b411435 define AWS_EC2_PEM_FILE in env; it was lost in the actions conversion 2026-04-24 11:41:16 -07:00
Erica Portnoy e9de9fdf76 secrets are now inherited; no need to be able to pass them into a workflow and we should not do so 2026-04-24 11:39:44 -07:00
Erica Portnoy a267b704e6 remove set -e since it's now implicit 2026-04-24 11:36:02 -07:00
Erica Portnoy 59034c89f3 set persist-credentials to false as flagged by zizmor 2026-04-24 11:35:12 -07:00
Erica Portnoy c5bf993899 clean up names 2026-04-17 15:45:20 -07:00
Erica Portnoy f304f21712 clean up name fields for reading test results 2026-04-17 15:34:49 -07:00
Erica Portnoy f8f6a24e5e clean up name fields for reading test results 2026-04-17 15:34:35 -07:00