Skip to content

Commit bedca57

Browse files
dnschwarzercesmarvin
authored andcommitted
Merge branch 'release/v1.20.0-4'
2 parents 6f44915 + cfc6856 commit bedca57

18 files changed

+73
-20
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [v1.20.0-4] - 2025-04-10
10+
### Changed
11+
- Update Tomcat to 9.0.102 [#197]
12+
### Security
13+
- [#243] Fix [CVE-2025-24813](https://nvd.nist.gov/vuln/detail/CVE-2025-24813)
14+
915
## [v1.20.0-3] - 2025-02-21
1016
### Changed
1117
- Renamed table headline key from "Date" to "Date of import" (en/de)

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ARG TOMCAT_MAJOR_VERSION=9
2-
ARG TOMCAT_VERSION=9.0.96
3-
ARG TOMCAT_TARGZ_SHA512=ef3ac81debbc3a519c43d1fdb1c88ab26a8052af424d81bceccfbd6e663050a06d7aad7960fd5d11c17849829daebbebf33d92ac1158902283d0e534514aab93
2+
ARG TOMCAT_VERSION=9.0.102
3+
ARG TOMCAT_TARGZ_SHA512=cbe407f17c813d9f83cab459e603df171f2e5782c3a0cdb4cfa00b0391a89cedf865c6d8972fc7e12210c69a8467ede5939f35bb0f3b41fa173b9ee83199768a
44

55
FROM timbru31/java-node:8-jdk-18 as builder
66

@@ -75,7 +75,7 @@ FROM registry.cloudogu.com/official/java:8u432-1
7575
ARG TOMCAT_VERSION
7676

7777
LABEL NAME="official/usermgt" \
78-
VERSION="1.20.0-3" \
78+
VERSION="1.20.0-4" \
7979
maintainer="hello@cloudogu.com"
8080

8181
# mark as webapp for nginx

Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!groovy
2-
@Library(['github.com/cloudogu/dogu-build-lib@v3.0.0', 'github.com/cloudogu/ces-build-lib@4.0.1'])
2+
@Library(['github.com/cloudogu/ces-build-lib@4.2.0', 'github.com/cloudogu/dogu-build-lib@v3.1.0'])
33
import com.cloudogu.ces.cesbuildlib.*
44
import com.cloudogu.ces.dogubuildlib.*
55

@@ -293,10 +293,10 @@ void stageStaticAnalysisSonarQube() {
293293
sh "${scannerHome}/bin/sonar-scanner -Dsonar.branch.name=${env.BRANCH_NAME}"
294294
} else {
295295
echo "This branch has been detected as a miscellaneous branch."
296-
sh "${scannerHome}/bin/sonar-scanner -Dsonar.branch.name=${env.BRANCH_NAME} "
296+
sh "${scannerHome}/bin/sonar-scanner -Dsonar.branch.name=${env.BRANCH_NAME}"
297297
}
298298
}
299-
timeout(time: 2, unit: 'MINUTES') { // Needed when there is no webhook for example
299+
timeout(time: 5, unit: 'MINUTES') { // Needed when there is no webhook for example
300300
def qGate = waitForQualityGate()
301301
if (qGate.status != 'OK') {
302302
unstable("Pipeline unstable due to SonarQube quality gate failure")

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Set these to the desired values
22
ARTIFACT_ID=usermgt
3-
VERSION=1.20.0-3
3+
VERSION=1.20.0-4
44
# overwrite ADDITIONAL_LDFLAGS to disable static compilation
55
# this should fix https://github.com/golang/go/issues/13470
66
ADDITIONAL_LDFLAGS=""
77
NPM_REGISTRY_RELEASE=https://ecosystem.cloudogu.com/nexus/repository/npm-releases/
88
NPM_REGISTRY_RC=https://ecosystem.cloudogu.com/nexus/repository/npm-releasecandidates/
99
UI_SRC=app/src/main/ui
10-
MAKEFILES_VERSION=9.5.2
10+
MAKEFILES_VERSION=9.9.0
1111
.DEFAULT_GOAL:=default
1212

1313
include build/make/variables.mk

build/make/build.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
ADDITIONAL_LDFLAGS?=-extldflags -static
44
LDFLAGS?=-ldflags "$(ADDITIONAL_LDFLAGS) -X main.Version=$(VERSION) -X main.CommitID=$(COMMIT_ID)"
55
GOIMAGE?=golang
6-
GOTAG?=1.23
6+
GOTAG?=1.24
77
GOOS?=linux
88
GOARCH?=amd64
99
PRE_COMPILE?=

build/make/k8s-crd.mk

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
ARTIFACT_CRD_ID = $(ARTIFACT_ID)-crd
1+
# we set this default to maintain compatibility with CRDs that are still inside monorepos
2+
APPEND_CRD_SUFFIX ?= true
3+
ifeq ($(APPEND_CRD_SUFFIX), true)
4+
ARTIFACT_CRD_ID = $(ARTIFACT_ID)-crd
5+
else ifeq ($(APPEND_CRD_SUFFIX), false)
6+
ARTIFACT_CRD_ID = $(ARTIFACT_ID)
7+
endif
28
DEV_CRD_VERSION ?= ${VERSION}-dev
39
HELM_CRD_SOURCE_DIR ?= ${WORKDIR}/k8s/helm-crd
410
HELM_CRD_TARGET_DIR ?= $(K8S_RESOURCE_TEMP_FOLDER)/helm-crd
@@ -28,7 +34,7 @@ crd-add-labels: $(BINARY_YQ)
2834
@echo "Adding labels to CRD..."
2935
@for file in ${HELM_CRD_SOURCE_DIR}/templates/*.yaml ; do \
3036
$(BINARY_YQ) -i e ".metadata.labels.app = \"ces\"" $${file} ;\
31-
$(BINARY_YQ) -i e ".metadata.labels.\"app.kubernetes.io/name\" = \"${ARTIFACT_ID}\"" $${file} ;\
37+
$(BINARY_YQ) -i e ".metadata.labels.\"app.kubernetes.io/name\" = \"${ARTIFACT_CRD_ID}\"" $${file} ;\
3238
done
3339

3440
.PHONY: crd-helm-generate ## Generates the Helm CRD chart

build/make/k8s.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ K3S_LOCAL_REGISTRY_PORT?=30099
3636

3737
# The URL of the container-registry to use. Defaults to the registry of the local-cluster.
3838
# If RUNTIME_ENV is "remote" it is "registry.cloudogu.com/testing"
39-
CES_REGISTRY_HOST?="${K3S_CLUSTER_FQDN}:${K3S_LOCAL_REGISTRY_PORT}"
39+
CES_REGISTRY_HOST?=${K3S_CLUSTER_FQDN}:${K3S_LOCAL_REGISTRY_PORT}
4040
CES_REGISTRY_NAMESPACE ?=
4141
ifeq (${RUNTIME_ENV}, remote)
42-
CES_REGISTRY_HOST="registry.cloudogu.com"
43-
CES_REGISTRY_NAMESPACE="/testing"
42+
CES_REGISTRY_HOST=registry.cloudogu.com
43+
CES_REGISTRY_NAMESPACE=/testing
4444
endif
4545
$(info CES_REGISTRY_HOST=$(CES_REGISTRY_HOST))
4646

build/make/mocks.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
##@ Mocking
22

33
MOCKERY_BIN=${UTILITY_BIN_PATH}/mockery
4-
MOCKERY_VERSION?=v2.42.1
4+
MOCKERY_VERSION?=v2.53.3
55
MOCKERY_YAML=${WORKDIR}/.mockery.yaml
66

77
${MOCKERY_BIN}: ${UTILITY_BIN_PATH}

build/make/release.mk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ node-release: ## Start a node package release
1414
go-release: ## Start a go tool release
1515
build/make/release.sh go-tool
1616

17+
.PHONY: image-release
18+
image-release: ## Start a go tool release
19+
build/make/release.sh image
20+
1721
.PHONY: dogu-cve-release
1822
dogu-cve-release: ## Start a dogu release of a new build if the local build fixes critical CVEs
1923
@bash -c "build/make/release_cve.sh \"${REGISTRY_USERNAME}\" \"${REGISTRY_PASSWORD}\" \"${TRIVY_IMAGE_SCAN_FLAGS}\" \"${DRY_RUN}\" \"${CVE_SEVERITY}\""

build/make/self-update.mk

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,9 @@ copy-new-files:
2424
.PHONY: update-build-libs
2525
update-build-libs:
2626
@echo "Check for newer Build-Lib versions"
27-
build/make/self-update.sh buildlibs
27+
build/make/self-update.sh buildlibs
28+
29+
.PHONY: set-dogu-version
30+
set-dogu-version:
31+
@echo "Set Version of Dogu without Release"
32+
build/make/self-update.sh versions

0 commit comments

Comments
 (0)