Skip to content

Commit 46050aa

Browse files
authored
fix: stabilizing (#15)
* fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * chore(release): publish - project: libs-public-go-sdk-communication-v1alpha 0.1.0 - project: libs-public-go-sdk-configuration-v2alpha 0.1.0 - project: libs-public-go-sdk-communication-v1beta 0.1.0 - project: libs-public-go-sdk-cryptography-v2alpha 0.1.0 - project: libs-poc-go-sdk-reference-v2alpha 0.1.0 - project: libs-private-go-sdk-audit-v2alpha 0.1.0 - project: libs-public-go-sdk-system-v2alpha 0.1.0 - project: libs-public-go-sdk-event-v2alpha 0.1.0 - project: libs-public-go-connector-v2alpha 0.6.0 - project: libs-private-go-server-v2alpha 0.6.0 - project: libs-public-go-client-v2alpha 0.6.0 - project: libs-public-go-server-v2alpha 0.6.0 - project: libs-public-go-cli-v2alpha-client 0.6.0 - project: libs-public-go-sdk-v2alpha 0.6.0 - project: apps-clients-public-cli-v2alpha-oeco 0.38.0-acc5694.6 * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * chore(release): publish - project: protoc-gen-platform 0.1.1-cdf3fab.0 * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * chore(release): publish - project: apps-workloads-private-event-v2alpha-event-multiplexer 0.33.0 * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing * fix: stabilizing --------- Co-authored-by: Dimy Jeannot <>
1 parent f70839e commit 46050aa

File tree

106 files changed

+1541
-836
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+1541
-836
lines changed

.config/goreleaser/dockerize.yaml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
2+
version: 2
3+
dockers:
4+
5+
- #
6+
id: ecosystem
7+
goos: linux
8+
goarch: amd64
9+
goarm: "6"
10+
goamd64: "v2"
11+
12+
# IDs to filter the binaries/packages.
13+
#
14+
# Make sure to only include the IDs of binaries you want to `COPY` in your
15+
# Dockerfile.
16+
#
17+
# If you include IDs that don't exist or are not available for the current
18+
# architecture being built, the build of the image will be skipped.
19+
ids:
20+
- app
21+
22+
image_templates:
23+
- "openecosystems/ecosystem:latest"
24+
- "openecosystems/ecosystem:{{ .Tag }}"
25+
- "openecosystems/ecosystem:v{{ .Major }}"
26+
- "gcr.io/openecosystems/ecosystem:latest"
27+
28+
# Skips the docker build.
29+
# Could be useful if you want to skip building the windows docker image on
30+
# linux, for example
31+
#
32+
# This option is only available on GoReleaser Pro.
33+
# Templates: allowed.
34+
skip_build: false
35+
36+
skip_push: false
37+
38+
# Path to the Dockerfile (from the project root).
39+
#
40+
# Default: 'Dockerfile'.
41+
# Templates: allowed.
42+
dockerfile: "Dockerfile"
43+
44+
# Use this instead of `dockerfile` if the contents of your Dockerfile are
45+
# supposed to go through the template engine as well.
46+
#
47+
# `dockerfile` is ignored when this is set.
48+
#
49+
# This feature is only available in GoReleaser Pro.
50+
# Templates: allowed.
51+
#templated_dockerfile: "{{.Env.DOCKERFILE }}"
52+
53+
# Valid options are: docker, buildx, podman.
54+
use: docker
55+
56+
build_flag_templates:
57+
- "--pull"
58+
- "--label=org.opencontainers.image.created={{.Date}}"
59+
- "--label=org.opencontainers.image.title={{.ProjectName}}"
60+
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
61+
- "--label=org.opencontainers.image.version={{.Version}}"
62+
- "--platform=linux/arm64"
63+
64+
# Extra flags to be passed down to the push command.
65+
push_flags:
66+
- --tls-verify=false
67+

.config/goreleaser/goreleaser.cli.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ variables:
1515
aur_project_name: ""
1616
path_to_repo_root: ""
1717
path_to_project: ""
18+
nightly_tag_name: ""
1819

1920
builds:
2021
- env:
@@ -77,9 +78,3 @@ changelog:
7778
exclude:
7879
- "^docs:"
7980
- "^test:"
80-
81-
nightly:
82-
version_template: "{{ incpatch .Version }}-devel"
83-
tag_name: devel
84-
publish_release: true
85-
keep_single_release: true
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
2+
3+
version: 2
4+
variables:
5+
main: ""
6+
binary_name: ""
7+
description: ""
8+
maintainer: ""
9+
homepage: "https://www.openecosystems.com"
10+
brew_commit_author_name: ""
11+
brew_commit_author_email: ""
12+
brew_owner: openecosystems
13+
docker_io_registry_owner: openecosystems
14+
ghcr_io_registry_owner: openecosystems
15+
aur_project_name: ""
16+
path_to_repo_root: ""
17+
path_to_project: ""
18+
nightly_tag_name: ""
19+
20+
builds:
21+
- env:
22+
- CGO_ENABLED=0
23+
no_main_check: true
24+
goos:
25+
- linux
26+
- windows
27+
- darwin
28+
goarch:
29+
- amd64
30+
- arm64
31+
goarm:
32+
- "7"
33+
ignore:
34+
- goos: windows
35+
goarch: arm64
36+
- goos: windows
37+
goarm: "7"
38+
39+
archives:
40+
- format_overrides:
41+
- goos: windows
42+
format: zip
43+
name_template: >-
44+
{{ .ProjectName }}_
45+
{{- .Version }}_
46+
{{- title .Os }}_
47+
{{- if eq .Arch "amd64" }}x86_64
48+
{{- else if eq .Arch "386" }}i386
49+
{{- else }}{{ .Arch }}{{ end }}
50+
wrap_in_directory: true
51+
files:
52+
- README*
53+
- "{{ .Var.path_to_repo_root }}LICENSE*"
54+
- completions/*
55+
56+
brews:
57+
- repository:
58+
owner: "{{ .Var.brew_owner }}"
59+
name: homebrew-tap
60+
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
61+
commit_author:
62+
name: "{{ .Var.brew_commit_author_name }}"
63+
email: "{{ .Var.brew_commit_author_email }}"
64+
homepage: "{{ .Var.homepage }}"
65+
description: "{{ .Var.description }}"
66+
# dependencies:
67+
# - name: ffmpeg
68+
# - name: ttyd
69+
install: |-
70+
bin.install "{{ with .Var.binary_name }}{{ . }}{{ else }}{{ .ProjectName }}{{ end }}"
71+
bash_completion.install "completions/{{ .ProjectName }}.bash" => "{{ .ProjectName }}"
72+
zsh_completion.install "completions/{{ .ProjectName }}.zsh" => "_{{ .ProjectName }}"
73+
fish_completion.install "completions/{{ .ProjectName }}.fish"
74+
75+
changelog:
76+
sort: asc
77+
filters:
78+
exclude:
79+
- "^docs:"
80+
- "^test:"
81+
82+
nightly:
83+
version_template: "{{ incpatch .Version }}-devel"
84+
tag_name: "{{ .Var.nightly_tag_name }}/devel"
85+
publish_release: true
86+
keep_single_release: true

.config/goreleaser/goreleaser.sdk.yaml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
11
version: 2
2-
3-
project_name: ${GR_PROJECT_NAME}
4-
before:
5-
hooks:
6-
- go mod tidy
2+
variables:
3+
main: ""
4+
binary_name: ""
5+
description: ""
6+
maintainer: ""
7+
homepage: "https://www.openecosystems.com"
8+
brew_commit_author_name: ""
9+
brew_commit_author_email: ""
10+
brew_owner: openecosystems
11+
docker_io_registry_owner: openecosystems
12+
ghcr_io_registry_owner: openecosystems
13+
aur_project_name: ""
14+
path_to_repo_root: ""
15+
path_to_project: ""
16+
nightly_tag_name: ""
717

818
builds:
919
- env:
@@ -38,6 +48,6 @@ changelog:
3848

3949
nightly:
4050
version_template: "{{ incpatch .Version }}-devel"
41-
tag_name: devel
51+
tag_name: "{{ .Var.nightly_tag_name }}/devel"
4252
publish_release: true
4353
keep_single_release: true
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json
2+
3+
version: 2
4+
variables:
5+
main: ""
6+
binary_name: ""
7+
description: ""
8+
maintainer: ""
9+
homepage: "https://www.openecosystems.com"
10+
brew_commit_author_name: ""
11+
brew_commit_author_email: ""
12+
brew_owner: openecosystems
13+
docker_io_registry_owner: openecosystems
14+
ghcr_io_registry_owner: openecosystems
15+
aur_project_name: ""
16+
path_to_repo_root: ""
17+
path_to_project: ""
18+
nightly_tag_name: ""
19+
20+
builds:
21+
- env:
22+
- CGO_ENABLED=0
23+
no_main_check: true
24+
goos:
25+
- linux
26+
- windows
27+
- darwin
28+
goarch:
29+
- amd64
30+
- arm64
31+
goarm:
32+
- "7"
33+
ignore:
34+
- goos: windows
35+
goarch: arm64
36+
- goos: windows
37+
goarm: "7"
38+
binary: app
39+
40+
archives:
41+
- format_overrides:
42+
- goos: windows
43+
format: zip
44+
name_template: >-
45+
{{ .ProjectName }}_
46+
{{- .Version }}_
47+
{{- title .Os }}_
48+
{{- if eq .Arch "amd64" }}x86_64
49+
{{- else if eq .Arch "386" }}i386
50+
{{- else }}{{ .Arch }}{{ end }}
51+
wrap_in_directory: true
52+
files:
53+
- README*
54+
- "{{ .Var.path_to_repo_root }}LICENSE*"
55+
- completions/*
56+
57+
changelog:
58+
sort: asc
59+
filters:
60+
exclude:
61+
- "^docs:"
62+
- "^test:"

.config/spellcheck/platform.dic

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
dockerize
12
govulncheck
23
golangci
34
goreleaser
File renamed without changes.

.github/images/github/v2alpha.Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ RUN eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" && brew install fastl
1515
RUN eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" && brew install golangci-lint
1616
RUN eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" && brew install pnpm
1717

18+
1819
# Python Installs
1920
RUN eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" && brew install poetry flake8
2021

.github/workflows/_distribute.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,9 @@ jobs:
8181
with:
8282
version: 9
8383

84-
- run: pnpm dlx nx-cloud start-ci-run --distribute-on=".nx/workflows/distribution-config.yaml" --stop-agents-after="distribute" --with-env-vars="GORELEASER_KEY,GITHUB_TOKEN"
84+
- run: pnpm dlx nx-cloud start-ci-run --distribute-on=".nx/workflows/distribution-config.yaml" --stop-agents-after="distribute" --with-env-vars="GORELEASER_KEY,GITHUB_TOKEN,GITHUB_ACTOR"
8585
env:
86+
GITHUB_ACTOR: ${{ github.actor }}
8687
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8788
GORELEASER_KEY: ${{ secrets.goreleaser_key }}
8889

.github/workflows/_nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383

8484
- run: pnpm dlx nx-cloud start-ci-run --distribute-on=".nx/workflows/distribution-config.yaml" --stop-agents-after="nightly" --with-env-vars="GORELEASER_KEY,GITHUB_TOKEN"
8585
env:
86-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
86+
GITHUB_TOKEN: ${{ secrets.gh_pat }}
8787
GORELEASER_KEY: ${{ secrets.goreleaser_key }}
8888

8989
- name: Setup node

0 commit comments

Comments
 (0)