st2 API and CLI command added for actions/workflows clone operation#5345
Merged
m4dcoder merged 48 commits intoStackStorm:masterfrom Dec 1, 2021
Merged
st2 API and CLI command added for actions/workflows clone operation#5345m4dcoder merged 48 commits intoStackStorm:masterfrom
m4dcoder merged 48 commits intoStackStorm:masterfrom
Conversation
m4dcoder
requested changes
Aug 31, 2021
Contributor
Author
|
m4dcoder
requested changes
Sep 15, 2021
Contributor
Author
|
m4dcoder
requested changes
Sep 16, 2021
…esn't exists and retaining action file extensions
…e action functionalities and done other minor fixes
Contributor
Author
|
cognifloyd
reviewed
Oct 2, 2021
Member
cognifloyd
left a comment
There was a problem hiding this comment.
I have one suggestion. What else is left before we can merge this?
Member
|
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
m4dcoder
requested changes
Oct 14, 2021
…ative to `./pack/actions` directory
…ntry in case of exception in operation
…ing cloned action database entry in case of exception in operation
m4dcoder
requested changes
Oct 14, 2021
m4dcoder
requested changes
Oct 14, 2021
Contributor
m4dcoder
left a comment
There was a problem hiding this comment.
@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`
Contributor
Author
|
m4dcoder
approved these changes
Oct 20, 2021
Member
|
@mahesh-orch @m4dcoder Thanks for the massive work here! |
Contributor
Author
|
@armab Sure, I will create new PR for adding CHANGELOG. Thanks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds st2 Clone API for actions and workflows.
-for--force) to overwrite action file content if the destination already exists.