- Notifications
You must be signed in to change notification settings - Fork1
pypyr pipeline runner cli examples
License
pypyr/pypyr-example
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
pypyr is a cli & api to run pipelines defined in yaml. Theseexamples show you how to code your own custom steps for the pipeline processor.It also shows you some example pipeline definition yaml files.
$ pip install pypyr
In the repo root, run:
# run the pipelines/simple.yaml pipeline with INFO log level.$ pypyr simple# run the pipelines/simple.yaml pipeline with the default DEBUG log level.# this will give you all the gory details.$ pypyr simple --log 10
You need to have the pypyr aws plug-in installed to run the aws samples.
$ pip install pypyraws
For authentication, get full detailshere
You're probably running this on a dev box. Seriously, don't run this anywhereclose to production, or anything you actually care about.
Since you're on a dev box, the easiest way to configure aws authentication isby just using theaws configure cli command. pypyr will automatically usethese authentication credentials in lieu of any other authentication config.
$ aws configureAWS Access Key ID [None]: AKIAIOSFODNN7EXAMPLEAWS Secret Access Key [None]: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEYDefault region name [None]: us-west-2Default output format [None]: ENTER
Obligatory tiresome note:
WARNING: Using aws costs money. These examples are for quick and dirty demopurposes and do not neccesarily delete resources they create. If you don't wantsurprise bills, you need to delete these yourself.
You need to have the pypyr slack plug-in installed to run the slack samples.
$ pip install pypyrslack
Check ./pipelines/slack.yaml for details.
You will need a slack API token. I generally create a bot:create a bot. You don't careparticularly about responding to events, just the bot api key so you can sendas the bot user. Maybe set a nice profile picture and bot name so yournotifications look pretty.
Remember to invite and add the bot you create to the slack channel(s) to whichyou want to post. You invite the bot to the channel like you would a normaluser.
About
pypyr pipeline runner cli examples
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
