-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yaml
More file actions
38 lines (38 loc) · 1.09 KB
/
action.yaml
File metadata and controls
38 lines (38 loc) · 1.09 KB
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
---
name: 'Create Kubernetes cluster'
author: 'Krucible'
description: 'Create a Kubernetes cluster on Krucible. See https://usekrucible.com for more.'
inputs:
krucible-account-id:
description: 'Krucible account ID'
required: true
krucible-api-key-id:
description: 'Krucible API key ID'
required: true
krucible-api-key-secret:
description: 'Krucible API key secret'
required: true
display-name: # id of input
description: 'Name of cluster'
required: true
duration: # id of input
description: 'Length of time in hours that the cluster should remain'
required: true
default: '1'
outputs:
cluster-id:
description: 'ID of the cluster created in Krucible'
runs:
using: 'docker'
image: 'Dockerfile'
env:
KRUCIBLE_ACCOUNTID: ${{ inputs.krucible-account-id }}
KRUCIBLE_APIKEYID: ${{ inputs.krucible-api-key-id }}
KRUCIBLE_APIKEYSECRET: ${{ inputs.krucible-api-key-secret }}
CLUSTER_DURATION: ${{ inputs.duration }}
CLUSTER_DISPLAY_NAME: ${{ inputs.display-name }}
args:
- create-cluster.sh
branding:
color: purple
icon: server