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.

61 lines
1.9 KiB

4 years ago
4 years ago
3 years ago
3 years ago
4 years ago
3 years ago
3 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. - '.github/workflows/PebbleStrict.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. TEST_ACME_Server: 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
  38. PebbleStrict_IPCert:
  39. runs-on: ubuntu-latest
  40. env:
  41. TestingDomain: 10.30.50.1
  42. ACME_DIRECTORY: https://localhost:14000/dir
  43. HTTPS_INSECURE: 1
  44. Le_HTTPPort: 5002
  45. Le_TLSPort: 5001
  46. TEST_LOCAL: 1
  47. TEST_CA: "Pebble Intermediate CA"
  48. TEST_IPCERT: 1
  49. steps:
  50. - uses: actions/checkout@v2
  51. - name: Install tools
  52. run: sudo apt-get install -y socat
  53. - name: Run Pebble
  54. run: cd .. && curl https://raw.githubusercontent.com/letsencrypt/pebble/master/docker-compose.yml >docker-compose.yml && docker-compose up -d
  55. - name: Clone acmetest
  56. run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
  57. - name: Run acmetest
  58. run: cd ../acmetest && ./letest.sh