-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
28d238e
commit 51f9797
Showing
9 changed files
with
77 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,4 @@ updates: | |
labels: | ||
- "dependencies" | ||
commit-message: | ||
prefix: "bot" | ||
prefix: "bot" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,4 +54,3 @@ jobs: | |
|
||
- name: Test Docker image | ||
run: docker run --rm ${{ env.TEST_TAG }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ builds: | |
goarch: | ||
- amd64 | ||
- arm64 | ||
# A build with the playground included. | ||
# A build with the playground included. | ||
- id: "defradb_playground" | ||
main: ./cmd/defradb | ||
flags: | ||
|
@@ -27,30 +27,45 @@ builds: | |
goarch: | ||
- amd64 | ||
- arm64 | ||
|
||
partial: | ||
by: target | ||
|
||
archives: | ||
- id: defradb_playground | ||
builds: | ||
builds: | ||
- defradb_playground | ||
format: binary | ||
# this name template makes the OS and Arch compatible with the results of `uname`. | ||
name_template: '{{ .Binary }}_playground_{{ .Version }}_{{ .Os }}_{{- if eq .Arch "amd64" }}x86_64{{- else }}{{ .Arch }}{{ end }}{{- if .Arm }}v{{ .Arm }}{{ end }}' | ||
name_template: >- | ||
{{ .Binary }}_playground_{{ .Version }}_{{ .Os }}_ | ||
{{- if eq .Arch "amd64" }}x86_64 | ||
{{- else }}{{ .Arch }}{{ end }} | ||
{{- if .Arm }}v{{ .Arm }}{{ end }} | ||
- id: defradb | ||
builds: | ||
builds: | ||
- defradb | ||
format: binary | ||
# this name template makes the OS and Arch compatible with the results of `uname`. | ||
name_template: '{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{- if eq .Arch "amd64" }}x86_64{{- else }}{{ .Arch }}{{ end }}{{- if .Arm }}v{{ .Arm }}{{ end }}' | ||
name_template: >- | ||
{{ .Binary }}_{{ .Version }}_{{ .Os }}_ | ||
{{- if eq .Arch "amd64" }}x86_64 | ||
{{- else }}{{ .Arch }}{{ end }} | ||
{{- if .Arm }}v{{ .Arm }}{{ end }} | ||
release: | ||
target_commitish: '{{ .Commit }}' | ||
header: | | ||
DefraDB v{{ .Major }}.{{ .Minor }} is a major pre-production release. Until the stable version 1.0 is reached, the SemVer minor patch number will denote notable releases, which will give the project freedom to experiment and explore potentially breaking changes. | ||
header: > | ||
DefraDB v{{ .Major }}.{{ .Minor }} is a major pre-production release. | ||
Until the stable version 1.0 is reached, | ||
the SemVer minor patch number will denote notable releases, | ||
which will give the project freedom to experiment and explore potentially breaking changes. | ||
To get a full outline of the changes, we invite you to review the official changelog below. | ||
This release does include a Breaking Change to existing v{{ .Major }}.{{ .Minor }}.x databases. | ||
If you need help migrating an existing deployment, | ||
reach out at [email protected] or join our Discord at https://discord.gg/w7jYQVJ/. | ||
To get a full outline of the changes, we invite you to review the official changelog below. This release does include a Breaking Change to existing v{{ .Major }}.{{ .Minor }}.x databases. If you need help migrating an existing deployment, reach out at [email protected] or join our Discord at https://discord.gg/w7jYQVJ/. | ||
name_template: "v{{ .Version }} Release" | ||
|
||
changelog: | ||
|
@@ -85,21 +100,20 @@ milestones: | |
name_template: "DefraDB v{{ .Major }}.{{ .Minor }}" | ||
|
||
dockers: | ||
- ids: | ||
- "defradb_playground" | ||
image_templates: | ||
- "{{ .Env.GITHUB_REPOSITORY }}:latest" | ||
- "{{ .Env.GITHUB_REPOSITORY }}:{{ .Version }}" | ||
- "ghcr.io/{{ .Env.GITHUB_REPOSITORY }}:{{ .Version }}" | ||
use: buildx | ||
build_flag_templates: | ||
- "--pull" | ||
- "--label=org.opencontainers.image.description=DefraDB is a Peer-to-Peer Edge Database." | ||
- "--label=org.opencontainers.image.created={{ .Date }}" | ||
- "--label=org.opencontainers.image.name={{ .ProjectName }}" | ||
- "--label=org.opencontainers.image.revision={{ .FullCommit }}" | ||
- "--label=org.opencontainers.image.version={{ .Version }}" | ||
- "--label=org.opencontainers.image.source={{ .GitURL }}" | ||
- "--platform=linux/amd64" | ||
dockerfile: ./tools/goreleaser.containerfile | ||
|
||
- ids: | ||
- "defradb_playground" | ||
image_templates: | ||
- "{{ .Env.GITHUB_REPOSITORY }}:latest" | ||
- "{{ .Env.GITHUB_REPOSITORY }}:{{ .Version }}" | ||
- "ghcr.io/{{ .Env.GITHUB_REPOSITORY }}:{{ .Version }}" | ||
use: buildx | ||
build_flag_templates: | ||
- "--pull" | ||
- "--label=org.opencontainers.image.description=DefraDB is a Peer-to-Peer Edge Database." | ||
- "--label=org.opencontainers.image.created={{ .Date }}" | ||
- "--label=org.opencontainers.image.name={{ .ProjectName }}" | ||
- "--label=org.opencontainers.image.revision={{ .FullCommit }}" | ||
- "--label=org.opencontainers.image.version={{ .Version }}" | ||
- "--label=org.opencontainers.image.source={{ .GitURL }}" | ||
- "--platform=linux/amd64" | ||
dockerfile: ./tools/goreleaser.containerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters