Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
f71d8d73
Commit
f71d8d73
authored
Dec 03, 2023
by
neil
Browse files
minor
parent
a12a3640
Changes
1
Hide whitespace changes
Inline
Side-by-side
.github/workflows/Solaris.yml
View file @
f71d8d73
name
:
Solaris
name
:
Solaris
on
:
on
:
push
:
push
:
branches
:
branches
:
-
'
*'
-
'
*'
paths
:
paths
:
-
'
*.sh'
-
'
*.sh'
-
'
.github/workflows/Solaris.yml'
-
'
.github/workflows/Solaris.yml'
pull_request
:
pull_request
:
branches
:
branches
:
-
dev
-
dev
paths
:
paths
:
-
'
*.sh'
-
'
*.sh'
-
'
.github/workflows/Solaris.yml'
-
'
.github/workflows/Solaris.yml'
concurrency
:
concurrency
:
group
:
${{ github.workflow }}-${{ github.ref }}
group
:
${{ github.workflow }}-${{ github.ref }}
cancel-in-progress
:
true
cancel-in-progress
:
true
jobs
:
jobs
:
Solaris
:
Solaris
:
strategy
:
strategy
:
matrix
:
matrix
:
include
:
include
:
-
TEST_ACME_Server
:
"
LetsEncrypt.org_test"
-
TEST_ACME_Server
:
"
LetsEncrypt.org_test"
CA_ECDSA
:
"
"
CA_ECDSA
:
"
"
CA
:
"
"
CA
:
"
"
CA_EMAIL
:
"
"
CA_EMAIL
:
"
"
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"
CA_ECDSA
:
"
"
CA_ECDSA
:
"
"
CA
:
"
"
CA
:
"
"
CA_EMAIL
:
"
"
CA_EMAIL
:
"
"
TEST_PREFERRED_CHAIN
:
(STAGING) Pretend Pear X1
TEST_PREFERRED_CHAIN
:
(STAGING) Pretend Pear X1
ACME_USE_WGET
:
1
ACME_USE_WGET
:
1
#- TEST_ACME_Server: "ZeroSSL.com"
#- TEST_ACME_Server: "ZeroSSL.com"
# CA_ECDSA: "ZeroSSL ECC Domain Secure Site CA"
# CA_ECDSA: "ZeroSSL ECC Domain Secure Site CA"
# 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
:
macos-12
env
:
env
:
TEST_LOCAL
:
1
TEST_LOCAL
:
1
TEST_ACME_Server
:
${{ matrix.TEST_ACME_Server }}
TEST_ACME_Server
:
${{ matrix.TEST_ACME_Server }}
CA_ECDSA
:
${{ matrix.CA_ECDSA }}
CA_ECDSA
:
${{ matrix.CA_ECDSA }}
CA
:
${{ matrix.CA }}
CA
:
${{ matrix.CA }}
CA_EMAIL
:
${{ matrix.CA_EMAIL }}
CA_EMAIL
:
${{ matrix.CA_EMAIL }}
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
:
protocol
:
http
protocol
:
http
port
:
8080
port
:
8080
-
name
:
Set envs
-
name
:
Set envs
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/solaris-vm@v0
-
uses
:
vmactions/solaris-vm@v0
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'
copyback
:
"
false"
copyback
:
"
false"
nat
:
|
nat
:
|
"8080": "80"
"8080": "80"
prepare
:
pkgutil -y -i socat curl wget
prepare
:
pkgutil -y -i socat curl wget
run
:
|
run
:
|
cd ../acmetest \
cd ../acmetest \
&& ./letest.sh
&& ./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