Skip to content

Commit

Permalink
Update vault-testcase.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
colstrom authored Jun 19, 2024
1 parent c7f0d64 commit 971ceb6
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/vault-testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
self-hosted-containers:
needs: changes
if: ${{ needs.changes.outputs.vault == 'true' }}
container: ubuntu:22.04
permissions:
contents: read
id-token: write
Expand All @@ -36,16 +35,9 @@ jobs:
- repo-${{ github.repository_id }}
runtime:
- k8s
runs-on: "${{ matrix.scope }}-${{ matrix.architecture }}-${{ matrix.runtime }}"
steps:
- name: "Read some Secrets"
uses: rancher-eio/read-vault-secrets@main
with:
secrets: |
secret/data/github-actions/test status | PROOF_OF_CONCEPT
- name: "Use those Secrets"
run: |
test "${{ env.PROOF_OF_CONCEPT }}" = "success"
uses: ./.github/workflows/vault.yaml
with:
runs-on: "${{ matrix.scope }}-${{ matrix.architecture }}-${{ matrix.runtime }}"

self-hosted-org-vm:
needs: changes
Expand Down

0 comments on commit 971ceb6

Please sign in to comment.