Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tasks to the module #250

Merged
merged 18 commits into from
Feb 13, 2019
Merged

Add tasks to the module #250

merged 18 commits into from
Feb 13, 2019

Conversation

nmaludy
Copy link
Member

@nmaludy nmaludy commented Sep 26, 2018

There is a new product by Puppet called Bolt that does remote execution. Remote execution works by running "tasks" (scripts) and "plans" (think playbooks).

This PR adds a few basic tasks to the module to start off.

Tasks are modeled after the st2 CLI in both naming and parameters.

The goal is to support a majority of the st2 CLI via tasks, along with things like st2ctl and potentially plans to perform upgrades.

TODO

  • Create CI pipeline for testing Python code in Tasks
  • Add Python unit tests for Tasks

@nmaludy nmaludy requested a review from arm4b September 26, 2018 18:52
@nmaludy
Copy link
Member Author

nmaludy commented Feb 7, 2019

@Arma This should be good to go! :)

@arm4b arm4b added the feature label Feb 11, 2019
files/st2_task_base.py Outdated Show resolved Hide resolved
tasks/key_decrypt.json Outdated Show resolved Hide resolved
Copy link
Member

@arm4b arm4b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bolt tasks are interesting. Good work! 👍

Left a couple of comments.

Copy link
Member

@arm4b arm4b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍
Great work!

Wondering if it's big enough to do another release?

@nmaludy
Copy link
Member Author

nmaludy commented Feb 13, 2019

@armab agreed, i'll get one working ASAP

bishopbm1 pushed a commit to EncoreTechnologies/puppet-st2 that referenced this pull request May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants