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

Change Management Adapter #16

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

venkataramant
Copy link
Contributor

This PR contains ChangeManagementAdapter concept.
Apart of using the "Github issues" to track deployment status of puppet applies on nodes. This new Adapter enables to use any change management systems like JIRA/SNOW/internal ticket systems with additional logic(that is specific to each company). It has a bunch of simplified functions that are integrated with hecklerd/main.go. Based upon return values hecklerd either continue to apply puppet changes on nodes or skip them.
[1. In case of not able to create a Change Request 2. In case there is freeze on code/config changes in PROD env]

It has 2 important things

  1. CM Adapter and cm_agent_cli (part of this PR)
  2. CM CLI provider (a CLI that will interact with JIRA/SNOW/interact ticket). Every company has their own logic of creating/ updating Change Requests and determining if there is code/config freeze or deployment holiday ... These type of logics will be part of CM CLI provider.CLI developer has to implement a set of functions that are exposed in CM Interface and provide responses in the format that are exposed in cm_models package.
  3. hecklerd_conf.yaml has new config section that contains the path of CLI.

@venkataramant venkataramant force-pushed the changemanagement_integration_dev branch 3 times, most recently from 7c69c2d to f9ea87c Compare October 24, 2022 22:25
@venkataramant venkataramant force-pushed the changemanagement_integration_dev branch from f9ea87c to 19f6897 Compare October 24, 2022 22:34
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.

None yet

1 participant