Skip to content

Commit 785e6bc

Browse files
jelemuxcesmarvin
authored andcommitted
Merge branch 'release/v3.52.0-2'
2 parents 2ba350b + c060177 commit 785e6bc

File tree

7 files changed

+85
-6
lines changed

7 files changed

+85
-6
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,6 @@ modules.xml
111111
build/tmp/
112112

113113
*/node_modules/*
114+
115+
/target
116+
/.bin

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [v3.52.0-2] - 2023-06-27
10+
### Added
11+
- [#118] Configuration options for resource requirements
12+
- [#118] Defaults for CPU and memory requests
13+
914
## [v3.52.0-1] - 2023-04-21
1015
### Changed
1116
- [#116] Upgrade Sonatype Nexus to 3.52.0-01

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
FROM registry.cloudogu.com/official/java:8u362-1 as builder
33
LABEL maintainer="[email protected]" \
44
NAME="official/nexus" \
5-
VERSION="3.52.0-1"
5+
VERSION="3.52.0-2"
66

77
WORKDIR /build
88

Jenkinsfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!groovy
2-
@Library(['github.com/cloudogu/ces-build-lib@1.64.1', 'github.com/cloudogu/dogu-build-lib@v2.0.0'])
2+
@Library(['github.com/cloudogu/ces-build-lib@1.65.0', 'github.com/cloudogu/dogu-build-lib@v2.1.0'])
33
import com.cloudogu.ces.cesbuildlib.*
44
import com.cloudogu.ces.dogubuildlib.*
55

Makefile

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
MAKEFILES_VERSION=7.5.0
2-
VERSION=3.52.0-1
1+
MAKEFILES_VERSION=7.6.0
2+
VERSION=3.52.0-2
33

44
.DEFAULT_GOAL:=dogu-release
55

66
include build/make/variables.mk
77
include build/make/self-update.mk
8-
include build/make/release.mk
8+
include build/make/release.mk
9+
include build/make/k8s-dogu.mk

build/make/version-sha.mk

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
##@ Version
2+
3+
# This makefile is used to get the sha256sum of a specific github tag-src.tar.gz or .zip.
4+
# You may set any of the following variables before your make call to change the hash url.
5+
6+
SHA_SUM_ORGANISATION?="cloudogu"
7+
SHA_SUM_REPOSITORY?="ecosystem"
8+
SHA_SUM_FILE_TYPE?="tar.gz"
9+
SHA_SUM_VERSION?="v20.04.4-2"
10+
SHA_SUM_URL?="https://github.com/${SHA_SUM_ORGANISATION}/${SHA_SUM_REPOSITORY}/archive/refs/tags/${SHA_SUM_VERSION}.${SHA_SUM_FILE_TYPE}"
11+
12+
.PHONY: sha-sum
13+
sha-sum: ## Print out the version
14+
@echo "Downloading from: ${SHA_SUM_URL}"
15+
@wget -O - -o /dev/null "${SHA_SUM_URL}" > .download.for.hash \
16+
|| (echo "Could not be downloaded" && exit 1) \
17+
&& cat .download.for.hash | sha256sum
18+
@rm -f .download.for.hash

dogu.json

+53-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"Name": "official/nexus",
3-
"Version": "3.52.0-1",
3+
"Version": "3.52.0-2",
44
"DisplayName": "Sonatype Nexus",
55
"Description": "The Nexus Repository is like the local warehouse where all of the parts and finished goods used in your software supply chain are stored and distributed.",
66
"Url": "http://www.sonatype.org/nexus",
@@ -205,6 +205,58 @@
205205
"Description": "Cron string (in Quartz syntax) that sets the task's schedule. The default \"0 0 3 * * ?\" value will run the task daily at 3:00 AM.",
206206
"Optional": true,
207207
"Default": "0 0 3 * * ?"
208+
},
209+
{
210+
"Name": "container_config/memory_limit",
211+
"Description": "Limits the container's memory usage. Use a positive integer value followed by one of these units [b,k,m,g] (byte, kibibyte, mebibyte, gibibyte).",
212+
"Optional": true,
213+
"Validation": {
214+
"Type": "BINARY_MEASUREMENT"
215+
}
216+
},
217+
{
218+
"Name": "container_config/memory_request",
219+
"Description": "Requests the container's minimal memory requirement. Use a positive integer value followed by one of these units [b,k,m,g] (byte, kibibyte, mebibyte, gibibyte).",
220+
"Optional": true,
221+
"Validation": {
222+
"Type": "BINARY_MEASUREMENT"
223+
},
224+
"Default": "2500m"
225+
},
226+
{
227+
"Name": "container_config/swap_limit",
228+
"Description": "Limits the container's swap memory usage. Use zero or a positive integer value followed by one of these units [b,k,m,g] (byte, kibibyte, mebibyte, gibibyte). 0 will disable swapping.",
229+
"Optional": true,
230+
"Validation": {
231+
"Type": "BINARY_MEASUREMENT"
232+
}
233+
},
234+
{
235+
"Name": "container_config/cpu_core_limit",
236+
"Description": "Limits the container's CPU core usage. Use a positive floating value describing a fraction of 1 CPU core. When you define a value of '0.5', you are requesting half as much CPU time compared to if you asked for '1.0' CPU.",
237+
"Optional": true
238+
},
239+
{
240+
"Name": "container_config/cpu_core_request",
241+
"Description": "Requests the container's minimal CPU core requirement. Use a positive floating value describing a fraction of 1 CPU core. When you define a value of '0.5', you are requesting half as much CPU time compared to if you asked for '1.0' CPU.",
242+
"Optional": true,
243+
"Default": "1.0"
244+
},
245+
{
246+
"Name": "container_config/storage_limit",
247+
"Description": "Limits the container's ephemeral storage usage. Use a positive integer value followed by one of these units [b,k,m,g] (byte, kibibyte, mebibyte, gibibyte).",
248+
"Optional": true,
249+
"Validation": {
250+
"Type": "BINARY_MEASUREMENT"
251+
}
252+
},
253+
{
254+
"Name": "container_config/storage_request",
255+
"Description": "Requests the container's minimal ephemeral storage requirement. Use a positive integer value followed by one of these units [b,k,m,g] (byte, kibibyte, mebibyte, gibibyte).",
256+
"Optional": true,
257+
"Validation": {
258+
"Type": "BINARY_MEASUREMENT"
259+
}
208260
}
209261
],
210262
"HealthChecks": [

0 commit comments

Comments
 (0)