Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

pypyr pipeline runner cli examples

License

NotificationsYou must be signed in to change notification settings

pypyr/pypyr-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pypyr task runner for automation pipelines

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.

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp