diff --git a/.github/actions/test-server/action.yaml b/.github/actions/test-server/action.yaml index a1d2133f1..2d2933b36 100644 --- a/.github/actions/test-server/action.yaml +++ b/.github/actions/test-server/action.yaml @@ -16,7 +16,7 @@ inputs: The PAT token can be left empty when building the development version of JIMM. required: true -output: +outputs: url: description: 'URL where JIMM can be reached.' value: "https://jimm.localhost" @@ -26,6 +26,9 @@ output: client-secret: description: 'Test client Secret to login to JIMM with a service account.' value: "2M2blFbO4GX4zfggQpivQSxwWX1XGgNf" + ca-cert: + description: 'The CA certificate used to genereate the JIMM server cert.' + value: ${{ steps.fetch-cert.outputs.jimm-ca }} runs: using: "composite" @@ -50,6 +53,14 @@ runs: run: make dev-env shell: bash + - name: Retrieve server CA cert. + id: fetch-cert + run: | + echo 'jimm-ca<> $GITHUB_OUTPUT + cat ./local/traefik/certs/ca.crt >> $GITHUB_OUTPUT + echo 'EOF' >> $GITHUB_OUTPUT + shell: bash + - name: Initialise LXD run: | sudo lxd waitready && \