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
f899d0d8
Commit
f899d0d8
authored
Nov 20, 2023
by
neil
Browse files
update
parent
1cc3a13c
Changes
10
Show whitespace changes
Inline
Side-by-side
.github/workflows/FreeBSD.yml
View file @
f899d0d8
...
@@ -41,7 +41,7 @@ jobs:
...
@@ -41,7 +41,7 @@ jobs:
# CA: "ZeroSSL RSA Domain Secure Site CA"
# CA: "ZeroSSL RSA Domain Secure Site CA"
# CA_EMAIL: "githubtest@acme.sh"
# CA_EMAIL: "githubtest@acme.sh"
# TEST_PREFERRED_CHAIN: ""
# TEST_PREFERRED_CHAIN: ""
runs-on
:
macos-12
runs-on
:
ubuntu-latest
env
:
env
:
TEST_LOCAL
:
1
TEST_LOCAL
:
1
TEST_ACME_Server
:
${{ matrix.TEST_ACME_Server }}
TEST_ACME_Server
:
${{ matrix.TEST_ACME_Server }}
...
@@ -51,7 +51,7 @@ jobs:
...
@@ -51,7 +51,7 @@ jobs:
TEST_PREFERRED_CHAIN
:
${{ matrix.TEST_PREFERRED_CHAIN }}
TEST_PREFERRED_CHAIN
:
${{ matrix.TEST_PREFERRED_CHAIN }}
ACME_USE_WGET
:
${{ matrix.ACME_USE_WGET }}
ACME_USE_WGET
:
${{ matrix.ACME_USE_WGET }}
steps
:
steps
:
-
uses
:
actions/checkout@v
3
-
uses
:
actions/checkout@v
4
-
uses
:
vmactions/cf-tunnel@v0
-
uses
:
vmactions/cf-tunnel@v0
id
:
tunnel
id
:
tunnel
with
:
with
:
...
@@ -61,7 +61,7 @@ jobs:
...
@@ -61,7 +61,7 @@ jobs:
run
:
echo "TestingDomain=${{steps.tunnel.outputs.server}}" >> $GITHUB_ENV
run
:
echo "TestingDomain=${{steps.tunnel.outputs.server}}" >> $GITHUB_ENV
-
name
:
Clone acmetest
-
name
:
Clone acmetest
run
:
cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
run
:
cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
-
uses
:
vmactions/freebsd-vm@v
0
-
uses
:
vmactions/freebsd-vm@v
1
with
:
with
:
envs
:
'
TEST_LOCAL
TestingDomain
TEST_ACME_Server
CA_ECDSA
CA
CA_EMAIL
TEST_PREFERRED_CHAIN
ACME_USE_WGET'
envs
:
'
TEST_LOCAL
TestingDomain
TEST_ACME_Server
CA_ECDSA
CA
CA_EMAIL
TEST_PREFERRED_CHAIN
ACME_USE_WGET'
nat
:
|
nat
:
|
...
...
.github/workflows/Linux.yml
View file @
f899d0d8
...
@@ -33,7 +33,7 @@ jobs:
...
@@ -33,7 +33,7 @@ jobs:
TEST_PREFERRED_CHAIN
:
(STAGING) Pretend Pear X1
TEST_PREFERRED_CHAIN
:
(STAGING) Pretend Pear X1
TEST_ACME_Server
:
"
LetsEncrypt.org_test"
TEST_ACME_Server
:
"
LetsEncrypt.org_test"
steps
:
steps
:
-
uses
:
actions/checkout@v
3
-
uses
:
actions/checkout@v
4
-
name
:
Clone acmetest
-
name
:
Clone acmetest
run
:
|
run
:
|
cd .. \
cd .. \
...
...
.github/workflows/MacOS.yml
View file @
f899d0d8
...
@@ -44,7 +44,7 @@ jobs:
...
@@ -44,7 +44,7 @@ jobs:
CA_EMAIL
:
${{ matrix.CA_EMAIL }}
CA_EMAIL
:
${{ matrix.CA_EMAIL }}
TEST_PREFERRED_CHAIN
:
${{ matrix.TEST_PREFERRED_CHAIN }}
TEST_PREFERRED_CHAIN
:
${{ matrix.TEST_PREFERRED_CHAIN }}
steps
:
steps
:
-
uses
:
actions/checkout@v
3
-
uses
:
actions/checkout@v
4
-
name
:
Install tools
-
name
:
Install tools
run
:
brew install socat
run
:
brew install socat
-
name
:
Clone acmetest
-
name
:
Clone acmetest
...
...
.github/workflows/NetBSD.yml
View file @
f899d0d8
...
@@ -36,7 +36,7 @@ jobs:
...
@@ -36,7 +36,7 @@ jobs:
# CA: "ZeroSSL RSA Domain Secure Site CA"
# CA: "ZeroSSL RSA Domain Secure Site CA"
# CA_EMAIL: "githubtest@acme.sh"
# CA_EMAIL: "githubtest@acme.sh"
# TEST_PREFERRED_CHAIN: ""
# TEST_PREFERRED_CHAIN: ""
runs-on
:
macos-12
runs-on
:
ubuntu-latest
env
:
env
:
TEST_LOCAL
:
1
TEST_LOCAL
:
1
TEST_ACME_Server
:
${{ matrix.TEST_ACME_Server }}
TEST_ACME_Server
:
${{ matrix.TEST_ACME_Server }}
...
@@ -45,7 +45,7 @@ jobs:
...
@@ -45,7 +45,7 @@ jobs:
CA_EMAIL
:
${{ matrix.CA_EMAIL }}
CA_EMAIL
:
${{ matrix.CA_EMAIL }}
TEST_PREFERRED_CHAIN
:
${{ matrix.TEST_PREFERRED_CHAIN }}
TEST_PREFERRED_CHAIN
:
${{ matrix.TEST_PREFERRED_CHAIN }}
steps
:
steps
:
-
uses
:
actions/checkout@v
3
-
uses
:
actions/checkout@v
4
-
uses
:
vmactions/cf-tunnel@v0
-
uses
:
vmactions/cf-tunnel@v0
id
:
tunnel
id
:
tunnel
with
:
with
:
...
@@ -55,7 +55,7 @@ jobs:
...
@@ -55,7 +55,7 @@ jobs:
run
:
echo "TestingDomain=${{steps.tunnel.outputs.server}}" >> $GITHUB_ENV
run
:
echo "TestingDomain=${{steps.tunnel.outputs.server}}" >> $GITHUB_ENV
-
name
:
Clone acmetest
-
name
:
Clone acmetest
run
:
cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
run
:
cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
-
uses
:
vmactions/netbsd-vm@v
0
-
uses
:
vmactions/netbsd-vm@v
1
with
:
with
:
envs
:
'
TEST_LOCAL
TestingDomain
TEST_ACME_Server
CA_ECDSA
CA
CA_EMAIL
TEST_PREFERRED_CHAIN'
envs
:
'
TEST_LOCAL
TestingDomain
TEST_ACME_Server
CA_ECDSA
CA
CA_EMAIL
TEST_PREFERRED_CHAIN'
nat
:
|
nat
:
|
...
...
.github/workflows/OpenBSD.yml
View file @
f899d0d8
...
@@ -41,7 +41,7 @@ jobs:
...
@@ -41,7 +41,7 @@ jobs:
# CA: "ZeroSSL RSA Domain Secure Site CA"
# CA: "ZeroSSL RSA Domain Secure Site CA"
# CA_EMAIL: "githubtest@acme.sh"
# CA_EMAIL: "githubtest@acme.sh"
# TEST_PREFERRED_CHAIN: ""
# TEST_PREFERRED_CHAIN: ""
runs-on
:
macos-12
runs-on
:
ubuntu-latest
env
:
env
:
TEST_LOCAL
:
1
TEST_LOCAL
:
1
TEST_ACME_Server
:
${{ matrix.TEST_ACME_Server }}
TEST_ACME_Server
:
${{ matrix.TEST_ACME_Server }}
...
@@ -51,7 +51,7 @@ jobs:
...
@@ -51,7 +51,7 @@ jobs:
TEST_PREFERRED_CHAIN
:
${{ matrix.TEST_PREFERRED_CHAIN }}
TEST_PREFERRED_CHAIN
:
${{ matrix.TEST_PREFERRED_CHAIN }}
ACME_USE_WGET
:
${{ matrix.ACME_USE_WGET }}
ACME_USE_WGET
:
${{ matrix.ACME_USE_WGET }}
steps
:
steps
:
-
uses
:
actions/checkout@v
3
-
uses
:
actions/checkout@v
4
-
uses
:
vmactions/cf-tunnel@v0
-
uses
:
vmactions/cf-tunnel@v0
id
:
tunnel
id
:
tunnel
with
:
with
:
...
@@ -61,7 +61,7 @@ jobs:
...
@@ -61,7 +61,7 @@ jobs:
run
:
echo "TestingDomain=${{steps.tunnel.outputs.server}}" >> $GITHUB_ENV
run
:
echo "TestingDomain=${{steps.tunnel.outputs.server}}" >> $GITHUB_ENV
-
name
:
Clone acmetest
-
name
:
Clone acmetest
run
:
cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
run
:
cd .. && git clone --depth=1 https://github.com/acmesh-official/acmetest.git && cp -r acme.sh acmetest/
-
uses
:
vmactions/openbsd-vm@v
0
-
uses
:
vmactions/openbsd-vm@v
1
with
:
with
:
envs
:
'
TEST_LOCAL
TestingDomain
TEST_ACME_Server
CA_ECDSA
CA
CA_EMAIL
TEST_PREFERRED_CHAIN
ACME_USE_WGET'
envs
:
'
TEST_LOCAL
TestingDomain
TEST_ACME_Server
CA_ECDSA
CA
CA_EMAIL
TEST_PREFERRED_CHAIN
ACME_USE_WGET'
nat
:
|
nat
:
|
...
...
.github/workflows/PebbleStrict.yml
View file @
f899d0d8
...
@@ -33,7 +33,7 @@ jobs:
...
@@ -33,7 +33,7 @@ jobs:
TEST_CA
:
"
Pebble
Intermediate
CA"
TEST_CA
:
"
Pebble
Intermediate
CA"
steps
:
steps
:
-
uses
:
actions/checkout@v
3
-
uses
:
actions/checkout@v
4
-
name
:
Install tools
-
name
:
Install tools
run
:
sudo apt-get install -y socat
run
:
sudo apt-get install -y socat
-
name
:
Run Pebble
-
name
:
Run Pebble
...
@@ -58,7 +58,7 @@ jobs:
...
@@ -58,7 +58,7 @@ jobs:
TEST_IPCERT
:
1
TEST_IPCERT
:
1
steps
:
steps
:
-
uses
:
actions/checkout@v
3
-
uses
:
actions/checkout@v
4
-
name
:
Install tools
-
name
:
Install tools
run
:
sudo apt-get install -y socat
run
:
sudo apt-get install -y socat
-
name
:
Run Pebble
-
name
:
Run Pebble
...
...
.github/workflows/Ubuntu.yml
View file @
f899d0d8
...
@@ -70,7 +70,7 @@ jobs:
...
@@ -70,7 +70,7 @@ jobs:
TestingDomain
:
${{ matrix.TestingDomain }}
TestingDomain
:
${{ matrix.TestingDomain }}
ACME_USE_WGET
:
${{ matrix.ACME_USE_WGET }}
ACME_USE_WGET
:
${{ matrix.ACME_USE_WGET }}
steps
:
steps
:
-
uses
:
actions/checkout@v
3
-
uses
:
actions/checkout@v
4
-
name
:
Install tools
-
name
:
Install tools
run
:
sudo apt-get install -y socat wget
run
:
sudo apt-get install -y socat wget
-
name
:
Start StepCA
-
name
:
Start StepCA
...
...
.github/workflows/Windows.yml
View file @
f899d0d8
...
@@ -49,7 +49,7 @@ jobs:
...
@@ -49,7 +49,7 @@ jobs:
-
name
:
Set git to use LF
-
name
:
Set git to use LF
run
:
|
run
:
|
git config --global core.autocrlf false
git config --global core.autocrlf false
-
uses
:
actions/checkout@v
3
-
uses
:
actions/checkout@v
4
-
name
:
Install cygwin base packages with chocolatey
-
name
:
Install cygwin base packages with chocolatey
run
:
|
run
:
|
choco config get cacheLocation
choco config get cacheLocation
...
...
.github/workflows/dockerhub.yml
View file @
f899d0d8
...
@@ -41,7 +41,7 @@ jobs:
...
@@ -41,7 +41,7 @@ jobs:
if
:
"
contains(needs.CheckToken.outputs.hasToken,
'true')"
if
:
"
contains(needs.CheckToken.outputs.hasToken,
'true')"
steps
:
steps
:
-
name
:
checkout code
-
name
:
checkout code
uses
:
actions/checkout@v
3
uses
:
actions/checkout@v
4
-
name
:
Set up QEMU
-
name
:
Set up QEMU
uses
:
docker/setup-qemu-action@v2
uses
:
docker/setup-qemu-action@v2
-
name
:
Set up Docker Buildx
-
name
:
Set up Docker Buildx
...
...
.github/workflows/shellcheck.yml
View file @
f899d0d8
...
@@ -22,7 +22,7 @@ jobs:
...
@@ -22,7 +22,7 @@ jobs:
ShellCheck
:
ShellCheck
:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
-
uses
:
actions/checkout@v
3
-
uses
:
actions/checkout@v
4
-
name
:
Install Shellcheck
-
name
:
Install Shellcheck
run
:
sudo apt-get install -y shellcheck
run
:
sudo apt-get install -y shellcheck
-
name
:
DoShellcheck
-
name
:
DoShellcheck
...
@@ -31,7 +31,7 @@ jobs:
...
@@ -31,7 +31,7 @@ jobs:
shfmt
:
shfmt
:
runs-on
:
ubuntu-latest
runs-on
:
ubuntu-latest
steps
:
steps
:
-
uses
:
actions/checkout@v
3
-
uses
:
actions/checkout@v
4
-
name
:
Install shfmt
-
name
:
Install shfmt
run
:
curl -sSL https://github.com/mvdan/sh/releases/download/v3.1.2/shfmt_v3.1.2_linux_amd64 -o ~/shfmt && chmod +x ~/shfmt
run
:
curl -sSL https://github.com/mvdan/sh/releases/download/v3.1.2/shfmt_v3.1.2_linux_amd64 -o ~/shfmt && chmod +x ~/shfmt
-
name
:
shfmt
-
name
:
shfmt
...
...
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