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

Refactor bin scripts #343

Open
aarnq opened this issue Jan 12, 2024 · 1 comment
Open

Refactor bin scripts #343

aarnq opened this issue Jan 12, 2024 · 1 comment
Labels
kind/improvement Improvement of existing features, e.g. code cleanup or optimizations.

Comments

@aarnq
Copy link
Contributor

aarnq commented Jan 12, 2024

Is your feature request related to a problem? Please describe.

With the addition of the managed upgrade script we should make a better effort to refactor the bin scripts so we improve the safety of running it by including checks used for run-playbook and make them use the same code path to invoke ansible.

Describe the solution you'd like

Ideally I would want to have a simpler command like run-playbook-managed to run any playbook in a managed way, and then have the managed upgrade as a default specialised function that is maintained and QA'ed per release to ensure that it can complete an upgrade.

Definition of done:

Bin scripts are refactored, and the managed upgrade script has the same protection and invocation as the regular run-playbook.

@aarnq aarnq added the kind/improvement Improvement of existing features, e.g. code cleanup or optimizations. label Jan 12, 2024
@aarnq
Copy link
Contributor Author

aarnq commented Apr 22, 2024

@elastisys/scrum-masters could we prioritise this issue to make the managed upgrade the way to upgrade?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/improvement Improvement of existing features, e.g. code cleanup or optimizations.
Projects
None yet
Development

No branches or pull requests

1 participant