Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create service if doesnt exist #1

Open
wants to merge 148 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
148 commits
Select commit Hold shift + click to select a range
6f9c1d7
Create a service if one doesn't exist
rdinardi-bw Aug 12, 2022
4f2d809
debug
rdinardi-bw Aug 15, 2022
49bf539
make a change
rdinardi-bw Aug 15, 2022
df3c5f7
remove the distro?
rdinardi-bw Aug 15, 2022
7dbd6ba
remove dist
rdinardi-bw Aug 15, 2022
191003a
Revert "remove dist"
rdinardi-bw Aug 16, 2022
8520a1d
Revert "remove the distro?"
rdinardi-bw Aug 16, 2022
8f118ff
updated dist
rdinardi-bw Aug 16, 2022
d417e90
update node
rdinardi-bw Aug 16, 2022
d2d09a1
update ints
rdinardi-bw Aug 16, 2022
9301a47
added target group
rdinardi-bw Aug 16, 2022
f8f0f35
fix dist
rdinardi-bw Aug 16, 2022
bcd4417
fix codedeploy
rdinardi-bw Aug 16, 2022
2954af7
remove load balancer
rdinardi-bw Aug 16, 2022
ec3db7f
fix syntax
rdinardi-bw Aug 16, 2022
e4efd67
container stuff
rdinardi-bw Aug 16, 2022
9ea66a1
add more load balancer?
rdinardi-bw Aug 16, 2022
8398c50
fix name
rdinardi-bw Aug 16, 2022
9761e28
add subnets
rdinardi-bw Aug 16, 2022
cbbc243
make a lot of api calls
rdinardi-bw Aug 16, 2022
dc3c626
Updated to using elbv2
rdinardi-bw Aug 17, 2022
8107b72
use arn instead
rdinardi-bw Aug 17, 2022
94a9420
don't index
rdinardi-bw Aug 17, 2022
089976c
log messages aren't the real code
rdinardi-bw Aug 17, 2022
32da464
what is going on
rdinardi-bw Aug 17, 2022
c0f16d6
this?
rdinardi-bw Aug 17, 2022
1fc8585
this?
rdinardi-bw Aug 17, 2022
11872f2
debug
rdinardi-bw Aug 17, 2022
84aa094
debug
rdinardi-bw Aug 17, 2022
616f104
debug
rdinardi-bw Aug 17, 2022
2871646
debug
rdinardi-bw Aug 17, 2022
f9c53fc
debug
rdinardi-bw Aug 17, 2022
a0465a9
debug
rdinardi-bw Aug 17, 2022
dbb53e1
debug
rdinardi-bw Aug 17, 2022
f57ec72
debug
rdinardi-bw Aug 17, 2022
595d491
debug
rdinardi-bw Aug 17, 2022
9616248
debug
rdinardi-bw Aug 17, 2022
71ed593
remake dist
rdinardi-bw Aug 17, 2022
b7b7db5
git lost track
rdinardi-bw Aug 17, 2022
c959107
git lost track
rdinardi-bw Aug 17, 2022
2f145a9
debug
rdinardi-bw Aug 17, 2022
14942df
debug
rdinardi-bw Aug 17, 2022
8b3ad31
debug
rdinardi-bw Aug 17, 2022
6ad44e1
debug
rdinardi-bw Aug 17, 2022
0418512
debug
rdinardi-bw Aug 17, 2022
004565b
debug
rdinardi-bw Aug 17, 2022
1094550
debug
rdinardi-bw Aug 17, 2022
fbcf022
debug
rdinardi-bw Aug 17, 2022
675fbc5
debug
rdinardi-bw Aug 17, 2022
a08929c
debug
rdinardi-bw Aug 17, 2022
adae03d
debug
rdinardi-bw Aug 17, 2022
f90477e
debug
rdinardi-bw Aug 17, 2022
7dfd261
debug
rdinardi-bw Aug 17, 2022
977f93b
debug
rdinardi-bw Aug 17, 2022
cd61907
debug
rdinardi-bw Aug 17, 2022
df3d1b7
debug
rdinardi-bw Aug 17, 2022
96222bf
debug
rdinardi-bw Aug 17, 2022
6bade5f
debug
rdinardi-bw Aug 17, 2022
8efd022
debug
rdinardi-bw Aug 17, 2022
eef221f
debug
rdinardi-bw Aug 17, 2022
0df0454
debug
rdinardi-bw Aug 17, 2022
68c07c9
debug
rdinardi-bw Aug 17, 2022
45b9cf2
debug
rdinardi-bw Aug 17, 2022
f20bb15
debug
rdinardi-bw Aug 17, 2022
280bc86
debug
rdinardi-bw Aug 17, 2022
64a1abc
debug
rdinardi-bw Aug 17, 2022
4ab8c12
debug
rdinardi-bw Aug 17, 2022
2070c81
debug
rdinardi-bw Aug 17, 2022
60b6289
debug
rdinardi-bw Aug 17, 2022
c2c1cb3
debug
rdinardi-bw Aug 17, 2022
e49cda0
debug
rdinardi-bw Aug 17, 2022
f7d89fe
debug
rdinardi-bw Aug 17, 2022
57913f1
debug
rdinardi-bw Aug 17, 2022
9366020
debug
rdinardi-bw Aug 17, 2022
c54ad1b
debug
rdinardi-bw Aug 17, 2022
4f61f24
debug
rdinardi-bw Aug 17, 2022
81b91f3
debug
rdinardi-bw Aug 17, 2022
2a25106
debug
rdinardi-bw Aug 17, 2022
32bc766
debug
rdinardi-bw Aug 17, 2022
78ac30a
debug
rdinardi-bw Aug 17, 2022
b5cd93d
debug
rdinardi-bw Aug 17, 2022
1fd4071
debug
rdinardi-bw Aug 18, 2022
422b358
debug
rdinardi-bw Aug 18, 2022
cf1f91e
debug
rdinardi-bw Aug 18, 2022
266cca0
debug
rdinardi-bw Aug 18, 2022
92c7e30
debug
rdinardi-bw Aug 18, 2022
aa54ae8
debug
rdinardi-bw Aug 18, 2022
1bd8f94
debug
rdinardi-bw Aug 18, 2022
db0698d
debug
rdinardi-bw Aug 18, 2022
3ce7831
debug
rdinardi-bw Aug 18, 2022
5ac1092
debug
rdinardi-bw Aug 18, 2022
f065e70
debug
rdinardi-bw Aug 18, 2022
81191e4
debug
rdinardi-bw Aug 18, 2022
6f71414
debug
rdinardi-bw Aug 19, 2022
2999da7
fixed deployment group
rdinardi-bw Aug 19, 2022
fe72e99
fix role arn
rdinardi-bw Aug 19, 2022
6e72a1f
use cluster name
rdinardi-bw Aug 19, 2022
8c83d12
use cluster name
rdinardi-bw Aug 19, 2022
1f12a92
debug
rdinardi-bw Aug 19, 2022
cc68db6
debug
rdinardi-bw Aug 19, 2022
518b474
debug
rdinardi-bw Aug 19, 2022
fd9564c
debug
rdinardi-bw Aug 19, 2022
2c02b23
debug
rdinardi-bw Aug 19, 2022
f75da50
debug
rdinardi-bw Aug 19, 2022
9f47f04
debug
rdinardi-bw Aug 19, 2022
bd6ef04
debug
rdinardi-bw Aug 19, 2022
420e66e
debug
rdinardi-bw Aug 19, 2022
37b51f1
debug
rdinardi-bw Aug 19, 2022
e76a640
debug
rdinardi-bw Aug 19, 2022
dc7e7e6
debug
rdinardi-bw Aug 19, 2022
4d5c168
debug
rdinardi-bw Aug 19, 2022
f17a855
debug
rdinardi-bw Aug 19, 2022
134bfa2
debug
rdinardi-bw Aug 19, 2022
d25e5e4
debug
rdinardi-bw Aug 19, 2022
d3ac479
cleanup
rdinardi-bw Aug 21, 2022
f2e0d41
debug
rdinardi-bw Aug 22, 2022
b27a2d9
debug
rdinardi-bw Aug 22, 2022
699a951
debug
rdinardi-bw Aug 22, 2022
0dfff1c
debug
rdinardi-bw Aug 22, 2022
f064b3a
debug
rdinardi-bw Aug 22, 2022
37d1e04
debug
rdinardi-bw Aug 22, 2022
f27a7ff
debug
rdinardi-bw Aug 22, 2022
111d6cb
debug
rdinardi-bw Aug 22, 2022
cbc4c03
debug
rdinardi-bw Aug 22, 2022
84311aa
debug
rdinardi-bw Aug 22, 2022
1ede1e6
debug
rdinardi-bw Aug 22, 2022
09aa1dd
debug
rdinardi-bw Aug 22, 2022
bb4c9de
debug
rdinardi-bw Aug 22, 2022
35579a7
debug
rdinardi-bw Aug 22, 2022
dab3f54
fix up ports and desiredCount
rdinardi-bw Aug 26, 2022
d5125a1
added main container
rdinardi-bw Aug 26, 2022
e8fc209
added main container
rdinardi-bw Aug 26, 2022
1fb2b64
fixed desired count
rdinardi-bw Aug 26, 2022
54277c2
debug
rdinardi-bw Aug 26, 2022
b8b2d0c
debug
rdinardi-bw Aug 26, 2022
5568c7b
debug
rdinardi-bw Aug 26, 2022
74613ac
debug
rdinardi-bw Aug 26, 2022
590b458
debug
rdinardi-bw Aug 26, 2022
309c932
debug
rdinardi-bw Aug 29, 2022
0e7eccf
debug
rdinardi-bw Aug 29, 2022
d67827e
debug
rdinardi-bw Aug 29, 2022
d52badf
debug
rdinardi-bw Aug 29, 2022
9380771
debug
rdinardi-bw Aug 29, 2022
4887d07
debug
rdinardi-bw Aug 29, 2022
d14b48a
debug
rdinardi-bw Aug 29, 2022
7c5903a
debug
rdinardi-bw Aug 29, 2022
1a7af1a
debug
rdinardi-bw Aug 29, 2022
92367a0
debug
rdinardi-bw Aug 29, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ node_modules/

# Editors
.vscode
.idea

# Logs
logs
Expand Down
38 changes: 35 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,30 @@ inputs:
task-definition:
description: 'The path to the ECS task definition file to register'
required: true
service:
description: 'The name of the ECS service to deploy to. The action will only register the task definition if no service is given.'
service-name:
description: 'The name of the ECS service to update/create. The action will only register the task definition if no service is given.'
required: false
service-desired-count:
description: 'The number of tasks to create/update the service with'
required: false
default: '3'
service-enable-execute-command:
description: 'Whether to enable ECS exec on the service'
required: false
default: 'true'
service-health-check-grace-period-seconds:
description: 'The time given to a new task before health checks begin'
required: false
service-propagate-tags:
description: 'Where tags should be propagated from to the tasks'
required: false
default: 'TASK_DEFINITION'
service-min-healthy-percentage:
description: 'The minimum number of tasks that must remain healthy during a deployment'
required: false
default: '50'
service-subnets:
description: 'The subnets to use for a new service'
required: false
cluster:
description: "The name of the ECS service's cluster. Will default to the 'default' cluster"
Expand All @@ -19,6 +41,10 @@ inputs:
wait-for-minutes:
description: 'How long to wait for the ECS service to reach stable state, in minutes (default: 30 minutes, max: 6 hours). For CodeDeploy deployments, any wait time configured in the CodeDeploy deployment group will be added to this value.'
required: false
new-service-use-codedeploy:
description: 'Whether CodeDeploy should be used as the deployment controller. Defaults to ECS'
required: false
default: 'false'
codedeploy-appspec:
description: "The path to the AWS CodeDeploy AppSpec file, if the ECS service uses the CODE_DEPLOY deployment controller. Will default to 'appspec.yaml'."
required: false
Expand All @@ -31,6 +57,12 @@ inputs:
codedeploy-deployment-description:
description: "A description of the deployment, if the ECS service uses the CODE_DEPLOY deployment controller."
required: false
codedeploy-target-group-arn:
description: "ARN of the target group"
required: false
codedeploy-load-balancer-arn:
description: "The ARN of the load balancer"
required: false
force-new-deployment:
description: 'Whether to force a new deployment of the service. Valid value is "true". Will default to not force a new deployment.'
required: false
Expand All @@ -40,5 +72,5 @@ outputs:
codedeploy-deployment-id:
description: 'The deployment ID of the CodeDeploy deployment (if the ECS service uses the CODE_DEPLOY deployment controller'
runs:
using: 'node12'
using: 'node16'
main: 'dist/index.js'
82,844 changes: 42,069 additions & 40,775 deletions dist/index.js

Large diffs are not rendered by default.

Loading