npm

Need private packages and team management tools?Check out npm Orgs. »

amplifier-slack-messages

1.0.0 • Public • Published

Amplifier Project Boilerplate

This boilerplate let's you create a new Amplifier config and automatic deploys the master to Airflow (web.airflow.greenhousegroup.com)

Configuration

Note: Name of the package is copied from the package.json

Before deployment a k8s-secret-file should be deployed to airflow k8s based on the values of the .env file.

$ touch .env
// add your environment vars eg. FOO=BAR to the .env file

$ yarn create-secrets
$ yarn upload-secrets

in package.json
airflow.owner: owner of the package (eg. MEH).
airflow.email: messages related to this Ampifier will be send to this address.
airflow.scheduleInterval: crontab format (eg. @hourly or 0 * * * * )

This boilerplate wil do 3 thing:

  • Build a docker image of your project.
  • Save this image to the Gitlab registry.
  • Deploy a project dag to Airflow.

Local testing

$ yarn install

// add required external amplifier plugins
$ yarn add amplifier-plugin-**

$ yarn amplify

Keywords

none

install

npm i amplifier-slack-messages

Downloadsweekly downloads

4

version

1.0.0

license

ISC

last publish

collaborators

  • avatar
Report a vulnerability