Commit Graph
11492 Commits
Author SHA1 Message Date
Erica Portnoy ef73091f8e consistent shorter test names 2026-04-29 14:36:17 -07:00
Erica Portnoy 40d6660f50 display downloaded snaps 2026-04-29 14:32:48 -07:00
Erica Portnoy 6b1129251b give extended tests tox steps access to secrets for aws tests 2026-04-29 14:26:10 -07:00
Erica Portnoy 0f15c674cb arm32 docker is building slower on arm64 for some reason, put it back to amd64 2026-04-29 14:12:04 -07:00
Erica Portnoy 372d2847af put image name in there directly 2026-04-29 13:18:52 -07:00
Erica Portnoy 89ccbede6c env was in the wrong spot 2026-04-29 13:17:47 -07:00
Erica Portnoy 6ae862f749 nicer names for snap and docker build and test jobs 2026-04-29 12:32:53 -07:00
Erica Portnoy b9c53a90c0 move extended test image name to env so it doesn't need to be listed every time in the matrix 2026-04-29 12:30:20 -07:00
Erica Portnoy 89b535538a add nicer docker job names 2026-04-29 12:19:44 -07:00
Erica Portnoy 9b84de4342 docker arches have different names 2026-04-29 12:17:56 -07:00
Erica Portnoy 166a1603fb name param needs env context syntax for some reason 2026-04-29 12:16:40 -07:00
Erica Portnoy 3690d5e7f3 match docker arch to runner image, in case it speeds things up 2026-04-29 12:10:22 -07:00
Erica Portnoy c53c63484e update nightly test dependencies based on new job names after test and package stage removed 2026-04-29 12:01:22 -07:00
Erica Portnoy cc8aaf2a5a shakes fist at launchpad for uploading stalls 2026-04-29 11:57:00 -07:00
Erica Portnoy 189c7b1c65 fix retrieval and upload paths/names; also test dns snaps 2026-04-29 11:34:22 -07:00
Erica Portnoy 95627450f3 switch matrix to env for launchpad builds job since we're only running armhf 2026-04-29 11:12:41 -07:00
Erica Portnoy 541b76ef97 remove test and package stage to improve github actions ui 2026-04-29 11:09:27 -07:00
Erica Portnoy 2a6634d668 remove apparmor first from actual run, only run snap tests 2026-04-29 10:59:17 -07:00
Erica Portnoy 0c5489c1ba try uninstalling apparmor first 2026-04-29 10:53:56 -07:00
Erica Portnoy 5af6f0f216 no install recommends again? 2026-04-28 15:16:27 -07:00
Erica Portnoy d7f5545f6f libapparmor1 2026-04-28 15:09:00 -07:00
Erica Portnoy 8faf9f9bbe try adding fuse3 2026-04-28 15:05:55 -07:00
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