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

GOP Tools upgrade #189

Merged
merged 4 commits into from
Apr 26, 2024
Merged

GOP Tools upgrade #189

merged 4 commits into from
Apr 26, 2024

Conversation

yannickchristhomas
Copy link
Contributor

No description provided.

yannickchristhomas and others added 4 commits April 25, 2024 08:59
Co-authored-by: Johannes Schnatterer <johannes.schnatterer@cloudogu.com>
Co-authored-by: Johannes Schnatterer <johannes.schnatterer@cloudogu.com>
Migrate from bash to groovy, while on it.

Why migrate?
System Property scm.initialPassword and scm.initialUser seem to no
longer work.
Instead. we can now use env vars via "extraEnv" value.
However, these are a string, not an object. This makes them very hard to
 set via helm CLI.
So instead of fiddling through the bash quoting hell, I decided to move
to a templated values.yaml which makes the whole process easier to read
and maintain.

While migrating to groovy, it seemed that the logic of scmm.url and
.host is more complex than necessary.
Also the "scmm-scm-manager.default.svc.cluster.local" is repeated in
multiple classes instead of being centralized in ApplicationConfigurator
.

Refactoring those would have been a good idea but was too much for the
current scope: Upgrading SCMM.

Migrating to groovy is a good first step.
Let's do the refactoring next time.

BTW: init-scmm.sh IS_LOCAL was unused and could be removed
@schnatterer schnatterer merged commit 9e28e51 into main Apr 26, 2024
2 checks passed
@schnatterer schnatterer deleted the feature/tool-upgrades branch April 26, 2024 14:13
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