Skip to content

Commit

Permalink
[fix] nclm cahandller workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
grindsa committed Nov 23, 2024
1 parent 27f34dc commit 3a91584
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/ca_handler_tests_nclm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
uses: ./.github/actions/acme_clients
with:
HOSTNAME_SUFFIX: -${{ env.UUID }}
VERIFY_CERT: false

- name: "Generate UUID"
run: |
Expand Down Expand Up @@ -91,10 +92,10 @@ jobs:
mkdir -p ${{ github.workspace }}/artifact/upload
mkdir -p ${{ github.workspace }}/artifact/clients
sudo cp -rp examples/Docker/data/ ${{ github.workspace }}/artifact/data/
sudo cp *.pem ${{ github.workspace }}/artifact/data/
# sudo cp *.pem ${{ github.workspace }}/artifact/data/
sudo cp -rp acme-sh/ ${{ github.workspace }}/artifact/clients/acme-sh/
sudo cp -rp acme-sh/ ${{ github.workspace }}/artifact/clients/certbot/
sudo cp -rp acme-sh/ ${{ github.workspace }}/artifact/clients/lego/
sudo cp -rp certbot/ ${{ github.workspace }}/artifact/clients/certbot/
sudo cp -rp lego/ ${{ github.workspace }}/artifact/clients/lego/
cd examples/Docker
docker-compose logs > ${{ github.workspace }}/artifact/docker-compose.log
sudo tar -C ${{ github.workspace }}/artifact/ -cvzf ${{ github.workspace }}/artifact/upload/artifact.tar.gz docker-compose.log data clients
Expand Down Expand Up @@ -193,6 +194,7 @@ jobs:
uses: ./.github/actions/acme_clients
with:
HOSTNAME_SUFFIX: -${{ env.UUID }}
VERIFY_CERT: false

- name: "Generate UUID"
run: |
Expand Down Expand Up @@ -239,10 +241,10 @@ jobs:
mkdir -p ${{ github.workspace }}/artifact/clients
docker exec acme-srv tar cvfz /tmp/acme2certifier/a2c.tgz /opt/acme2certifier
sudo cp -rp data/ ${{ github.workspace }}/artifact/data/
sudo cp *.pem ${{ github.workspace }}/artifact/data/
# sudo cp *.pem ${{ github.workspace }}/artifact/data/
sudo cp -rp acme-sh/ ${{ github.workspace }}/artifact/clients/acme-sh/
sudo cp -rp acme-sh/ ${{ github.workspace }}/artifact/clients/certbot/
sudo cp -rp acme-sh/ ${{ github.workspace }}/artifact/clients/lego/
sudo cp -rp certbot/ ${{ github.workspace }}/artifact/clients/certbot/
sudo cp -rp lego/ ${{ github.workspace }}/artifact/clients/lego/
sudo rm ${{ github.workspace }}/artifact/data/*.rpm
docker exec acme-srv cat /etc/nginx/nginx.conf.orig > ${{ github.workspace }}/artifact/data/nginx.conf.orig
docker exec acme-srv cat /etc/nginx/nginx.conf > ${{ github.workspace }}/artifact/data/nginx.conf
Expand Down

0 comments on commit 3a91584

Please sign in to comment.