|
@ -18,10 +18,17 @@ jobs: |
|
|
Ubuntu: |
|
|
Ubuntu: |
|
|
strategy: |
|
|
strategy: |
|
|
matrix: |
|
|
matrix: |
|
|
TEST_ACME_Server: ["", "https://acme.zerossl.com/v2/DV90"] |
|
|
|
|
|
|
|
|
include: |
|
|
|
|
|
- TEST_ACME_Server: "" |
|
|
|
|
|
CA_ECDSA: "" |
|
|
|
|
|
CA: "" |
|
|
|
|
|
- TEST_ACME_Server: "https://acme.zerossl.com/v2/DV90" |
|
|
|
|
|
CA_ECDSA: "ZeroSSL ECC Domain Secure Site CA" |
|
|
|
|
|
CA: "ZeroSSL RSA Domain Secure Site CA" |
|
|
runs-on: ubuntu-latest |
|
|
runs-on: ubuntu-latest |
|
|
env: |
|
|
env: |
|
|
TEST_LOCAL: 1 |
|
|
TEST_LOCAL: 1 |
|
|
|
|
|
ACME_DIRECTORY: ${{ matrix.TEST_ACME_Server }} |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v2 |
|
|
- uses: actions/checkout@v2 |
|
|
- name: Install tools |
|
|
- name: Install tools |
|
@ -34,16 +41,22 @@ jobs: |
|
|
- name: Run acmetest |
|
|
- name: Run acmetest |
|
|
run: | |
|
|
run: | |
|
|
cd ../acmetest \ |
|
|
cd ../acmetest \ |
|
|
&& export ACME_DIRECTORY=${{ matrix.TEST_ACME_Server }} \ |
|
|
|
|
|
&& sudo --preserve-env ./letest.sh |
|
|
&& sudo --preserve-env ./letest.sh |
|
|
|
|
|
|
|
|
MacOS: |
|
|
MacOS: |
|
|
strategy: |
|
|
strategy: |
|
|
matrix: |
|
|
matrix: |
|
|
TEST_ACME_Server: ["", "https://acme.zerossl.com/v2/DV90"] |
|
|
|
|
|
|
|
|
include: |
|
|
|
|
|
- TEST_ACME_Server: "" |
|
|
|
|
|
CA_ECDSA: "" |
|
|
|
|
|
CA: "" |
|
|
|
|
|
- TEST_ACME_Server: "https://acme.zerossl.com/v2/DV90" |
|
|
|
|
|
CA_ECDSA: "ZeroSSL ECC Domain Secure Site CA" |
|
|
|
|
|
CA: "ZeroSSL RSA Domain Secure Site CA" |
|
|
runs-on: macos-latest |
|
|
runs-on: macos-latest |
|
|
env: |
|
|
env: |
|
|
TEST_LOCAL: 1 |
|
|
TEST_LOCAL: 1 |
|
|
|
|
|
ACME_DIRECTORY: ${{ matrix.TEST_ACME_Server }} |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v2 |
|
|
- uses: actions/checkout@v2 |
|
|
- name: Install tools |
|
|
- name: Install tools |
|
@ -56,15 +69,21 @@ jobs: |
|
|
- name: Run acmetest |
|
|
- name: Run acmetest |
|
|
run: | |
|
|
run: | |
|
|
cd ../acmetest \ |
|
|
cd ../acmetest \ |
|
|
&& export ACME_DIRECTORY=${{ matrix.TEST_ACME_Server }} \ |
|
|
|
|
|
&& sudo --preserve-env ./letest.sh |
|
|
&& sudo --preserve-env ./letest.sh |
|
|
|
|
|
|
|
|
Windows: |
|
|
Windows: |
|
|
strategy: |
|
|
strategy: |
|
|
matrix: |
|
|
matrix: |
|
|
TEST_ACME_Server: ["", "https://acme.zerossl.com/v2/DV90"] |
|
|
|
|
|
|
|
|
include: |
|
|
|
|
|
- TEST_ACME_Server: "" |
|
|
|
|
|
CA_ECDSA: "" |
|
|
|
|
|
CA: "" |
|
|
|
|
|
- TEST_ACME_Server: "https://acme.zerossl.com/v2/DV90" |
|
|
|
|
|
CA_ECDSA: "ZeroSSL ECC Domain Secure Site CA" |
|
|
|
|
|
CA: "ZeroSSL RSA Domain Secure Site CA" |
|
|
runs-on: windows-latest |
|
|
runs-on: windows-latest |
|
|
env: |
|
|
env: |
|
|
|
|
|
ACME_DIRECTORY: ${{ matrix.TEST_ACME_Server }} |
|
|
TEST_LOCAL: 1 |
|
|
TEST_LOCAL: 1 |
|
|
#The 80 port is used by Windows server, we have to use a custom port, tunnel will also use this port. |
|
|
#The 80 port is used by Windows server, we have to use a custom port, tunnel will also use this port. |
|
|
Le_HTTPPort: 8888 |
|
|
Le_HTTPPort: 8888 |
|
@ -95,18 +114,22 @@ jobs: |
|
|
run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/ |
|
|
run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/ |
|
|
- name: Run acmetest |
|
|
- name: Run acmetest |
|
|
shell: cmd |
|
|
shell: cmd |
|
|
run: | |
|
|
|
|
|
cd ../acmetest \ |
|
|
|
|
|
&& set ACME_DIRECTORY=${{ matrix.TEST_ACME_Server }} \ |
|
|
|
|
|
&& bash.exe -c ./letest.sh |
|
|
|
|
|
|
|
|
run: cd ../acmetest && bash.exe -c ./letest.sh |
|
|
|
|
|
|
|
|
FreeBSD: |
|
|
FreeBSD: |
|
|
strategy: |
|
|
strategy: |
|
|
matrix: |
|
|
matrix: |
|
|
TEST_ACME_Server: ["", "https://acme.zerossl.com/v2/DV90"] |
|
|
|
|
|
|
|
|
include: |
|
|
|
|
|
- TEST_ACME_Server: "" |
|
|
|
|
|
CA_ECDSA: "" |
|
|
|
|
|
CA: "" |
|
|
|
|
|
- TEST_ACME_Server: "https://acme.zerossl.com/v2/DV90" |
|
|
|
|
|
CA_ECDSA: "ZeroSSL ECC Domain Secure Site CA" |
|
|
|
|
|
CA: "ZeroSSL RSA Domain Secure Site CA" |
|
|
runs-on: macos-latest |
|
|
runs-on: macos-latest |
|
|
env: |
|
|
env: |
|
|
TEST_LOCAL: 1 |
|
|
TEST_LOCAL: 1 |
|
|
|
|
|
ACME_DIRECTORY: ${{ matrix.TEST_ACME_Server }} |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v2 |
|
|
- uses: actions/checkout@v2 |
|
|
- uses: vmactions/cf-tunnel@v0.0.2 |
|
|
- uses: vmactions/cf-tunnel@v0.0.2 |
|
@ -120,23 +143,29 @@ jobs: |
|
|
run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/ |
|
|
run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/ |
|
|
- uses: vmactions/freebsd-vm@v0.1.4 |
|
|
- uses: vmactions/freebsd-vm@v0.1.4 |
|
|
with: |
|
|
with: |
|
|
envs: 'TEST_LOCAL TestingDomain' |
|
|
|
|
|
|
|
|
envs: 'TEST_LOCAL TestingDomain ACME_DIRECTORY CA_ECDSA CA' |
|
|
nat: | |
|
|
nat: | |
|
|
"8080": "80" |
|
|
"8080": "80" |
|
|
prepare: pkg install -y socat curl |
|
|
prepare: pkg install -y socat curl |
|
|
usesh: true |
|
|
usesh: true |
|
|
run: | |
|
|
run: | |
|
|
cd ../acmetest \ |
|
|
cd ../acmetest \ |
|
|
&& export ACME_DIRECTORY=${{ matrix.TEST_ACME_Server }} \ |
|
|
|
|
|
&& ./letest.sh |
|
|
&& ./letest.sh |
|
|
|
|
|
|
|
|
Solaris: |
|
|
Solaris: |
|
|
strategy: |
|
|
strategy: |
|
|
matrix: |
|
|
matrix: |
|
|
TEST_ACME_Server: ["", "https://acme.zerossl.com/v2/DV90"] |
|
|
|
|
|
|
|
|
include: |
|
|
|
|
|
- TEST_ACME_Server: "" |
|
|
|
|
|
CA_ECDSA: "" |
|
|
|
|
|
CA: "" |
|
|
|
|
|
- TEST_ACME_Server: "https://acme.zerossl.com/v2/DV90" |
|
|
|
|
|
CA_ECDSA: "ZeroSSL ECC Domain Secure Site CA" |
|
|
|
|
|
CA: "ZeroSSL RSA Domain Secure Site CA" |
|
|
runs-on: macos-latest |
|
|
runs-on: macos-latest |
|
|
env: |
|
|
env: |
|
|
TEST_LOCAL: 1 |
|
|
TEST_LOCAL: 1 |
|
|
|
|
|
ACME_DIRECTORY: ${{ matrix.TEST_ACME_Server }} |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v2 |
|
|
- uses: actions/checkout@v2 |
|
|
- uses: vmactions/cf-tunnel@v0.0.2 |
|
|
- uses: vmactions/cf-tunnel@v0.0.2 |
|
@ -150,12 +179,11 @@ jobs: |
|
|
run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/ |
|
|
run: cd .. && git clone https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/ |
|
|
- uses: vmactions/solaris-vm@v0.0.3 |
|
|
- uses: vmactions/solaris-vm@v0.0.3 |
|
|
with: |
|
|
with: |
|
|
envs: 'TEST_LOCAL TestingDomain' |
|
|
|
|
|
|
|
|
envs: 'TEST_LOCAL TestingDomain ACME_DIRECTORY CA_ECDSA CA' |
|
|
nat: | |
|
|
nat: | |
|
|
"8080": "80" |
|
|
"8080": "80" |
|
|
prepare: pkgutil -y -i socat curl |
|
|
prepare: pkgutil -y -i socat curl |
|
|
run: | |
|
|
run: | |
|
|
cd ../acmetest \ |
|
|
cd ../acmetest \ |
|
|
&& export ACME_DIRECTORY=${{ matrix.TEST_ACME_Server }} \ |
|
|
|
|
|
&& ./letest.sh |
|
|
&& ./letest.sh |
|
|
|
|
|
|