1.0.0 • Published 5 years ago

amplifier-slack-messages v1.0.0

Weekly downloads
-
License
ISC
Repository
gitlab
Last release
5 years ago

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