Commit 4ca4f9c
committed
ci: add Azure workflow scoping OIDC tests via azureoidc build tag
Addresses review feedback on PR #1794:
#1794 (comment)
Replaces the brittle enumerated `-run '^(TestA|TestB)$'` regex with a
new `azureoidc` build tag. Tests opt in by adding the tag, so adding
or removing OIDC-compatible tests no longer requires editing the
workflow.
- TerraformAzureContainerAppExample and TerraformAzureKeyVaultExample
carry `azure || azureoidc`, so they remain part of the default
`azure` build while also being selectable via the narrower OIDC tag.
- Workflow runs `go test -tags azureoidc ./test/azure/...`.1 parent c048882 commit 4ca4f9c
3 files changed
Lines changed: 11 additions & 10 deletions
File tree
- .github/workflows
- test/azure
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
78 | 80 | | |
79 | 81 | | |
80 | 82 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments