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

Task/calm 19390 task library support #101

Merged
merged 24 commits into from
Nov 4, 2020

Conversation

saratkumar-yb
Copy link
Contributor

@saratkumar-yb saratkumar-yb commented Aug 10, 2020

Calm DSL support for seeding task-library items.
Sample commands:
calm get library tasks
calm create library task -f SampleTask.py
calm import library task -f ~/Calm/blueprints/library/task-library/Kubernetes/Etcd_Install_and_Configure.sh
calm describe library task Etcd_Install_and_Configure
calm delete library task Etcd_Install_and_Configure

calm/dsl/cli/library_tasks_commands.py Outdated Show resolved Hide resolved
calm/dsl/cli/library_tasks_commands.py Show resolved Hide resolved
calm/dsl/cli/library_tasks_commands.py Outdated Show resolved Hide resolved
calm/dsl/cli/library_tasks.py Outdated Show resolved Hide resolved
calm/dsl/builtins/models/tasks.py Outdated Show resolved Hide resolved
calm/dsl/api/task.py Outdated Show resolved Hide resolved
@abhijeetkaurav1st abhijeetkaurav1st merged commit 9bfdfd8 into master Nov 4, 2020
abhijeetkaurav1st added a commit that referenced this pull request Mar 9, 2022
* Added correct info library task cli help command (#101)

* Set description in spec for library task (#102)

* Task/m fix calm 28448 runbook 332 changes (#107) (#108)

* Add logic to use version based rubook runner api

* Formating

* Squashed commit of the following:

commit 351b5c0
Author: abhijeetkaurav1st <abhijeet.kaurav@nutanix.com>
Date:   Thu Dec 16 14:14:30 2021 +0530

    Minor fixes for undefined attributes at profile model for version setup < 3.3.0.

commit 7ea5982
Author: Abhijeet Singh Kaurav <abhijeet.kaurav@nutanix.com>
Date:   Wed Dec 15 19:03:06 2021 +0530

    Added support for get_runbook_action and macro in ahv-disk-images (#206)

    * Allow macro in image names

    * Adding example that shows macor usage in vm-disk-image and vm-nic

    * Adding helper get_runbook_action for getting action out of imported runbook

    * Adding exsiting machine example and minor improvements

    * minor fixes in models

    * Fixing runbook examples

commit bc9dc6a
Author: Abhijeet Singh Kaurav <abhijeet.kaurav@nutanix.com>
Date:   Mon Dec 13 20:25:01 2021 +0530

    Use ASCENDING order for list_all query (#205)

    fixes #200

* Fix acps commands with projects filter incase of IAMv2 setup (#129)

* Add implementation to use projects_internal api for getting acp info instead of acp list api

* Add logic for limit and offset in get_acps_from_project method

* Add Minor comments and changes

* Remove not required imports

* formatting

(cherry picked from commit 07b89d1baca31339560569b37cf5ead0db198ce1)

* Add 3.3.2 version for calmversion

Co-authored-by: Nirbhay Bagmar <nirbhay.bagmar@nutanix.com>
Co-authored-by: Pradeepsingh Bhati <88029526+bhati-pradeep@users.noreply.github.com>
Co-authored-by: Pradeepsingh Bhati <pradeep.bhati@nutanix.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants