-
Notifications
You must be signed in to change notification settings - Fork 151
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
Conversation
|
Ready for merge |
| 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 }}" |
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 doesn't seem to be used anywhere in the code, are you sure this does something? ;)
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.
bump
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.
@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: |
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.
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
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.
Removed
| needs: [verify] | ||
| runs-on: ubuntu-24.04 | ||
|
|
||
| if: github.ref == 'refs/heads/master' |
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.
you don't need the github.event_name != 'pull_request' check? so that this doesn't run on PRs to master?
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.
It's enough, for pull requests the github.ref is set to refs/pull/<pr_number>/merge.
.github/workflows/bootzooka-ci.yml
Outdated
| version: "v${{ env.VERSION }}" | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| run: sbt 'set docker / version := "'${GITHUB_RUN_ID}'"' docker/docker:publish |
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.
so this will generate what kind of docker tags?
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.
softwaremill/bootzooka:16651072967, commit hash will be added as separate PR
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.
ok
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.
Update: added as a part of this PR
This PR:
GITHUB_RUN_IDoci://(https is no longer available)deployjob torelease(as it cerates a GH release)