added permissions
This commit is contained in:
Родитель
749d1c8626
Коммит
f99885e9a6
|
@ -19,12 +19,9 @@ parameters:
|
|||
- dotnet
|
||||
- java
|
||||
|
||||
permissions:
|
||||
|
||||
# Make the following subscription pools available for this component. This section – if defined –
|
||||
# overrides the set of subscription pools defined in project manifest file.
|
||||
|
||||
pools:
|
||||
- Development
|
||||
- Staging
|
||||
- role: owner
|
||||
permission: Contributor
|
||||
|
||||
provider: teamcloud/tcrunner-terraform
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
# set the display name of the component
|
||||
name: Xperimental
|
||||
|
||||
# Set the component type
|
||||
type: Environment
|
||||
|
||||
# set the component description
|
||||
description: ./readme.md
|
||||
|
||||
# Set the component isolation level
|
||||
isolation: ResourceGroup
|
||||
|
||||
parameters:
|
||||
|
||||
- id: name
|
||||
name: Name
|
||||
type: string
|
||||
required: false
|
||||
|
||||
provider: teamcloud/tcrunner-act
|
|
@ -1,3 +0,0 @@
|
|||
# Xperimental !!!
|
||||
|
||||
This is a VERY experimental environment component !!!
|
|
@ -1,21 +0,0 @@
|
|||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
name:
|
||||
description: "name"
|
||||
required: true
|
||||
default: "nobody"
|
||||
|
||||
jobs:
|
||||
create:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: |
|
||||
echo "create 4 ${{ github.event.inputs.name }}!"
|
||||
|
||||
delete:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: |
|
||||
echo "delete 4 ${{ github.event.inputs.name }}!"
|
||||
|
|
@ -47,11 +47,9 @@ tasks:
|
|||
name: Clear
|
||||
description: Delete all resources, but keep the component alive.
|
||||
|
||||
# Make the following subscription pools available for this component. This section – if defined –
|
||||
# overrides the set of subscription pools defined in project manifest file.
|
||||
permissions:
|
||||
|
||||
pools:
|
||||
- Development
|
||||
- Staging
|
||||
- role: owner
|
||||
permission: Contributor
|
||||
|
||||
provider: teamcloud/tcrunner-arm
|
||||
|
|
|
@ -22,5 +22,10 @@ tasks:
|
|||
- id: reset
|
||||
name: Reset
|
||||
description: Reset the component to its original state.
|
||||
|
||||
|
||||
permissions:
|
||||
|
||||
- role: owner
|
||||
permission: Contributor
|
||||
|
||||
provider: teamcloud/tcrunner-arm
|
||||
|
|
|
@ -28,5 +28,10 @@ tasks:
|
|||
- id: reset
|
||||
name: Reset
|
||||
description: Reset the component to its original state.
|
||||
|
||||
|
||||
permissions:
|
||||
|
||||
- role: owner
|
||||
permission: Contributor
|
||||
|
||||
provider: teamcloud/tcrunner-arm
|
||||
|
|
|
@ -42,7 +42,14 @@ tasks:
|
|||
description: Start and deallocate all VM resources managed by the component
|
||||
|
||||
permissions:
|
||||
|
||||
- role: owner
|
||||
permission: Contributor
|
||||
|
||||
- role: admin
|
||||
permission: Contributor
|
||||
|
||||
- role: member
|
||||
permission: Contributor
|
||||
|
||||
provider: teamcloud/tcrunner-arm
|
||||
|
|
Загрузка…
Ссылка в новой задаче