0.2.3 • Published 5 months ago

@dotcom-tool-kit/containerised-app v0.2.3

Weekly downloads
-
License
ISC
Repository
github
Last release
5 months ago

dotcom-tool-kit/containerised-app

A bootstrap plugin that provides the minimum required Tool Kit plugins for a containerised application that's deployed to Amazon Elastic Container Service (ECS).

This bootstrap plugin is also preconfigured to run the Node task on the command run:local.

Installation & Usage

With Tool Kit already set up, install this plugin as a dev dependency:

npm install --save-dev @dotcom-tool-kit/containerised-app

And add it to your repo's .toolkitrc.yml:

plugins:
  - '@dotcom-tool-kit/containerised-app'

As well as the plugin options outlined below, you'll need to specify plugin options for the cloudsmith and docker plugins. The bare minimum is:

options:
  plugins:
    '@dotcom-tool-kit/cloudsmith':
      serviceAccount: <SERVICE_ACCOUNT_WITH_WRITE_ACCESS>
    '@dotcom-tool-kit/docker':
      images:
        web:
          name: <YOUR_APP_NAME>

See the relevant documentation for further options:

Plugin-wide options

@dotcom-tool-kit/containerised-app

PropertyDescriptionTypeDefault
awsRoleArnStaging (*)the ARN of an IAM role to assume when deploying to stagingstring (regex: /^arn:aws:iam::\d+:role\//)
awsRoleArnProduction (*)the ARN of an IAM role to assume when deploying to productionstring (regex: /^arn:aws:iam::\d+:role\//)
hakoReviewEnvironmentsthe set of Hako environments to deploy to in the deploy:review commandArray<string>["ft-com-test-eu"]
hakoStagingEnvironmentsthe set of Hako environments to deploy to in the deploy:staging commandArray<string>["ft-com-test-eu"]
hakoProductionEnvironmentsthe set of Hako environments to deploy to in the deploy:production commandArray<string>["ft-com-prod-eu"]

(*) Required.

0.2.3

5 months ago

0.2.2

5 months ago

0.2.1

5 months ago

0.2.0

5 months ago

0.1.13

6 months ago

0.1.12

6 months ago

0.1.11

6 months ago

0.1.10

6 months ago

0.1.9

7 months ago

0.1.8

7 months ago

0.1.7

7 months ago

0.1.6

8 months ago

0.1.5

8 months ago

0.1.4

8 months ago

0.1.3

8 months ago

0.1.2

8 months ago

0.1.1

8 months ago

0.1.0

8 months ago