You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
acme.sh/.github/workflows/PebbleStrict.yml

72 lines
2.1 KiB
YAML

5 years ago
name: PebbleStrict
4 years ago
on:
push:
branches:
- '*'
paths:
4 years ago
- '*.sh'
4 years ago
- '.github/workflows/PebbleStrict.yml'
4 years ago
pull_request:
branches:
- dev
paths:
4 years ago
- '*.sh'
4 years ago
- '.github/workflows/PebbleStrict.yml'
5 years ago
2 years ago
concurrency:
2 years ago
group: ${{ github.workflow }}-${{ github.ref }}
2 years ago
cancel-in-progress: true
5 years ago
jobs:
5 years ago
PebbleStrict:
5 years ago
runs-on: ubuntu-latest
env:
TestingDomain: example.com
TestingAltDomains: www.example.com
TEST_ACME_Server: https://localhost:14000/dir
5 years ago
HTTPS_INSECURE: 1
Le_HTTPPort: 5002
TEST_LOCAL: 1
5 years ago
TEST_CA: "Pebble Intermediate CA"
5 years ago
steps:
- uses: actions/checkout@v3
5 years ago
- name: Install tools
run: sudo apt-get install -y socat
5 years ago
- name: Run Pebble
5 years ago
run: cd .. && curl https://raw.githubusercontent.com/letsencrypt/pebble/master/docker-compose.yml >docker-compose.yml && docker-compose up -d
5 years ago
- name: Set up Pebble
run: curl --request POST --data '{"ip":"10.30.50.1"}' http://localhost:8055/set-default-ipv4
- name: Clone acmetest
run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
- name: Run acmetest
run: cd ../acmetest && ./letest.sh
PebbleStrict_IPCert:
runs-on: ubuntu-latest
env:
TestingDomain: 1.23.45.67
3 years ago
TEST_ACME_Server: https://localhost:14000/dir
HTTPS_INSECURE: 1
Le_HTTPPort: 5002
Le_TLSPort: 5001
TEST_LOCAL: 1
TEST_CA: "Pebble Intermediate CA"
TEST_IPCERT: 1
steps:
- uses: actions/checkout@v3
- name: Install tools
run: sudo apt-get install -y socat
- name: Run Pebble
run: |
docker run --rm -itd --name=pebble \
-e PEBBLE_VA_ALWAYS_VALID=1 \
-p 14000:14000 -p 15000:15000 letsencrypt/pebble:latest pebble -config /test/config/pebble-config.json -strict
- name: Clone acmetest
run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
5 years ago
- name: Run acmetest
5 years ago
run: cd ../acmetest && ./letest.sh