Skip to content

Commit

Permalink
Merge pull request #13 from darox/add-image-tag
Browse files Browse the repository at this point in the history
Makefile: add image tag, helm commands. Helm: bump chart to v0.0.2
  • Loading branch information
darox authored Nov 30, 2023
2 parents 9da0ec0 + b735907 commit 8bc1b1d
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 7 deletions.
15 changes: 14 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
17 changes: 15 additions & 2 deletions install/kubernetes/index.yaml
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -14,4 +27,4 @@ entries:
urls:
- 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"
Binary file added install/kubernetes/releases/twampy-0.0.2.tgz
Binary file not shown.
4 changes: 2 additions & 2 deletions install/kubernetes/twampy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: twampy
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.
type: application
version: 0.0.1
appVersion: "0.0.1"
version: 0.0.2
appVersion: "0.0.2"
icon: https://raw.githubusercontent.com/darox/python3-twampy/main/assets/icon.png


4 changes: 2 additions & 2 deletions install/kubernetes/twampy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ sender:
repository: dariomader/twampy
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"
tag: "v0.0.2"

imagePullSecrets: []
nameOverride: ""
Expand Down Expand Up @@ -124,7 +124,7 @@ responder:
repository: dariomader/twampy
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"
tag: "v0.0.2"

imagePullSecrets: []
nameOverride: ""
Expand Down

0 comments on commit 8bc1b1d

Please sign in to comment.