-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
87 lines (84 loc) · 2.46 KB
/
action.yml
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
name: 'Parallels Desktop DevOps Actions'
description: 'GitHub Action to run Parallels Desktop VMs in your CI/CD pipeline'
author: 'Parallels Desktop'
branding:
icon: 'maximize'
color: 'blue'
inputs:
operation:
description: 'The operation to perform'
required: true
default: 'pull'
username:
description: 'The username to use to connect to the devops api service'
required: false
password:
description: 'The password to use to connect to the devops api service'
required: false
api-key:
description: 'The api key to use to connect to the devops api service'
required: false
api-secret:
description: 'The api secret to use to connect to the devops api service'
required: false
orchestrator_url:
description: 'The orchestrator url where we are connecting to'
required: false
host_url:
description: 'The host url where we are connecting to'
required: false
insecure:
description: 'Whether to use ssl or not'
required: false
default: 'false'
base_vm:
description:
'The name of the base virtual machine to use on clone operations'
required: false
machine_name:
description:
'The name of the virtual machine to use on clone, start, stop, delete
operations'
required: false
base_image:
description:
'The name of the base image to use when creating a new virtual machine
from the catalog'
required: false
machine_cpu_count:
description:
'The number of cpus to use when creating a new virtual machine from the
catalog'
required: false
machine_memory_size:
description:
'The amount of memory to use when creating a new virtual machine from the
catalog'
required: false
run:
description: 'The run command to execute on the virtual machine'
required: false
start_after_op:
description: 'Whether to start the virtual machine after the operation'
required: false
max_attempts:
description:
'The maximum number of attempts to make when waiting for the operation to
complete'
required: false
default: '1'
timeout_seconds:
description: 'The number of seconds to wait between attempts'
required: false
default: '1'
# Define your outputs here.
outputs:
vm_id:
description: 'The id of the virtual machine'
vm_name:
description: 'The name of the virtual machine'
host:
description: 'The host of the virtual machine'
runs:
using: node20
main: dist/index.js