Skip to content

Commit 3e8a12d

Browse files
committed
Merge branch 'feat/update-event' into 'master'
feat: allow to log updated kube events See merge request qovery/backend/k8s-event-logger!1
2 parents 46b4208 + 6f5a0b4 commit 3e8a12d

File tree

4 files changed

+81
-1593
lines changed

4 files changed

+81
-1593
lines changed

.gitlab-ci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
image: public.ecr.aws/r3m4q3r9/qovery-ci:engine-2025-01-03T13-54-40
2+
services:
3+
- docker:dind
4+
variables:
5+
FF_GITLAB_REGISTRY_HELPER_IMAGE: 1
6+
DOCKER_DRIVER: overlay2
7+
DOCKER_HOST: tcp://localhost:2375
8+
DOCKER_BUILDKIT: 1
9+
DOCKER_TLS_CERTDIR: ""
10+
DOCKER_IMAGE_NAME: $AWS_PROD_ECR_PUBLIC_REGISTRY/k8s-event-logger-rs
11+
IMAGE_TAG_NAME: $CI_COMMIT_SHORT_SHA
12+
IMAGE_COMMIT_SHA: $CI_COMMIT_SHA
13+
IMAGE_STORE: $CI_PROJECT_DIR/docker_image
14+
stages:
15+
- build
16+
- release
17+
18+
build-image:
19+
stage: release
20+
before_script:
21+
- ci_helper init_buildkit_builder "${CI_JOB_NAME}" 4 7
22+
- ci_helper docker_login_public_prod_ecr
23+
after_script:
24+
- ci_helper teardown_buildkit_builder "${CI_JOB_NAME}"
25+
script:
26+
- |-
27+
eval $(ci_helper print_aws_ctx 'CI_BUILDER')
28+
docker buildx build --platform=linux/amd64,linux/arm64 \
29+
-t $DOCKER_IMAGE_NAME:$IMAGE_TAG_NAME \
30+
--push .
31+
interruptible: true
32+
when: manual
33+
tags:
34+
- vm-250mcpu-1gmem-0g
35+
only:
36+
- master

go.mod

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ require (
1818
github.com/go-openapi/swag v0.23.0 // indirect
1919
github.com/gogo/protobuf v1.3.2 // indirect
2020
github.com/golang/protobuf v1.5.4 // indirect
21-
github.com/google/gnostic v0.7.0 // indirect
2221
github.com/google/gnostic-models v0.6.9-0.20230804172637-c7be7c783f49 // indirect
2322
github.com/google/go-cmp v0.6.0 // indirect
2423
github.com/google/gofuzz v1.2.0 // indirect
@@ -32,16 +31,14 @@ require (
3231
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
3332
github.com/spf13/pflag v1.0.5 // indirect
3433
github.com/x448/float16 v0.8.4 // indirect
35-
golang.org/x/net v0.28.0 // indirect
34+
golang.org/x/net v0.38.0 // indirect
3635
golang.org/x/oauth2 v0.22.0 // indirect
37-
golang.org/x/sys v0.24.0 // indirect
38-
golang.org/x/term v0.23.0 // indirect
39-
golang.org/x/text v0.17.0 // indirect
36+
golang.org/x/sys v0.31.0 // indirect
37+
golang.org/x/term v0.30.0 // indirect
38+
golang.org/x/text v0.23.0 // indirect
4039
golang.org/x/time v0.6.0 // indirect
41-
google.golang.org/appengine v1.6.8 // indirect
4240
google.golang.org/protobuf v1.34.2 // indirect
4341
gopkg.in/inf.v0 v0.9.1 // indirect
44-
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
4542
gopkg.in/yaml.v2 v2.4.0 // indirect
4643
gopkg.in/yaml.v3 v3.0.1 // indirect
4744
k8s.io/klog/v2 v2.130.1 // indirect

0 commit comments

Comments
 (0)