From 7366f827a672ac31e019444ccdcd58facc83fdc7 Mon Sep 17 00:00:00 2001 From: darox Date: Wed, 29 Nov 2023 17:40:31 +0100 Subject: [PATCH 1/2] Makefile: Add image tag, helm commands Signed-off-by: darox --- Makefile | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a6cc5dc..070b299 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,20 @@ all: help ## Build and push docker image release: - docker buildx build --platform=linux/amd64 --platform=linux/arm64 -t dariomader/twampy:latest --push $(ROOT) + docker buildx build --platform=linux/amd64 --platform=linux/arm64 -t dariomader/twampy:$(tag) --push $(ROOT) + + +## Pack, index Helm chart +helm: + make package index + +## Index helm chart +index: + helm repo index --merge install/kubernetes/index.yaml install/kubernetes --url https://github.com/darox/python3-twampy/raw/main/install/kubernetes/ + +## Package helm chart +package: + helm package ./install/kubernetes/twampy --destination ./install/kubernetes/releases ## Start Docker compose stack local-up: From b735907718679f15ba0e8ebe31fabcce65733f16 Mon Sep 17 00:00:00 2001 From: darox Date: Thu, 30 Nov 2023 08:20:31 +0100 Subject: [PATCH 2/2] Helm: bump chart to v0.0.2 Pin container image to v0.0.2. Signed-off-by: darox --- install/kubernetes/index.yaml | 19 ++++++++++++++++--- install/kubernetes/releases/twampy-0.0.2.tgz | Bin 0 -> 4005 bytes install/kubernetes/twampy/Chart.yaml | 4 ++-- install/kubernetes/twampy/values.yaml | 4 ++-- 4 files changed, 20 insertions(+), 7 deletions(-) create mode 100644 install/kubernetes/releases/twampy-0.0.2.tgz diff --git a/install/kubernetes/index.yaml b/install/kubernetes/index.yaml index 10f07bd..2935671 100644 --- a/install/kubernetes/index.yaml +++ b/install/kubernetes/index.yaml @@ -1,9 +1,22 @@ apiVersion: v1 entries: twampy: + - apiVersion: v2 + appVersion: 0.0.2 + created: "2023-11-30T08:14:15.022438+01:00" + description: A Helm chart for Kubernetes to deploy twampy. Twampy is a TWAMP client + and server implementation written in Python. Orginally developed by Nokia and + customized by https://github.com/darox/python3-twampy. + digest: 8e729082d60a023e34113740474f6a5bd3e44273cc593eebc6baf3c2e86e0380 + icon: https://raw.githubusercontent.com/darox/python3-twampy/main/assets/icon.png + name: twampy + type: application + urls: + - https://github.com/darox/python3-twampy/raw/main/install/kubernetes/releases/twampy-0.0.2.tgz + version: 0.0.2 - apiVersion: v2 appVersion: 0.0.1 - created: "2023-11-29T12:39:25.794531+01:00" + created: "2023-11-30T08:14:15.021946+01:00" description: A Helm chart for Kubernetes to deploy twampy. Twampy is a TWAMP client and server implementation written in Python. Orginally developed by Nokia and customized by https://github.com/darox/python3-twampy. @@ -12,6 +25,6 @@ entries: name: twampy type: application urls: - - twampy/releases/twampy-0.0.1.tgz + - https://github.com/darox/python3-twampy/raw/main/install/kubernetes/releases/twampy-0.0.1.tgz version: 0.0.1 -generated: "2023-11-29T12:39:25.79329+01:00" +generated: "2023-11-30T08:14:15.020709+01:00" diff --git a/install/kubernetes/releases/twampy-0.0.2.tgz b/install/kubernetes/releases/twampy-0.0.2.tgz new file mode 100644 index 0000000000000000000000000000000000000000..b5a8f7d1727baf7941530b85759f5a3b1f8133c0 GIT binary patch literal 4005 zcmV;W4_fdaiwG0|00000|0w_~VMtOiV@ORlOnEsqVl!4SWK%V1T2nbTPgYhoO;>Dc zVQyr3R8em|NM&qo0PH0D&&^0rqQW*>eQ>td!*bjL!h=|~y z2C0F#-**^#G}N=on+tO3+b)?z5pt%Gsg=D4388F2q(mhL8jzo|smDlyfun$@7AXcm z(ln-_nVmPU6ZdPc{-Z~3E^`uRDDO!CtmpsHX#e1_$^XZPdmaDpqCAG5B}STg#~F46krPvRHxLOGZ4{?kqw9Ax~1y zG(&mzO#mK%=|vezpp$BAIpbLz!59G<8OMgP-BSQcWat5eoK5I7@BlQN*QT}#Lvi4l zN;73%3Y1x_q?RlHasK{Pqn8k6I{zU#dv976uqzM~RDy;QkVPq{%yw}vYwdr^n5>RJ z;R5FLv<78I2*MTSDt12Re3)PT-c5)>w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