-
Notifications
You must be signed in to change notification settings - Fork 59
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
[fix] Retool internal versions are not semver compliant, so ensure that our helm chart is able to support all version formats #196
Conversation
… Java dbconnecto…"" This reverts commit 52a80d2.
…at our helm chart is able to support all version formats
f0f4ffe
to
a439f3e
Compare
Older versions of Retool should always have a semver-compatible tag; only internal versions should be noncompliant. | ||
*/}} | ||
{{- $valid_retool_version_regexp := "([0-9]+]\\.[0-9]+(\\.[0-9]+)?(-[a-zA-Z0-9]+)?)" }} | ||
{{- $retool_version_with_java_dbconnector_opt_out := ( or ( not ( regexMatch $valid_retool_version_regexp $.Values.image.tag ) ) ( semverCompare ">= 3.93.0-0" ( regexFind $valid_retool_version_regexp $.Values.image.tag ) ) ) }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reading this is tough in line, is there a helper file we can add this to lol
we can maybe put the comments in there too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
an example of a helm function: https://github.com/tryretool/retool-k8s/blob/e053bbf66ad991dbed245adf745aa4605cded79d/terragrunt/src/managed-self-hosted/helm/retool-fork/charts/postgresql/charts/common/templates/_ingress.tpl#L36-L42 we can put it in a file called _helpers.tpl
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM but I'd need to defer to someone from infra for the approval
88317f8
to
4173a56
Compare
@@ -27,7 +27,7 @@ jobs: | |||
version: v3.6.3 | |||
- uses: actions/setup-python@v4 | |||
with: | |||
python-version: 3.7 | |||
python-version: 3.12 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is because github changed the ubuntu OS so now only python 3.9-3.12 are supported
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice! thanks for the refactor
…at our helm chart is able to support all version formats (#196)
No description provided.