-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathaction.yml
78 lines (77 loc) · 3.81 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
name: 'ECS Deployment'
description: 'Github action using fabfuel/ecs-deploy script for ecs deployments'
branding:
icon: play
color: orange
inputs:
action:
description: 'Action to perform. Defaults to deploy'
required: true
default: 'deploy'
cluster:
description: 'Cluster name where service/task will be deployed'
required: true
target:
description: 'Service or task name to perform this action on'
required: true
tag:
description: 'Applicable to the deploy and cron actions. Changes the tag of all images in all containers in the task definition to the tag given'
required: false
image:
description: 'Applicable to the deploy and cron actions. Updates the image of a specific container. Pass the value as "[container-name] [image-name]:[image-tag]". You can pass multiple values as comma-separated'
required: false
task:
description: 'Applicable to the deploy action. Updates the target service with a new task definition, which can either be an ARN, a family name with revision, or just a family name (you will get the most recent revision)'
required: false
rule:
description: 'Applicable to the cron action. Updates the scheduled task rule with a new task definition'
required: false
env_vars:
description: 'Set one or more environment variables. The syntax is "[container] [ENV_VAR_NAME] [ENV_VAR_VALUE]". You can set multiple env vars by comma-separating them as "[container] [ENV_VAR_NAME] [ENV_VAR_VALUE], [container] [ANOTHER_ENV_VAR_NAME] [ANOTHER_ENV_VAR_VALUE]"'
required: false
exclusive_env:
description: 'To reset all existing environment variables of a task definition. Set to "true" to enable'
required: false
secrets:
description: 'Set one or more secrets from parameter store or secrets manager. The syntax is "[container] [SECRET_NAME] [SECRET_ARN]". You can set multiple env vars by comma-separating them as "[container] [SECRET_NAME] [SECRET_ARN], [container] [ANOTHER_SECRET_NAME] [ANOTHER_SECRET_ARN]"'
required: false
exclusive_secrets:
description: 'To reset all existing secrets (secret environment variables) of a task definition. Set to "true" to enable'
required: false
command:
description: 'To change the command of a specific container. The syntax is "[container] "[command]" "'
required: false
task_role:
description: "To change or set the role, the service's task should run as, specify the role ARN here"
required: false
ignore_warnings:
description: 'To ignore warnings that come up during deployment and continue to wait until the deployment times out, set this to "true"'
required: false
no_deregister:
description: 'To prevent the previous task defintion from being deleted, set this to "true"'
required: false
rollback:
description: 'To rollback to previous revision, if deployment failed, set this to "true"'
required: false
timeout:
description: "How long to wait for things to time out (in seconds)"
required: false
default: "300"
scale_value:
description: "Applicable to the scale action. Determines how many running tasks you wish to have on the service"
required: false
launch_type:
description: "Applicable to the run action. Setting this value to FARGATE will launch the task on fargate (see required options below)"
required: false
security_group:
description: "Required the run action with FARGATE launch type. Determines the security group ID to attach to this task"
required: false
subnet:
description: "Required the run action with FARGATE launch type. Determines the subnet ID to launch this task into"
required: false
public_ip:
description: "Applies to the run action with FARGATE launch type. If set to true will attach this task with a public IP"
required: false
runs:
using: 'docker'
image: 'Dockerfile'