Skip to content

Commit

Permalink
feat: --update-service options for cage4 (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
keroxp authored Jun 18, 2024
1 parent 26b4ad1 commit 9926084
Show file tree
Hide file tree
Showing 8 changed files with 9,132 additions and 8,078 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: "20"
- run: yarn install
- run: npm i
- name: Check lib
run: |
make
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
main: lib/index.js
lib/index.js: src/index.ts src/deploy.ts package.json yarn.lock
lib/index.js: src/*.ts package.json package-lock.json
yarn ncc build src/index.ts -o lib
13 changes: 8 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 'Canarycage Deploy'
description: 'Deploy service with cage'
author: 'LoiLo'
name: "Canarycage Deploy"
description: "Deploy service with cage"
author: "LoiLo"
inputs:
deploy-context:
description: "Directory path that contains service.json and task-definition.json. Mostly relative path from project root."
Expand All @@ -14,6 +14,9 @@ inputs:
canary-task-idle-duration:
description: "--canaryTaskIdleDuration for cage"
required: false
update-service:
description: "--updateService for cage (>=4.0)"
required: false
environment:
description: "Arbitrary release environment for github deployment. e.g. development,staging,production... Required by --create-deployment"
required: false
Expand All @@ -27,5 +30,5 @@ inputs:
description: "Github Token to create deployment on the repository. Required by --create-deployment. Use secrets.GITHUB_TOKEN."
required: false
runs:
using: 'node20'
main: 'lib/index.js'
using: "node20"
main: "lib/index.js"
16,644 changes: 8,783 additions & 7,861 deletions lib/index.js

Large diffs are not rendered by default.

331 changes: 331 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9926084

Please sign in to comment.