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

[fix] Retool internal versions are not semver compliant, so ensure that our helm chart is able to support all version formats #196

Merged
merged 7 commits into from
Dec 13, 2024

Conversation

jjlgao
Copy link
Contributor

@jjlgao jjlgao commented Nov 22, 2024

No description provided.

@jjlgao jjlgao requested a review from june-xu November 22, 2024 19:50
…at our helm chart is able to support all version formats
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 ) ) ) }}
Copy link
Contributor

@june-xu june-xu Nov 22, 2024

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

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link

@mertbozfakioglu mertbozfakioglu left a 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

@@ -27,7 +27,7 @@ jobs:
version: v3.6.3
- uses: actions/setup-python@v4
with:
python-version: 3.7
python-version: 3.12
Copy link
Contributor Author

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

Copy link
Contributor

@june-xu june-xu left a 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

@jjlgao jjlgao merged commit 43bd3c7 into main Dec 13, 2024
12 checks passed
kcheng16 pushed a commit that referenced this pull request Dec 17, 2024
…at our helm chart is able to support all version formats (#196)
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.

3 participants