-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.yaml
60 lines (57 loc) · 1.59 KB
/
plugin.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
schema-version: v2
kind: plugin
metadata:
name: setup-runner
display-name: setup-runner
description: Plugin to setup StackSpot workflows
version: 0.0.1
picture: plugin.png
spec:
type: app
compatibility:
- python
about: stackspot-actions/setup-stackspot-workflows/docs/about.md
implementation: stackspot-actions/setup-stackspot-workflows/docs/implementation.md
release-notes: stackspot-actions/setup-stackspot-workflows/docs/release-notes-0.0.1.md
requirements: stackspot-actions/setup-stackspot-workflows/docs/requirements.md
repository: https://github.com/stack-spot/stackspot-workflows-action
technologies: # Ref: https://docs.stackspot.com/docs/create-stacks/yaml-files/yaml/#technologies
- Api
inputs:
- label: SCM provider
name: provider
type: text
items:
- Azure
- Bitbucket
- Github
- Gitlab
hooks:
- type: render-templates
trigger: after-render
path: workflow-templates/azure
condition:
variable: provider
operator: ==
value: Azure
- type: render-templates
trigger: after-render
path: workflow-templates/github
condition:
variable: provider
operator: ==
value: Github
- type: render-templates
trigger: after-render
path: workflow-templates/bitbucket
condition:
variable: provider
operator: ==
value: Bitbucket
- type: render-templates
trigger: after-render
path: workflow-templates/gitlab
condition:
variable: provider
operator: ==
value: Gitlab