Skip to content

Commit

Permalink
Merge pull request #980 from nginx-proxy/fix-boulder
Browse files Browse the repository at this point in the history
ci: fix boulder integration tests
  • Loading branch information
buchdag committed Dec 3, 2022
2 parents a0c0e2b + e320cc6 commit e0c9b98
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dockerhub.yml
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Expand Up @@ -23,7 +23,7 @@ jobs:

steps:
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Build Image
run: docker build -t "$IMAGE" .
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:

steps:
- name: Checkout Docker official images tests
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: docker-library/official-images
path: official-images
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:

steps:
- name: Checkout Code
uses: actions/checkout@v2
uses: actions/checkout@v3

# PREPARE RUNNER ENV
- name: Add Test Domains in /etc/hosts
Expand Down
2 changes: 1 addition & 1 deletion test/setup/setup-boulder.sh
Expand Up @@ -10,7 +10,7 @@ setup_boulder() {
&& git clone https://github.com/letsencrypt/boulder \
"$GOPATH/src/github.com/letsencrypt/boulder"
pushd "$GOPATH/src/github.com/letsencrypt/boulder"
git checkout release-2020-12-14
git checkout release-2022-11-29
if [[ "$(uname)" == 'Darwin' ]]; then
# Set Standard Ports
for file in test/config/va.json test/config/va-remote-a.json test/config/va-remote-b.json; do
Expand Down
2 changes: 2 additions & 0 deletions test/setup/setup-local.sh
Expand Up @@ -128,9 +128,11 @@ EOF

if [[ "$ACME_CA" == 'boulder' ]]; then
# Stop and remove boulder
docker stop boulder
docker-compose --project-name 'boulder' \
--file "${GITHUB_WORKSPACE}/go/src/github.com/letsencrypt/boulder/docker-compose.yml" \
down --volumes
docker rm boulder
elif [[ "$ACME_CA" == 'pebble' ]]; then
docker network rm acme_net
[[ -f "${GITHUB_WORKSPACE}/pebble.minica.pem" ]] && rm "${GITHUB_WORKSPACE}/pebble.minica.pem"
Expand Down

0 comments on commit e0c9b98

Please sign in to comment.