parent
884a8995b4
commit
3b7bc5a56a
@ -1,71 +1,71 @@
|
|||||||
name: DragonFlyBSD
|
name: DragonFlyBSD
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- '*'
|
- '*'
|
||||||
paths:
|
paths:
|
||||||
- '*.sh'
|
- '*.sh'
|
||||||
- '.github/workflows/DragonFlyBSD.yml'
|
- '.github/workflows/DragonFlyBSD.yml'
|
||||||
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- dev
|
- dev
|
||||||
paths:
|
paths:
|
||||||
- '*.sh'
|
- '*.sh'
|
||||||
- '.github/workflows/DragonFlyBSD.yml'
|
- '.github/workflows/DragonFlyBSD.yml'
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
jobs:
|
||||||
jobs:
|
DragonFlyBSD:
|
||||||
DragonFlyBSD:
|
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: "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: ubuntu-latest
|
||||||
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 }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- 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/dragonflybsd-vm@v0
|
- uses: vmactions/dragonflybsd-vm@v1
|
||||||
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'
|
||||||
copyback: "false"
|
copyback: "false"
|
||||||
nat: |
|
nat: |
|
||||||
"8080": "80"
|
"8080": "80"
|
||||||
prepare: |
|
prepare: |
|
||||||
pkg install -y curl socat libnghttp2
|
pkg install -y curl socat libnghttp2
|
||||||
usesh: true
|
usesh: true
|
||||||
run: |
|
run: |
|
||||||
cd ../acmetest \
|
cd ../acmetest \
|
||||||
&& ./letest.sh
|
&& ./letest.sh
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in new issue