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.

71 lines
2.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
2 years ago
2 years ago
2 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
1 year ago
4 years ago
4 years ago
4 years ago
4 years ago
2 years ago
1 year 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. concurrency:
  16. group: ${{ github.workflow }}-${{ github.ref }}
  17. cancel-in-progress: true
  18. jobs:
  19. PebbleStrict:
  20. runs-on: ubuntu-latest
  21. env:
  22. TestingDomain: example.com
  23. TestingAltDomains: www.example.com
  24. TEST_ACME_Server: https://localhost:14000/dir
  25. HTTPS_INSECURE: 1
  26. Le_HTTPPort: 5002
  27. TEST_LOCAL: 1
  28. TEST_CA: "Pebble Intermediate CA"
  29. steps:
  30. - uses: actions/checkout@v4
  31. - name: Install tools
  32. run: sudo apt-get install -y socat
  33. - name: Run Pebble
  34. run: cd .. && curl https://raw.githubusercontent.com/letsencrypt/pebble/master/docker-compose.yml >docker-compose.yml && docker-compose up -d
  35. - name: Set up Pebble
  36. run: curl --request POST --data '{"ip":"10.30.50.1"}' http://localhost:8055/set-default-ipv4
  37. - name: Clone acmetest
  38. run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
  39. - name: Run acmetest
  40. run: cd ../acmetest && ./letest.sh
  41. PebbleStrict_IPCert:
  42. runs-on: ubuntu-latest
  43. env:
  44. TestingDomain: 1.23.45.67
  45. TEST_ACME_Server: https://localhost:14000/dir
  46. HTTPS_INSECURE: 1
  47. Le_HTTPPort: 5002
  48. Le_TLSPort: 5001
  49. TEST_LOCAL: 1
  50. TEST_CA: "Pebble Intermediate CA"
  51. TEST_IPCERT: 1
  52. steps:
  53. - uses: actions/checkout@v4
  54. - name: Install tools
  55. run: sudo apt-get install -y socat
  56. - name: Run Pebble
  57. run: |
  58. docker run --rm -itd --name=pebble \
  59. -e PEBBLE_VA_ALWAYS_VALID=1 \
  60. -p 14000:14000 -p 15000:15000 letsencrypt/pebble:latest pebble -config /test/config/pebble-config.json -strict
  61. - name: Clone acmetest
  62. run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
  63. - name: Run acmetest
  64. run: cd ../acmetest && ./letest.sh