-
-
Notifications
You must be signed in to change notification settings - Fork 750
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
st2 API and CLI command added for actions/workflows clone operation #5345
st2 API and CLI command added for actions/workflows clone operation #5345
Conversation
|
|
…esn't exists and retaining action file extensions
…e action functionalities and done other minor fixes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have one suggestion. What else is left before we can merge this?
Hmm. looks like we at least need the /~https://github.com/StackStorm/st2-rbac-backend PR for the tests for this. I'm thinking this needs to be bumped to 3.7.0. |
…nager.clone` Co-authored-by: Jacob Floyd <cognifloyd@gmail.com>
…ters"] instead of defining params dictionary again
…ative to `./pack/actions` directory
…ntry in case of exception in operation
…ing cloned action database entry in case of exception in operation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mahesh-orch Why do we need to add this file in the PR? st2tests/st2tests/fixtures/packs/dummy_pack_23/actions/workflows/init.py
…lders and file `/dummy_pack_23/actions/workflows/__init__.py`
|
@mahesh-orch @m4dcoder Thanks for the massive work here! |
@armab Sure, I will create new PR for adding CHANGELOG. Thanks. |
This PR adds st2 Clone API for actions and workflows.
-f
or--force
) to overwrite action file content if the destination already exists.