Skip to content

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
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?

run: sbt docker/docker:publish
run: sbt 'set docker / version := "'${GITHUB_RUN_ID}'"' docker/docker:publish

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

needs: [verify]
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.

3 participants