-
Notifications
You must be signed in to change notification settings - Fork 33
/
action.yml
83 lines (83 loc) · 3.39 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
name: 'Amazon App Runner "Deploy Service" Action for GitHub Actions'
description: 'Registers and deploys the application as App Runner service'
branding:
icon: 'cloud'
color: 'orange'
inputs:
service:
description: 'The name of the App Runner service'
required: true
source-connection-arn:
description: 'ARN for the `GitHubConnection` in App Runner'
required: false
access-role-arn:
description: 'ARN for IAM Role, if the App Runner service is configured with ECR image'
required: false
instance-role-arn:
description: 'ARN for IAM Role, if the App Runner application accesses AWS resources'
required: false
repo:
description: 'GitHub source repository URL. Cannot be set when "image" parameter is set.'
required: false
branch:
description: "Repository branch name"
required: false
default: 'main'
image:
description: 'Docker image URI with tag. Cannot be set when "repo" parameter is set.'
required: false
runtime:
description: 'Runtime of the application. Refer to https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-apprunner/enums/runtime.html for the list of supported runtime identifiers.'
required: false
build-command:
description: "Application build command"
required: false
start-command:
description: "Application start command"
required: false
port:
description: "The service uses this TCP port (default is 80)"
required: false
default: '80'
region:
description: "AWS deployment region (default is us-east-1)"
required: false
default: 'us-east-1'
cpu:
description: 'Number of vCPUs for the service (default is 1 vCPU)'
required: false
default: '1'
memory:
description: 'Memory for the service (GB) (default is 2GB)'
required: false
default: '2'
wait-for-service-stability:
description: 'Whether to wait for the App Runner service to reach stable state after deploying the new task definition. Valid value is "true". Will default to not waiting.'
required: false
default: 'false'
deprecationMessage: 'This input parameter will be removed in a future release - use "wait-for-service-stability-seconds", which allows you to control the timeout duration'
wait-for-service-stability-seconds:
description: '(Optional) Timeout in seconds to wait for the service deployment process to complete. The default is 600 seconds if "wait-for-service-stability" is set to true and there is no "wait-for-service-stability-seconds" parameter value specified.'
required: false
copy-env-vars:
description: 'Multiline list of pipeline environment variables to be copied over to the App Runner service environment'
required: false
copy-secret-env-vars:
description: 'Multiline list of pipeline environment variables to be copied over to the App Runner service secret environment'
required: false
tags:
description: 'key-value pairs to associate with the service. This input should be JSON-formatted, for example { "env": "test" }'
required: false
auto-scaling-config-arn:
description: 'ARN of an App Runner automatic scaling configuration that you want to associate with the App Runner service'
required: false
outputs:
service-id:
description: 'App Runner service ID'
service-arn:
description: 'App Runner service ARN'
service-url:
description: 'App Runner service URL'
runs:
using: 'node16'
main: 'dist/index.js'