Update vault-testcase.yaml #33
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: Vault Testcase | |
on: | |
push: | |
branches: | |
- "**" | |
jobs: | |
action-test: | |
permissions: | |
contents: read | |
id-token: write # this is important, it's how we authenticate with Vault | |
runs-on: ubuntu-22.04 | |
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" | |
runner-test: | |
permissions: | |
contents: read | |
id-token: write # this is important, it's how we authenticate with Vault | |
runs-on: [repo--rancher-eio--test--amd64-containers] | |
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" |