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 stop command #7966
Merged
Merged
add stop command #7966
Conversation
This file contains 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
👷 Deploy Preview for chef-automate processing.
|
github-actions
bot
added
the
documentation
Anything related to the Automate docs.
label
Jun 15, 2023
Sahiba3108
requested review from
daveaugustus,
iamazzeez,
Dmaddu,
YashviJain01 and
SanjuPal01
June 16, 2023 06:59
Please test it on standalone automate and in dev mode as well |
Tested on Standalone and Dev Mode as well. Working fine @YashviJain01 |
Sahiba3108
force-pushed
the
sahiba/chef712-stop-command
branch
from
June 19, 2023 08:29
6d929ed
to
b74c355
Compare
Dmaddu
approved these changes
Jun 19, 2023
ArvinthC3000
approved these changes
Jun 19, 2023
Signed-off-by: Sahiba3108 <sgoyal@progress.com>
Signed-off-by: Sahiba3108 <sgoyal@progress.com>
Signed-off-by: Sahiba3108 <sgoyal@progress.com>
Signed-off-by: Sahiba3108 <sgoyal@progress.com>
Signed-off-by: Sahiba3108 <sgoyal@progress.com>
Dmaddu
force-pushed
the
sahiba/chef712-stop-command
branch
from
June 19, 2023 18:05
b74c355
to
3344c7b
Compare
SonarQube Quality Gate |
iamazzeez
pushed a commit
that referenced
this pull request
Jun 20, 2023
* add stop command Signed-off-by: Sahiba3108 <sgoyal@progress.com> * update documentation for stop command Signed-off-by: Sahiba3108 <sgoyal@progress.com> * fix code smell Signed-off-by: Sahiba3108 <sgoyal@progress.com> * fix pipeline Signed-off-by: Sahiba3108 <sgoyal@progress.com> * add constant for stop command Signed-off-by: Sahiba3108 <sgoyal@progress.com> --------- Signed-off-by: Sahiba3108 <sgoyal@progress.com>
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.
🔩 Description: What code changed, and why?
Added stop command for HA which can be run from bastion node to stop the services of automate, chef_server, postgresql, opensearch.
⛓️ Related Resources
https://chefio.atlassian.net/browse/CHEF-712
👍 Definition of Done
Added stop command for HA which can be run from bastion node to stop the services of automate, chef_server, postgresql, opensearch. You can also provide any particular ip of which you want to stop the services.
Tested on Standalone Automate, Dev Mode and HA deployments.
👟 How to Build and Test the Change
Install this cli package: sahiba3108/automate-cli/0.1.0/20230615120402
Then you can run stop command. Some of the examples are:
You can run the same for PG and OS as well.
Doc Link: https://deploy-preview-7966--chef-automate.netlify.app/automate/cli_chef_automate_ha/#chef-automate-stop
✅ Checklist
All PRs must tick these:
With occasional exceptions, all PRs from Progress employees must tick these:
make spell
in any component directory)All PRs from Progress employees should tick these if appropriate:
Please add a note next to any checkbox above if you are NOT ticking it.
📷 Screenshots, if applicable