chore(main): release 0.6.0 #55
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: Tests | |
on: pull_request | |
jobs: | |
test: | |
name: Run Tests | |
runs-on: [self-hosted,linux] | |
permissions: | |
id-token: write | |
contents: write | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Call baseproject GHA | |
id: baseproject | |
uses: ./ | |
with: | |
project_name: github-actions-baseproject-tests | |
gke_auth: true | |
vault_export_token: true | |
gcr_auth: true | |
gar_docker_auth: true | |
- name: '[TEST] List GKE Clusters in Google Cloud' | |
run: gcloud container clusters list | |
- name: '[TEST] Create a Kubernetes ConfigMap' | |
run: kubectl create configmap test-runner-${{ github.run_id }}-${{ github.run_attempt }} --from-literal=foo=bar | |
- name: '[TEST] Read example value from Vault' | |
uses: hashicorp/vault-action@v2 | |
with: | |
url: ${{ steps.baseproject.outputs.vault_addr }} | |
token: ${{ steps.baseproject.outputs.vault_token }} | |
role: ${{ steps.baseproject.outputs.gha_vault_role }} | |
secrets: | | |
zon/v1/github-actions-baseproject-tests/example foo | EXAMPLE_VAULT_VALUE ; |