mirror of
https://github.com/bartvdbraak/keyweave.git
synced 2025-04-27 23:01:20 +00:00
fix: remove what-if and correct path, displaynames
This commit is contained in:
parent
dd3b46951c
commit
84832c5ead
1 changed files with 6 additions and 14 deletions
20
.github/workflows/e2e.yml
vendored
20
.github/workflows/e2e.yml
vendored
|
@ -27,27 +27,16 @@ jobs:
|
|||
client-id: ${{ secrets.AZURE_CLIENT_ID }}
|
||||
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
|
||||
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
|
||||
|
||||
- name: Validate Bicep template
|
||||
uses: azure/arm-deploy@v1
|
||||
with:
|
||||
scope: subscription
|
||||
region: ${{ env.LOCATION }}
|
||||
template: infra/bicep/main.bicep
|
||||
parameters: infra/bicep/main.params.json
|
||||
deploymentName: ${{ env.DEPLOYMENT_NAME }}
|
||||
additionalArguments: "--what-if"
|
||||
|
||||
- name: Deploy Bicep template
|
||||
if: github.ref == 'refs/heads/main'
|
||||
uses: azure/arm-deploy@v1
|
||||
with:
|
||||
scope: subscription
|
||||
region: ${{ env.LOCATION }}
|
||||
template: infra/bicep/main.bicep
|
||||
parameters: infra/bicep/main.params.json
|
||||
template: bicep/main.bicep
|
||||
parameters: bicep/main.params.json
|
||||
deploymentName: ${{ env.DEPLOYMENT_NAME }}
|
||||
none-test:
|
||||
name: Tests without access
|
||||
needs: bicep
|
||||
runs-on: ubuntu-latest
|
||||
environment: 1-none
|
||||
|
@ -63,6 +52,7 @@ jobs:
|
|||
- name: Use Keyweave with No Access Policies
|
||||
run: cargo run -- --vault-name bvdbkeyweavetweukvt1
|
||||
get-test:
|
||||
name: Tests with Get access
|
||||
needs: bicep
|
||||
runs-on: ubuntu-latest
|
||||
environment: 2-get
|
||||
|
@ -78,6 +68,7 @@ jobs:
|
|||
- name: Use Keyweave with Only Get Access Policy
|
||||
run: cargo run -- --vault-name bvdbkeyweavetweukvt1
|
||||
list-test:
|
||||
name: Tests with List access
|
||||
needs: bicep
|
||||
runs-on: ubuntu-latest
|
||||
environment: 3-list
|
||||
|
@ -93,6 +84,7 @@ jobs:
|
|||
- name: Use Keyweave with Only List Access Policy
|
||||
run: cargo run -- --vault-name bvdbkeyweavetweukvt1
|
||||
get-list-test:
|
||||
name: Tests with Get and List access
|
||||
needs: bicep
|
||||
runs-on: ubuntu-latest
|
||||
environment: 4-get-list
|
||||
|
|
Loading…
Reference in a new issue