You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.1 KiB

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