@ossy/deployment-tools
v0.0.85
Published
Collection of scripts and tools to aid deployment of containers and static files to Amazon Web Services through GitHub Actions
Downloads
7
Readme
@ossy/deployment-tools
Collection of scripts and tools to aid deployment of containers and static files to Amazon Web Services through GitHub Actions
Server
start
Starts a node server in the background that polls an deployment queue for container deployment requests. Make sure NodeJs and npm is installed and Docker and Caddy is up and running.
npx @ossy/deployment-tools server start
stop
Stops the deployment-tools systemd service
npx @ossy/deployment-tools server stop
status
Prints the status of the deployment-tools systemd service
npx @ossy/deployment-tools server status
Deployment
deploy
Sends a deployment request to the aws sqs deployment queue.
npx --yes @ossy/deployment-tools deploy \
--username ${{ github.actor }} \
--authentication ${{ secrets.GITHUB_TOKEN }} \
--target-env ${{ github.event.inputs.environmentName }} \
--platforms packages/infrastructure/bin/deployment-platforms.json \
--ossyfile packages/${{ github.event.inputs.packageName }}/ossy.json \
The cdk.json
file tells the CDK Toolkit how to execute your app.
cdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk synth
emits the synthesized CloudFormation template