-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
123 lines (123 loc) · 3.68 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
---
name: 'Deploy To Google Cloud Run'
description: 'Deploy a service revision to Google Cloud Run using gcloud SDK'
branding:
icon: 'upload-cloud'
color: 'orange'
inputs:
project_id:
description: 'GCP project ID'
required: true
service_account_key:
description: 'Base64 encoded JSON key for GCP service account'
required: false
default: ''
image_name:
description: 'Name of container image to be deployed'
required: true
service_name:
description: 'Name of the service to be deployed'
required: true
gcp_region:
description: 'GCP region to deploy the service in'
required: true
image_tag:
description: 'Tag of container image to be deployed'
required: false
default: ''
image_tag_pattern:
description: 'Regex pattern to identify the image_tag automatically'
required: false
default: ''
concurrency_per_instance:
description: 'Max number of concurrent requests per instance, max: 80'
required: false
default: '80'
cpu:
description: 'VCPU limit per instance'
required: false
default: '1'
memory:
description: 'Memory limit per instance'
required: false
default: '256Mi'
max_instances:
description: 'Max number of instances to be scaled'
required: false
default: '10'
min_instances:
description: 'Min number of instances to be available in idle'
required: false
default: '0'
request_timeout:
description: 'Timeout for a single request to be processed'
required: false
default: '10s'
allow_unauthenticated:
description: 'Whether the service should not be protected by GCP authorization'
required: false
default: 'true'
cpu_throttling:
description: 'Set to false so that CPU is always allocated and available even when there are no incoming requests'
required: false
default: 'true'
startup_boost:
description: 'Set to true to have additional CPU available at startup time'
required: false
default: 'false'
service_account:
description: 'Service Account to be used by the revision to be deployed'
required: false
default: 'default'
no_traffic:
description: 'Set to true to just deploy a new revision without shifting traffic'
required: false
default: 'false'
cloudsql_instances:
description: 'Comma separated list of CloudSQL instances to connect to'
required: false
default: ''
vpc_connector:
description: 'Name of the Serverless VPC Access connector to use with this service'
required: false
default: ''
vpc_egress:
description: 'Outbound traffic configuration, if a vpc_connector is configured'
required: false
default: 'private-ranges-only'
vpc_network:
description: 'Name of VPC network when using direct VPC egress'
required: false
default: ''
vpc_subnet:
description: 'Name of VPC network''s subnet'
required: false
default: ''
vpc_network_tags:
description: 'Comma-separated list of network tags'
required: false
default: ''
ingress:
description: 'Allowed ingress traffic sources'
required: false
default: 'all'
debug:
description: 'Whether the gcloud commands should be printed to output'
required: false
default: 'false'
execution_environment:
description: 'Selects the execution environment where the application will run'
required: false
default: ''
outputs:
cloud_run_revision:
description: 'Revision of the deployed service'
cloud_run_endpoint:
description: 'Endpoint the service is serving at'
gcloud_log:
description: 'Log output of the gcloud run deploy command'
deployed_image_tag:
description: 'Tag of the deployed image'
runs:
using: 'docker'
image: 'Dockerfile'