WIP: Slashy tester paths #140
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Self-test | |
on: push | |
permissions: | |
contents: read | |
id-token: write | |
jobs: | |
integration: | |
name: Integration test | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- ubuntu-20.04 | |
- ubuntu-22.04 | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Run self | |
id: ssh_cert | |
uses: ./ | |
with: | |
vault_server: https://vault.arrakis.se:8200/ | |
oidc_backend_path: /github-oidc/ | |
oidc_role: cert-action-user | |
ssh_backend_path: /arrakis/ssh2/ | |
ssh_role: cert-action-cert | |
- name: Examine generated certificate | |
run: ssh-keygen -L -f "${{ steps.ssh_cert.outputs.cert_path }}" | |
- name: Run self, with audience conf | |
id: ssh_cert_aud | |
uses: ./ | |
with: | |
vault_server: https://vault.arrakis.se:8200 | |
jwt_audience: a-test-audience | |
oidc_backend_path: github-oidc | |
oidc_role: cert-action-at-user | |
ssh_backend_path: arrakis/ssh2 | |
ssh_role: cert-action-at-cert | |
- name: Examine second generated certificate | |
run: ssh-keygen -L -f "${{ steps.ssh_cert_aud.outputs.cert_path }}" |