Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
0b1699d
Migrate away from deprecated wrappers
majst01 Dec 15, 2023
9e7edfe
Merge master
majst01 Apr 23, 2024
066af19
Merge master
majst01 Jun 13, 2024
e0a45ba
Update deps
majst01 Jul 8, 2024
41e9b42
Updates
majst01 Jul 10, 2024
2d97ac6
Merge master
majst01 Aug 29, 2024
89bde65
Updates
majst01 Oct 2, 2024
c6f6103
update deps again
majst01 Oct 26, 2024
bb471f9
Merge main
majst01 Oct 31, 2024
b84e1ab
Merge main
majst01 Oct 31, 2024
bf5fc97
Update mockery
majst01 Oct 31, 2024
1d62b77
Migrate to testcontainer postgres module
majst01 Oct 31, 2024
75a2d12
Fix
majst01 Oct 31, 2024
96fbe89
Update deps to fix CVEs
majst01 Nov 5, 2024
b24a75b
Updates
majst01 Nov 11, 2024
94274c4
Update deps
majst01 Dec 7, 2024
935baf1
Update protoc
majst01 Jan 7, 2025
b8ef79d
Update mockery
majst01 Jan 7, 2025
e5489e5
Updates
majst01 Jan 24, 2025
b102710
Update to go-1.24
majst01 Feb 19, 2025
31f2d48
merge master
majst01 Mar 17, 2025
44373e3
Merge master
majst01 Mar 24, 2025
bb93527
Merge branch 'master' of https://github.com/metal-stack/masterdata-ap…
majst01 Apr 22, 2025
6517a66
Merge main
majst01 Apr 22, 2025
c289549
Fix docker tags
majst01 Apr 22, 2025
a379ed2
Merge branch 'master' of https://github.com/metal-stack/masterdata-ap…
majst01 Apr 22, 2025
57557af
Fix tag creation
majst01 Apr 22, 2025
577985f
Updates
majst01 Apr 28, 2025
634399e
Migrate to connect-rpc
majst01 Apr 29, 2025
c00741f
Fix tests
majst01 Apr 29, 2025
99a31c1
Fix build
majst01 Apr 29, 2025
6cd8917
Fixes
majst01 Apr 30, 2025
8604309
Remove unused
majst01 Apr 30, 2025
12f7c32
Keep apiversion v1
majst01 Apr 30, 2025
8e90e50
Update deps
majst01 Jul 4, 2025
70d9834
Merge master
majst01 Jul 24, 2025
76c4933
Fix manifest
majst01 Jul 24, 2025
7631515
Merge master
majst01 Sep 3, 2025
3f62a2a
Fix tests
majst01 Sep 5, 2025
da8159e
Update deps
majst01 Sep 6, 2025
c95105e
Merge main into connect (#134)
Gerrit91 Oct 6, 2025
513f2cf
Migrate to connect-simple
majst01 Oct 6, 2025
b270927
Fix tests
majst01 Oct 7, 2025
ec436ed
Fix merge conflict
majst01 Oct 7, 2025
7e2a39e
Revert req renaming
majst01 Oct 7, 2025
4002011
Formatting
majst01 Oct 7, 2025
9e9f80d
One more
majst01 Oct 7, 2025
778e027
go mod update
majst01 Oct 8, 2025
a83f5da
Update postgres
majst01 Oct 8, 2025
547dc71
Update deps
majst01 Oct 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: actions/checkout@v5

- name: Setup Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version-file: 'go.mod'
cache: false
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN apk -U add curl \
${GRPC_HEALTH_PROBE_URL}/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-amd64 \
&& chmod +x /bin/grpc_health_probe

FROM gcr.io/distroless/static-debian12:nonroot
FROM gcr.io/distroless/static-debian13:nonroot
WORKDIR /
COPY --from=health-downloader /bin/grpc_health_probe /bin/grpc_health_probe
COPY bin/server /masterdata-api
Expand Down
10 changes: 2 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ server: protoc generate
-X 'github.com/metal-stack/v.Revision=$(GITVERSION)' \
-X 'github.com/metal-stack/v.GitSHA1=$(SHA)' \
-X 'github.com/metal-stack/v.BuildDate=$(BUILDDATE)'" \
-o bin/server server/main.go
-o bin/server github.com/metal-stack/masterdata-api/cmd/server
strip bin/server

.PHONY: client
Expand All @@ -63,18 +63,12 @@ mocks:

.PHONY: postgres-up
postgres-up: postgres-rm
docker run -d --name masterdatadb -p 5432:5432 -e POSTGRES_PASSWORD="password" -e POSTGRES_USER="masterdata" -e POSTGRES_DB="masterdata" postgres:16-alpine
docker run -d --name masterdatadb -p 5432:5432 -e POSTGRES_PASSWORD="password" -e POSTGRES_USER="masterdata" -e POSTGRES_DB="masterdata" postgres:18-alpine

.PHONY: postgres-rm
postgres-rm:
docker rm -f masterdatadb || true

.PHONY: certs
certs:
cd certs && cfssl gencert -initca ca-csr.json | cfssljson -bare ca -
cd certs && cfssl gencert -ca=ca.pem -ca-key=ca-key.pem -config=ca-config.json -profile client-server server.json | cfssljson -bare server -
cd certs && cfssl gencert -ca=ca.pem -ca-key=ca-key.pem -config=ca-config.json -profile client client.json | cfssljson -bare client -

.PHONY: mini-lab-push
mini-lab-push:
docker build -t metalstack/masterdata-api:latest .
Expand Down
273 changes: 273 additions & 0 deletions api/v1/apiv1connect/project.connect.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading