Skip to content

Commit 04a4805

Browse files
authored
tests: add explicit versions to Python dependencies (#6993)
This avoids a situation where building a fresh boulder-tools image accidentally brings in a new version of codespell, which flags new misspellings.
1 parent 908421b commit 04a4805

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/boulder-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ jobs:
3636
matrix:
3737
# Add additional docker image tags here and all tests will be run with the additional image.
3838
BOULDER_TOOLS_TAG:
39-
- go1.20.6_2023-07-11
40-
- go1.21rc2_2023-07-11
39+
- go1.20.6_2023-07-19
40+
- go1.21rc2_2023-07-19
4141
# Tests command definitions. Use the entire "docker compose" command you want to run.
4242
tests:
4343
# Run ./test.sh --help for a description of each of the flags.
@@ -118,8 +118,8 @@ jobs:
118118
matrix:
119119
# Add additional docker image tags here and all tests will be run with the additional image.
120120
BOULDER_TOOLS_TAG:
121-
- go1.20.6_2023-07-11
122-
- go1.21rc2_2023-07-11
121+
- go1.20.6_2023-07-19
122+
- go1.21rc2_2023-07-19
123123

124124
env:
125125
# This sets the docker image tag for the boulder-tools repository to

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3'
22
services:
33
boulder:
44
# Should match one of the GO_DEV_VERSIONS in test/boulder-tools/tag_and_upload.sh.
5-
image: &boulder_image letsencrypt/boulder-tools:${BOULDER_TOOLS_TAG:-go1.20.6_2023-07-11}
5+
image: &boulder_image letsencrypt/boulder-tools:${BOULDER_TOOLS_TAG:-go1.20.6_2023-07-19}
66
environment:
77
# To solve HTTP-01 and TLS-ALPN-01 challenges, change the IP in FAKE_DNS
88
# to the IP address where your ACME client's solver is listening.

test/boulder-tools/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ acme>=2.0
22
cryptography>=0.7
33
PyOpenSSL
44
requests
5-
codespell
5+
codespell==2.2.5

test/boulder-tools/tag_and_upload.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ done
5050

5151
# This needs to work with both GNU sed and BSD sed
5252
echo "Updating container build timestamp in docker-compose.yml"
53-
sed -i.bak -E "s|BOULDER_TOOLS_TAG:-go([0-9.]+)_([0-9-]+)}$|BOULDER_TOOLS_TAG:-go\1_${DATESTAMP}}|" ../../docker-compose.yml
53+
sed -i.bak -E "s|BOULDER_TOOLS_TAG:-go([0-9.]+)_([0-9-]+)}$|BOULDER_TOOLS_TAG:-go${GO_DEV_VERSIONS[0]}_${DATESTAMP}}|g" ../../docker-compose.yml
5454
rm -f ../../docker-compose.yml.bak

0 commit comments

Comments
 (0)