2020-08-20 12:18:53 +00:00
|
|
|
name: PebbleStrict
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
2020-08-20 12:32:22 +00:00
|
|
|
PebbleStrict:
|
2020-08-20 12:18:53 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
env:
|
|
|
|
TestingDomain: example.com
|
|
|
|
TestingAltDomains: www.example.com
|
|
|
|
ACME_DIRECTORY: https://localhost:14000/dir
|
|
|
|
HTTPS_INSECURE: 1
|
|
|
|
Le_HTTPPort: 5002
|
|
|
|
TEST_LOCAL: 1
|
|
|
|
TEST_CA: todo
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2020-08-20 12:54:27 +00:00
|
|
|
- name: Install tools
|
|
|
|
run: sudo apt-get install -y socat
|
2020-08-20 12:18:53 +00:00
|
|
|
- name: Run Pebble
|
2020-08-20 12:52:42 +00:00
|
|
|
run: cd .. && curl https://raw.githubusercontent.com/letsencrypt/pebble/master/docker-compose.yml >docker-compose.yml && docker-compose up -d
|
2020-08-20 12:18:53 +00:00
|
|
|
- name: Set up Pebble
|
|
|
|
run: curl --request POST --data '{"ip":"10.30.50.1"}' http://localhost:8055/set-default-ipv4
|
|
|
|
- name: Clone acmetest
|
2020-08-20 12:52:42 +00:00
|
|
|
run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
|
2020-08-20 12:18:53 +00:00
|
|
|
- name: Run acmetest
|
2020-08-20 12:52:42 +00:00
|
|
|
run: cd ../acmetest && ./letest.sh
|