|
1 | | -name: 'Start Torque Environment' |
2 | | -description: 'Starts an Environment in Torque and returns its details' |
3 | | -author: 'Quali' |
| 1 | +name: "Start Torque Environment" |
| 2 | +description: "Starts an Environment in Torque and returns its details" |
| 3 | +author: "Quali" |
4 | 4 | inputs: |
5 | 5 | space: |
6 | | - description: 'The Torque space to start the environment in' |
| 6 | + description: "The Torque space to start the environment in" |
7 | 7 | required: true |
8 | 8 | blueprint_name: |
9 | | - description: 'The name of the Blueprint to use' |
| 9 | + description: "The name of the Blueprint to use" |
10 | 10 | required: true |
11 | 11 | repository_name: |
12 | | - description: 'The Blueprint repository name' |
| 12 | + description: "The Blueprint repository name" |
13 | 13 | environment_name: |
14 | | - description: 'Provide a name for the Environment' |
| 14 | + description: "Provide a name for the Environment" |
15 | 15 | required: false |
16 | | - default: gh-build-${{ github.repository }} |
17 | 16 | torque_token: |
18 | | - description: 'A Torque longterm token' |
| 17 | + description: "A Torque longterm token" |
19 | 18 | required: true |
20 | 19 | torque_hostname: |
21 | | - description: 'Alternative Torque server url' |
| 20 | + description: "Alternative Torque server url" |
22 | 21 | required: false |
23 | 22 | default: portal.qtorque.io |
24 | 23 | branch: |
25 | | - description: 'Use the Blueprint version from a remote Git branch' |
| 24 | + description: "Use the Blueprint version from a remote Git branch" |
26 | 25 | required: false |
27 | 26 | default: "" |
28 | 27 | duration: |
29 | | - description: 'The Environment will automatically de-provision at the end of the provided duration (minutes)' |
| 28 | + description: "The Environment will automatically de-provision at the end of the provided duration (minutes)" |
30 | 29 | required: false |
31 | | - default: '120' |
| 30 | + default: "120" |
32 | 31 | timeout: |
33 | | - description: 'Set the time (minutes) to wait for the environment to become active. When setting to 0 the action will end with just the Environment ID output.' |
| 32 | + description: "Set the time (minutes) to wait for the environment to become active. When setting to 0 the action will end with just the Environment ID output." |
34 | 33 | required: false |
35 | 34 | default: 0 |
36 | 35 | inputs: |
37 | 36 | required: false |
38 | | - description: 'A comma-separated list of key=value pairs. For example: key1=value1, key2=value2' |
| 37 | + description: "A comma-separated list of key=value pairs. For example: key1=value1, key2=value2" |
39 | 38 | default: "" |
40 | 39 |
|
41 | 40 | outputs: |
42 | 41 | environment_id: |
43 | | - description: 'The ID of launched Torque Environment' |
| 42 | + description: "The ID of launched Torque Environment" |
44 | 43 | environment_details: |
45 | | - description: 'The Full Environment details in a json format' |
| 44 | + description: "The Full Environment details in a json format" |
46 | 45 |
|
47 | 46 | runs: |
48 | 47 | using: "docker" |
49 | | - image: 'Dockerfile' |
| 48 | + image: "Dockerfile" |
50 | 49 | args: |
51 | 50 | - ${{ inputs.blueprint_name }} |
52 | 51 | - ${{ inputs.repository_name }} |
|
61 | 60 | TORQUE_SPACE: ${{ inputs.space }} |
62 | 61 | TORQUE_HOSTNAME: ${{ inputs.torque_hostname }} |
63 | 62 | TORQUE_USERAGENT: Torque-Plugin-Github-Start-Environment-Action/v1 |
64 | | - |
| 63 | + |
65 | 64 | branding: |
66 | | - icon: 'play-circle' |
67 | | - color: 'blue' |
| 65 | + icon: "play-circle" |
| 66 | + color: "blue" |
0 commit comments