]> git.proxmox.com Git - mirror_acme.sh.git/blob - .github/workflows/PebbleStrict.yml
upgrade actions/checkout@v3
[mirror_acme.sh.git] / .github / workflows / PebbleStrict.yml
1 name: PebbleStrict
2 on:
3 push:
4 branches:
5 - '*'
6 paths:
7 - '*.sh'
8 - '.github/workflows/PebbleStrict.yml'
9 pull_request:
10 branches:
11 - dev
12 paths:
13 - '*.sh'
14 - '.github/workflows/PebbleStrict.yml'
15
16
17 concurrency:
18 group: ${{ github.workflow }}-${{ github.ref }}
19 cancel-in-progress: true
20
21
22
23 jobs:
24 PebbleStrict:
25 runs-on: ubuntu-latest
26 env:
27 TestingDomain: example.com
28 TestingAltDomains: www.example.com
29 TEST_ACME_Server: https://localhost:14000/dir
30 HTTPS_INSECURE: 1
31 Le_HTTPPort: 5002
32 TEST_LOCAL: 1
33 TEST_CA: "Pebble Intermediate CA"
34
35 steps:
36 - uses: actions/checkout@v3
37 - name: Install tools
38 run: sudo apt-get install -y socat
39 - name: Run Pebble
40 run: cd .. && curl https://raw.githubusercontent.com/letsencrypt/pebble/master/docker-compose.yml >docker-compose.yml && docker-compose up -d
41 - name: Set up Pebble
42 run: curl --request POST --data '{"ip":"10.30.50.1"}' http://localhost:8055/set-default-ipv4
43 - name: Clone acmetest
44 run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
45 - name: Run acmetest
46 run: cd ../acmetest && ./letest.sh
47
48 PebbleStrict_IPCert:
49 runs-on: ubuntu-latest
50 env:
51 TestingDomain: 1.23.45.67
52 TEST_ACME_Server: https://localhost:14000/dir
53 HTTPS_INSECURE: 1
54 Le_HTTPPort: 5002
55 Le_TLSPort: 5001
56 TEST_LOCAL: 1
57 TEST_CA: "Pebble Intermediate CA"
58 TEST_IPCERT: 1
59
60 steps:
61 - uses: actions/checkout@v3
62 - name: Install tools
63 run: sudo apt-get install -y socat
64 - name: Run Pebble
65 run: |
66 docker run --rm -itd --name=pebble \
67 -e PEBBLE_VA_ALWAYS_VALID=1 \
68 -p 14000:14000 -p 15000:15000 letsencrypt/pebble:latest pebble -config /test/config/pebble-config.json -strict
69 - name: Clone acmetest
70 run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
71 - name: Run acmetest
72 run: cd ../acmetest && ./letest.sh