forked from acmesh-official/acme.sh
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/Eddict/acme.sh
- Loading branch information
Showing
36 changed files
with
1,358 additions
and
378 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,7 +65,7 @@ jobs: | |
TokenName4: ${{ secrets.TokenName4}} | ||
TokenName5: ${{ secrets.TokenName5}} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Clone acmetest | ||
run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/ | ||
- name: Set env file | ||
|
@@ -113,7 +113,7 @@ jobs: | |
TokenName4: ${{ secrets.TokenName4}} | ||
TokenName5: ${{ secrets.TokenName5}} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Install tools | ||
run: brew install socat | ||
- name: Clone acmetest | ||
|
@@ -164,7 +164,7 @@ jobs: | |
- name: Set git to use LF | ||
run: | | ||
git config --global core.autocrlf false | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Install cygwin base packages with chocolatey | ||
run: | | ||
choco config get cacheLocation | ||
|
@@ -204,7 +204,7 @@ jobs: | |
FreeBSD: | ||
runs-on: macos-12 | ||
runs-on: ubuntu-latest | ||
needs: Windows | ||
env: | ||
TEST_DNS : ${{ secrets.TEST_DNS }} | ||
|
@@ -223,10 +223,10 @@ jobs: | |
TokenName4: ${{ secrets.TokenName4}} | ||
TokenName5: ${{ secrets.TokenName5}} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Clone acmetest | ||
run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/ | ||
- uses: vmactions/freebsd-vm@v0 | ||
- uses: vmactions/freebsd-vm@v1 | ||
with: | ||
envs: 'TEST_DNS TestingDomain TEST_DNS_NO_WILDCARD TEST_DNS_NO_SUBDOMAIN TEST_DNS_SLEEP CASE TEST_LOCAL DEBUG http_proxy https_proxy TokenName1 TokenName2 TokenName3 TokenName4 TokenName5 ${{ secrets.TokenName1}} ${{ secrets.TokenName2}} ${{ secrets.TokenName3}} ${{ secrets.TokenName4}} ${{ secrets.TokenName5}}' | ||
prepare: pkg install -y socat curl | ||
|
@@ -255,7 +255,7 @@ jobs: | |
OpenBSD: | ||
runs-on: macos-12 | ||
runs-on: ubuntu-latest | ||
needs: FreeBSD | ||
env: | ||
TEST_DNS : ${{ secrets.TEST_DNS }} | ||
|
@@ -274,10 +274,10 @@ jobs: | |
TokenName4: ${{ secrets.TokenName4}} | ||
TokenName5: ${{ secrets.TokenName5}} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Clone acmetest | ||
run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/ | ||
- uses: vmactions/openbsd-vm@v0 | ||
- uses: vmactions/openbsd-vm@v1 | ||
with: | ||
envs: 'TEST_DNS TestingDomain TEST_DNS_NO_WILDCARD TEST_DNS_NO_SUBDOMAIN TEST_DNS_SLEEP CASE TEST_LOCAL DEBUG http_proxy https_proxy TokenName1 TokenName2 TokenName3 TokenName4 TokenName5 ${{ secrets.TokenName1}} ${{ secrets.TokenName2}} ${{ secrets.TokenName3}} ${{ secrets.TokenName4}} ${{ secrets.TokenName5}}' | ||
prepare: pkg_add socat curl | ||
|
@@ -306,7 +306,7 @@ jobs: | |
NetBSD: | ||
runs-on: macos-12 | ||
runs-on: ubuntu-latest | ||
needs: OpenBSD | ||
env: | ||
TEST_DNS : ${{ secrets.TEST_DNS }} | ||
|
@@ -325,10 +325,10 @@ jobs: | |
TokenName4: ${{ secrets.TokenName4}} | ||
TokenName5: ${{ secrets.TokenName5}} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Clone acmetest | ||
run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/ | ||
- uses: vmactions/netbsd-vm@v0 | ||
- uses: vmactions/netbsd-vm@v1 | ||
with: | ||
envs: 'TEST_DNS TestingDomain TEST_DNS_NO_WILDCARD TEST_DNS_NO_SUBDOMAIN TEST_DNS_SLEEP CASE TEST_LOCAL DEBUG http_proxy https_proxy TokenName1 TokenName2 TokenName3 TokenName4 TokenName5 ${{ secrets.TokenName1}} ${{ secrets.TokenName2}} ${{ secrets.TokenName3}} ${{ secrets.TokenName4}} ${{ secrets.TokenName5}}' | ||
prepare: | | ||
|
@@ -358,7 +358,7 @@ jobs: | |
DragonFlyBSD: | ||
runs-on: macos-12 | ||
runs-on: ubuntu-latest | ||
needs: NetBSD | ||
env: | ||
TEST_DNS : ${{ secrets.TEST_DNS }} | ||
|
@@ -377,14 +377,14 @@ jobs: | |
TokenName4: ${{ secrets.TokenName4}} | ||
TokenName5: ${{ secrets.TokenName5}} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Clone acmetest | ||
run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/ | ||
- uses: vmactions/dragonflybsd-vm@v0 | ||
- uses: vmactions/dragonflybsd-vm@v1 | ||
with: | ||
envs: 'TEST_DNS TestingDomain TEST_DNS_NO_WILDCARD TEST_DNS_NO_SUBDOMAIN TEST_DNS_SLEEP CASE TEST_LOCAL DEBUG http_proxy https_proxy TokenName1 TokenName2 TokenName3 TokenName4 TokenName5 ${{ secrets.TokenName1}} ${{ secrets.TokenName2}} ${{ secrets.TokenName3}} ${{ secrets.TokenName4}} ${{ secrets.TokenName5}}' | ||
prepare: | | ||
pkg install -y curl socat | ||
pkg install -y curl socat libnghttp2 | ||
usesh: true | ||
copyback: false | ||
run: | | ||
|
@@ -413,7 +413,7 @@ jobs: | |
Solaris: | ||
runs-on: macos-12 | ||
runs-on: ubuntu-latest | ||
needs: DragonFlyBSD | ||
env: | ||
TEST_DNS : ${{ secrets.TEST_DNS }} | ||
|
@@ -433,10 +433,10 @@ jobs: | |
TokenName4: ${{ secrets.TokenName4}} | ||
TokenName5: ${{ secrets.TokenName5}} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Clone acmetest | ||
run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/ | ||
- uses: vmactions/solaris-vm@v0 | ||
- uses: vmactions/solaris-vm@v1 | ||
with: | ||
envs: 'TEST_DNS TestingDomain TEST_DNS_NO_WILDCARD TEST_DNS_NO_SUBDOMAIN TEST_DNS_SLEEP CASE TEST_LOCAL DEBUG http_proxy https_proxy HTTPS_INSECURE TokenName1 TokenName2 TokenName3 TokenName4 TokenName5 ${{ secrets.TokenName1}} ${{ secrets.TokenName2}} ${{ secrets.TokenName3}} ${{ secrets.TokenName4}} ${{ secrets.TokenName5}}' | ||
copyback: false | ||
|
@@ -463,3 +463,54 @@ jobs: | |
./letest.sh | ||
Omnios: | ||
runs-on: ubuntu-latest | ||
needs: Solaris | ||
env: | ||
TEST_DNS : ${{ secrets.TEST_DNS }} | ||
TestingDomain: ${{ secrets.TestingDomain }} | ||
TEST_DNS_NO_WILDCARD: ${{ secrets.TEST_DNS_NO_WILDCARD }} | ||
TEST_DNS_NO_SUBDOMAIN: ${{ secrets.TEST_DNS_NO_SUBDOMAIN }} | ||
TEST_DNS_SLEEP: ${{ secrets.TEST_DNS_SLEEP }} | ||
CASE: le_test_dnsapi | ||
TEST_LOCAL: 1 | ||
DEBUG: ${{ secrets.DEBUG }} | ||
http_proxy: ${{ secrets.http_proxy }} | ||
https_proxy: ${{ secrets.https_proxy }} | ||
HTTPS_INSECURE: 1 # always set to 1 to ignore https error, since Omnios doesn't accept the expired ISRG X1 root | ||
TokenName1: ${{ secrets.TokenName1}} | ||
TokenName2: ${{ secrets.TokenName2}} | ||
TokenName3: ${{ secrets.TokenName3}} | ||
TokenName4: ${{ secrets.TokenName4}} | ||
TokenName5: ${{ secrets.TokenName5}} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Clone acmetest | ||
run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/ | ||
- uses: vmactions/omnios-vm@v1 | ||
with: | ||
envs: 'TEST_DNS TestingDomain TEST_DNS_NO_WILDCARD TEST_DNS_NO_SUBDOMAIN TEST_DNS_SLEEP CASE TEST_LOCAL DEBUG http_proxy https_proxy HTTPS_INSECURE TokenName1 TokenName2 TokenName3 TokenName4 TokenName5 ${{ secrets.TokenName1}} ${{ secrets.TokenName2}} ${{ secrets.TokenName3}} ${{ secrets.TokenName4}} ${{ secrets.TokenName5}}' | ||
copyback: false | ||
prepare: pkg install socat | ||
run: | | ||
pkg set-mediator -v -I [email protected] openssl | ||
export PATH=/usr/gnu/bin:$PATH | ||
if [ "${{ secrets.TokenName1}}" ] ; then | ||
export ${{ secrets.TokenName1}}="${{ secrets.TokenValue1}}" | ||
fi | ||
if [ "${{ secrets.TokenName2}}" ] ; then | ||
export ${{ secrets.TokenName2}}="${{ secrets.TokenValue2}}" | ||
fi | ||
if [ "${{ secrets.TokenName3}}" ] ; then | ||
export ${{ secrets.TokenName3}}="${{ secrets.TokenValue3}}" | ||
fi | ||
if [ "${{ secrets.TokenName4}}" ] ; then | ||
export ${{ secrets.TokenName4}}="${{ secrets.TokenValue4}}" | ||
fi | ||
if [ "${{ secrets.TokenName5}}" ] ; then | ||
export ${{ secrets.TokenName5}}="${{ secrets.TokenValue5}}" | ||
fi | ||
cd ../acmetest | ||
./letest.sh | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,71 +1,71 @@ | ||
name: DragonFlyBSD | ||
on: | ||
push: | ||
branches: | ||
- '*' | ||
paths: | ||
- '*.sh' | ||
- '.github/workflows/DragonFlyBSD.yml' | ||
|
||
pull_request: | ||
branches: | ||
- dev | ||
paths: | ||
- '*.sh' | ||
- '.github/workflows/DragonFlyBSD.yml' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
|
||
|
||
|
||
jobs: | ||
DragonFlyBSD: | ||
strategy: | ||
matrix: | ||
include: | ||
- TEST_ACME_Server: "LetsEncrypt.org_test" | ||
CA_ECDSA: "" | ||
CA: "" | ||
CA_EMAIL: "" | ||
TEST_PREFERRED_CHAIN: (STAGING) Pretend Pear X1 | ||
#- TEST_ACME_Server: "ZeroSSL.com" | ||
# CA_ECDSA: "ZeroSSL ECC Domain Secure Site CA" | ||
# CA: "ZeroSSL RSA Domain Secure Site CA" | ||
# CA_EMAIL: "[email protected]" | ||
# TEST_PREFERRED_CHAIN: "" | ||
runs-on: macos-12 | ||
env: | ||
TEST_LOCAL: 1 | ||
TEST_ACME_Server: ${{ matrix.TEST_ACME_Server }} | ||
CA_ECDSA: ${{ matrix.CA_ECDSA }} | ||
CA: ${{ matrix.CA }} | ||
CA_EMAIL: ${{ matrix.CA_EMAIL }} | ||
TEST_PREFERRED_CHAIN: ${{ matrix.TEST_PREFERRED_CHAIN }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: vmactions/cf-tunnel@v0 | ||
id: tunnel | ||
with: | ||
protocol: http | ||
port: 8080 | ||
- name: Set envs | ||
run: echo "TestingDomain=${{steps.tunnel.outputs.server}}" >> $GITHUB_ENV | ||
- name: Clone acmetest | ||
run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/ | ||
- uses: vmactions/dragonflybsd-vm@v0 | ||
with: | ||
envs: 'TEST_LOCAL TestingDomain TEST_ACME_Server CA_ECDSA CA CA_EMAIL TEST_PREFERRED_CHAIN' | ||
copyback: "false" | ||
nat: | | ||
"8080": "80" | ||
prepare: | | ||
pkg install -y curl socat libnghttp2 | ||
usesh: true | ||
run: | | ||
cd ../acmetest \ | ||
&& ./letest.sh | ||
name: DragonFlyBSD | ||
on: | ||
push: | ||
branches: | ||
- '*' | ||
paths: | ||
- '*.sh' | ||
- '.github/workflows/DragonFlyBSD.yml' | ||
|
||
pull_request: | ||
branches: | ||
- dev | ||
paths: | ||
- '*.sh' | ||
- '.github/workflows/DragonFlyBSD.yml' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
|
||
|
||
jobs: | ||
DragonFlyBSD: | ||
strategy: | ||
matrix: | ||
include: | ||
- TEST_ACME_Server: "LetsEncrypt.org_test" | ||
CA_ECDSA: "" | ||
CA: "" | ||
CA_EMAIL: "" | ||
TEST_PREFERRED_CHAIN: (STAGING) Pretend Pear X1 | ||
#- TEST_ACME_Server: "ZeroSSL.com" | ||
# CA_ECDSA: "ZeroSSL ECC Domain Secure Site CA" | ||
# CA: "ZeroSSL RSA Domain Secure Site CA" | ||
# CA_EMAIL: "[email protected]" | ||
# TEST_PREFERRED_CHAIN: "" | ||
runs-on: ubuntu-latest | ||
env: | ||
TEST_LOCAL: 1 | ||
TEST_ACME_Server: ${{ matrix.TEST_ACME_Server }} | ||
CA_ECDSA: ${{ matrix.CA_ECDSA }} | ||
CA: ${{ matrix.CA }} | ||
CA_EMAIL: ${{ matrix.CA_EMAIL }} | ||
TEST_PREFERRED_CHAIN: ${{ matrix.TEST_PREFERRED_CHAIN }} | ||
ACME_USE_WGET: ${{ matrix.ACME_USE_WGET }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: vmactions/cf-tunnel@v0 | ||
id: tunnel | ||
with: | ||
protocol: http | ||
port: 8080 | ||
- name: Set envs | ||
run: echo "TestingDomain=${{steps.tunnel.outputs.server}}" >> $GITHUB_ENV | ||
- name: Clone acmetest | ||
run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/ | ||
- uses: vmactions/dragonflybsd-vm@v1 | ||
with: | ||
envs: 'TEST_LOCAL TestingDomain TEST_ACME_Server CA_ECDSA CA CA_EMAIL TEST_PREFERRED_CHAIN ACME_USE_WGET' | ||
nat: | | ||
"8080": "80" | ||
prepare: | | ||
pkg install -y curl socat libnghttp2 | ||
usesh: true | ||
copyback: false | ||
run: | | ||
cd ../acmetest \ | ||
&& ./letest.sh | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ jobs: | |
# CA: "ZeroSSL RSA Domain Secure Site CA" | ||
# CA_EMAIL: "[email protected]" | ||
# TEST_PREFERRED_CHAIN: "" | ||
runs-on: macos-12 | ||
runs-on: ubuntu-latest | ||
env: | ||
TEST_LOCAL: 1 | ||
TEST_ACME_Server: ${{ matrix.TEST_ACME_Server }} | ||
|
@@ -51,7 +51,7 @@ jobs: | |
TEST_PREFERRED_CHAIN: ${{ matrix.TEST_PREFERRED_CHAIN }} | ||
ACME_USE_WGET: ${{ matrix.ACME_USE_WGET }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: vmactions/cf-tunnel@v0 | ||
id: tunnel | ||
with: | ||
|
@@ -61,7 +61,7 @@ jobs: | |
run: echo "TestingDomain=${{steps.tunnel.outputs.server}}" >> $GITHUB_ENV | ||
- name: Clone acmetest | ||
run: cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/ | ||
- uses: vmactions/freebsd-vm@v0 | ||
- uses: vmactions/freebsd-vm@v1 | ||
with: | ||
envs: 'TEST_LOCAL TestingDomain TEST_ACME_Server CA_ECDSA CA CA_EMAIL TEST_PREFERRED_CHAIN ACME_USE_WGET' | ||
nat: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.