Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile: add image tag, helm commands. Helm: bump chart to v0.0.2 #13

Merged
merged 2 commits into from
Nov 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
19 changes: 16 additions & 3 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 @@ -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"
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