PebbleStrict.yml 966 B

123456789101112131415161718192021222324252627
  1. name: PebbleStrict
  2. on: [push, pull_request]
  3. jobs:
  4. PebbleStrict:
  5. runs-on: ubuntu-latest
  6. env:
  7. TestingDomain: example.com
  8. TestingAltDomains: www.example.com
  9. ACME_DIRECTORY: https://localhost:14000/dir
  10. HTTPS_INSECURE: 1
  11. Le_HTTPPort: 5002
  12. TEST_LOCAL: 1
  13. TEST_CA: "Pebble Intermediate CA"
  14. steps:
  15. - uses: actions/checkout@v2
  16. - name: Install tools
  17. run: sudo apt-get install -y socat
  18. - name: Run Pebble
  19. run: cd .. && curl https://raw.githubusercontent.com/letsencrypt/pebble/master/docker-compose.yml >docker-compose.yml && docker-compose up -d
  20. - name: Set up Pebble
  21. run: curl --request POST --data '{"ip":"10.30.50.1"}' http://localhost:8055/set-default-ipv4
  22. - name: Clone acmetest
  23. run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
  24. - name: Run acmetest
  25. run: cd ../acmetest && ./letest.sh