mirror of
https://github.com/bartvdbraak/keyweave.git
synced 2025-04-29 07:41:21 +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 }}
|
client-id: ${{ secrets.AZURE_CLIENT_ID }}
|
||||||
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
|
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
|
||||||
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_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
|
- name: Deploy Bicep template
|
||||||
if: github.ref == 'refs/heads/main'
|
|
||||||
uses: azure/arm-deploy@v1
|
uses: azure/arm-deploy@v1
|
||||||
with:
|
with:
|
||||||
scope: subscription
|
scope: subscription
|
||||||
region: ${{ env.LOCATION }}
|
region: ${{ env.LOCATION }}
|
||||||
template: infra/bicep/main.bicep
|
template: bicep/main.bicep
|
||||||
parameters: infra/bicep/main.params.json
|
parameters: bicep/main.params.json
|
||||||
deploymentName: ${{ env.DEPLOYMENT_NAME }}
|
deploymentName: ${{ env.DEPLOYMENT_NAME }}
|
||||||
none-test:
|
none-test:
|
||||||
|
name: Tests without access
|
||||||
needs: bicep
|
needs: bicep
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: 1-none
|
environment: 1-none
|
||||||
|
@ -63,6 +52,7 @@ jobs:
|
||||||
- name: Use Keyweave with No Access Policies
|
- name: Use Keyweave with No Access Policies
|
||||||
run: cargo run -- --vault-name bvdbkeyweavetweukvt1
|
run: cargo run -- --vault-name bvdbkeyweavetweukvt1
|
||||||
get-test:
|
get-test:
|
||||||
|
name: Tests with Get access
|
||||||
needs: bicep
|
needs: bicep
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: 2-get
|
environment: 2-get
|
||||||
|
@ -78,6 +68,7 @@ jobs:
|
||||||
- name: Use Keyweave with Only Get Access Policy
|
- name: Use Keyweave with Only Get Access Policy
|
||||||
run: cargo run -- --vault-name bvdbkeyweavetweukvt1
|
run: cargo run -- --vault-name bvdbkeyweavetweukvt1
|
||||||
list-test:
|
list-test:
|
||||||
|
name: Tests with List access
|
||||||
needs: bicep
|
needs: bicep
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: 3-list
|
environment: 3-list
|
||||||
|
@ -93,6 +84,7 @@ jobs:
|
||||||
- name: Use Keyweave with Only List Access Policy
|
- name: Use Keyweave with Only List Access Policy
|
||||||
run: cargo run -- --vault-name bvdbkeyweavetweukvt1
|
run: cargo run -- --vault-name bvdbkeyweavetweukvt1
|
||||||
get-list-test:
|
get-list-test:
|
||||||
|
name: Tests with Get and List access
|
||||||
needs: bicep
|
needs: bicep
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: 4-get-list
|
environment: 4-get-list
|
||||||
|
|
Loading…
Reference in a new issue