Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
67c42c59
Commit
67c42c59
authored
Jun 13, 2021
by
neilpang
Browse files
add zerossl
parent
d0b51489
Changes
1
Hide whitespace changes
Inline
Side-by-side
.github/workflows/LetsEncrypt.yml
View file @
67c42c59
...
@@ -16,6 +16,9 @@ on:
...
@@ -16,6 +16,9 @@ on:
jobs
:
jobs
:
Ubuntu
:
Ubuntu
:
strategy
:
matrix
:
TEST_ACME_Server
:
[
"
"
,
"
https://acme.zerossl.com/v2/DV90"
]
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
env
:
env
:
TEST_LOCAL
:
1
TEST_LOCAL
:
1
...
@@ -24,11 +27,20 @@ jobs:
...
@@ -24,11 +27,20 @@ jobs:
-
name
:
Install tools
-
name
:
Install tools
run
:
sudo apt-get install -y socat
run
:
sudo apt-get install -y socat
-
name
:
Clone acmetest
-
name
:
Clone acmetest
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
run
:
cd ../acmetest && sudo --preserve-env ./letest.sh
run
:
|
cd ../acmetest \
&& export ACME_DIRECTORY=${{ matrix.TEST_ACME_Server }} \
&& sudo --preserve-env ./letest.sh
MacOS
:
MacOS
:
strategy
:
matrix
:
TEST_ACME_Server
:
[
"
"
,
"
https://acme.zerossl.com/v2/DV90"
]
runs-on
:
macos-latest
runs-on
:
macos-latest
env
:
env
:
TEST_LOCAL
:
1
TEST_LOCAL
:
1
...
@@ -37,11 +49,20 @@ jobs:
...
@@ -37,11 +49,20 @@ jobs:
-
name
:
Install tools
-
name
:
Install tools
run
:
brew install socat
run
:
brew install socat
-
name
:
Clone acmetest
-
name
:
Clone acmetest
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
run
:
cd ../acmetest && sudo --preserve-env ./letest.sh
run
:
|
cd ../acmetest \
&& export ACME_DIRECTORY=${{ matrix.TEST_ACME_Server }} \
&& sudo --preserve-env ./letest.sh
Windows
:
Windows
:
strategy
:
matrix
:
TEST_ACME_Server
:
[
"
"
,
"
https://acme.zerossl.com/v2/DV90"
]
runs-on
:
windows-latest
runs-on
:
windows-latest
env
:
env
:
TEST_LOCAL
:
1
TEST_LOCAL
:
1
...
@@ -74,9 +95,15 @@ jobs:
...
@@ -74,9 +95,15 @@ 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 && bash.exe -c ./letest.sh
run
:
|
cd ../acmetest \
set ACME_DIRECTORY=${{ matrix.TEST_ACME_Server }} \
&& bash.exe -c ./letest.sh
FreeBSD
:
FreeBSD
:
strategy
:
matrix
:
TEST_ACME_Server
:
[
"
"
,
"
https://acme.zerossl.com/v2/DV90"
]
runs-on
:
macos-latest
runs-on
:
macos-latest
env
:
env
:
TEST_LOCAL
:
1
TEST_LOCAL
:
1
...
@@ -99,9 +126,14 @@ jobs:
...
@@ -99,9 +126,14 @@ jobs:
prepare
:
pkg install -y socat curl
prepare
:
pkg install -y socat curl
usesh
:
true
usesh
:
true
run
:
|
run
:
|
cd ../acmetest && ./letest.sh
cd ../acmetest \
&& export ACME_DIRECTORY=${{ matrix.TEST_ACME_Server }} \
&& ./letest.sh
Solaris
:
Solaris
:
strategy
:
matrix
:
TEST_ACME_Server
:
[
"
"
,
"
https://acme.zerossl.com/v2/DV90"
]
runs-on
:
macos-latest
runs-on
:
macos-latest
env
:
env
:
TEST_LOCAL
:
1
TEST_LOCAL
:
1
...
@@ -123,5 +155,7 @@ jobs:
...
@@ -123,5 +155,7 @@ jobs:
"8080": "80"
"8080": "80"
prepare
:
pkgutil -y -i socat curl
prepare
:
pkgutil -y -i socat curl
run
:
|
run
:
|
cd ../acmetest && ./letest.sh
cd ../acmetest \
&& export ACME_DIRECTORY=${{ matrix.TEST_ACME_Server }} \
&& ./letest.sh
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment