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.

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