mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-01 03:51:46 +00:00
62 lines
1.9 KiB
YAML
62 lines
1.9 KiB
YAML
name: PebbleStrict
|
|
on:
|
|
push:
|
|
branches:
|
|
- '*'
|
|
paths:
|
|
- '*.sh'
|
|
- '.github/workflows/PebbleStrict.yml'
|
|
pull_request:
|
|
branches:
|
|
- dev
|
|
paths:
|
|
- '*.sh'
|
|
- '.github/workflows/PebbleStrict.yml'
|
|
|
|
jobs:
|
|
PebbleStrict:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
TestingDomain: example.com
|
|
TestingAltDomains: www.example.com
|
|
TEST_ACME_Server: https://localhost:14000/dir
|
|
HTTPS_INSECURE: 1
|
|
Le_HTTPPort: 5002
|
|
TEST_LOCAL: 1
|
|
TEST_CA: "Pebble Intermediate CA"
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Install tools
|
|
run: sudo apt-get install -y socat
|
|
- name: Run Pebble
|
|
run: cd .. && curl https://raw.githubusercontent.com/letsencrypt/pebble/master/docker-compose.yml >docker-compose.yml && docker-compose up -d
|
|
- 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 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: 10.30.50.1
|
|
ACME_DIRECTORY: 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@v2
|
|
- name: Install tools
|
|
run: sudo apt-get install -y socat
|
|
- name: Run Pebble
|
|
run: cd .. && curl https://raw.githubusercontent.com/letsencrypt/pebble/master/docker-compose.yml >docker-compose.yml && docker-compose up -d
|
|
- name: Clone acmetest
|
|
run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
|
|
- name: Run acmetest
|
|
run: cd ../acmetest && ./letest.sh |