Skip to content

Helm & docker improvements #1561

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

Merged
merged 12 commits into from
Aug 4, 2025
Merged

Helm & docker improvements #1561

merged 12 commits into from
Aug 4, 2025

Conversation

paapug
Copy link
Contributor

@paapug paapug commented Jul 31, 2025

This PR:

  • tags docker images with incremental GITHUB_RUN_ID
  • removes helm chart publishing (the repo is archived)
  • updates postgres helm chart repository url to oci:// (https is no longer available)
  • adds java opts, logback json encoding, liveness & readiness initial delay configuration to helm chart
  • renames deploy job to release (as it cerates a GH release)

@paapug
Copy link
Contributor Author

paapug commented Jul 31, 2025

Ready for merge

@paapug paapug requested a review from adamw July 31, 2025 15:18
@@ -20,3 +21,4 @@ data:
OTEL_EXPORTER_OTLP_PROTOCOL: "{{ .Values.bootzooka.otel.protocol }}"
OTEL_SERVICE_NAME: "{{ .Values.bootzooka.otel.service_name }}"
OTEL_METRIC_EXPORT_INTERVAL: "{{ .Values.bootzooka.otel.metric_export_interval }}"
LOGBACK_JSON_ENCODE: "{{ .Values.bootzooka.logback_json_encode }}"
Copy link
Member

Choose a reason for hiding this comment

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

this doesn't seem to be used anywhere in the code, are you sure this does something? ;)

Copy link
Member

Choose a reason for hiding this comment

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

bump

Copy link
Member

Choose a reason for hiding this comment

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

@paapug this got merged, but is this setting needed?


deploy:
Copy link
Member

Choose a reason for hiding this comment

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

Not necessarily in scope, but I think this can be removed - we don't publish tag-based releases. It was a failed experiments some years ago

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed

runs-on: ubuntu-24.04

if: github.ref == 'refs/heads/master'
Copy link
Member

Choose a reason for hiding this comment

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

you don't need the github.event_name != 'pull_request' check? so that this doesn't run on PRs to master?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's enough, for pull requests the github.ref is set to refs/pull/<pr_number>/merge.

@paapug paapug requested a review from adamw August 1, 2025 10:13
version: "v${{ env.VERSION }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: sbt 'set docker / version := "'${GITHUB_RUN_ID}'"' docker/docker:publish
Copy link
Member

Choose a reason for hiding this comment

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

so this will generate what kind of docker tags?

Copy link
Contributor Author

@paapug paapug Aug 1, 2025

Choose a reason for hiding this comment

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

softwaremill/bootzooka:16651072967, commit hash will be added as separate PR

Copy link
Member

Choose a reason for hiding this comment

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

ok

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Update: added as a part of this PR

@paapug paapug requested a review from adamw August 4, 2025 07:49
@paapug paapug merged commit 5db153b into master Aug 4, 2025
11 checks passed
@paapug paapug deleted the feature/helm-improvements branch August 4, 2025 08:07
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