mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-01-28 18:18:41 +00:00
Compare commits
1 Commits
ci-pull-re
...
versioning
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5b2da61a74 |
@@ -3,7 +3,7 @@ set -e
|
|||||||
|
|
||||||
if [ -e $1 ]; then
|
if [ -e $1 ]; then
|
||||||
echo "Please pass version in the first argument"
|
echo "Please pass version in the first argument"
|
||||||
echo "Example: $0 v0.0.2"
|
echo "Example: $0 0.2.0"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -12,8 +12,14 @@ talos_version=$(awk '/^version:/ {print $2}' packages/core/installer/images/talo
|
|||||||
|
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
sed -i "/^TAG / s|=.*|= ${version}|" \
|
sed -i "/^TAG / s|=.*|= v${version}|" \
|
||||||
packages/apps/http-cache/Makefile \
|
packages/apps/http-cache/Makefile \
|
||||||
packages/apps/kubernetes/Makefile \
|
packages/apps/kubernetes/Makefile \
|
||||||
packages/core/installer/Makefile \
|
packages/core/installer/Makefile \
|
||||||
packages/system/dashboard/Makefile
|
packages/system/dashboard/Makefile
|
||||||
|
|
||||||
|
sed -i "/^VERSION / s|=.*|= ${version}|" \
|
||||||
|
packages/core/Makefile \
|
||||||
|
packages/system/Makefile
|
||||||
|
make -C packages/core fix-chartnames
|
||||||
|
make -C packages/system fix-chartnames
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
|
VERSION := 0.2.0
|
||||||
|
|
||||||
gen: fix-chartnames
|
gen: fix-chartnames
|
||||||
|
|
||||||
fix-chartnames:
|
fix-chartnames:
|
||||||
find . -name Chart.yaml -maxdepth 2 | awk -F/ '{print $$2}' | while read i; do printf "name: cozy-%s\nversion: 1.0.0\n" "$$i" > "$$i/Chart.yaml"; done
|
find . -name Chart.yaml -maxdepth 2 | awk -F/ '{print $$2}' | while read i; do printf "name: cozy-%s\nversion: $(VERSION)\n" "$$i" > "$$i/Chart.yaml"; done
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-fluxcd
|
name: cozy-fluxcd
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-installer
|
name: cozy-installer
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-platform
|
name: cozy-platform
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
OUT=../../_out/repos/system
|
OUT=../../_out/repos/system
|
||||||
|
VERSION := 0.2.0
|
||||||
|
|
||||||
gen: fix-chartnames
|
gen: fix-chartnames
|
||||||
|
|
||||||
@@ -9,4 +10,4 @@ repo: fix-chartnames
|
|||||||
cd "$(OUT)" && helm repo index .
|
cd "$(OUT)" && helm repo index .
|
||||||
|
|
||||||
fix-chartnames:
|
fix-chartnames:
|
||||||
find . -name Chart.yaml -maxdepth 2 | awk -F/ '{print $$2}' | while read i; do printf "name: cozy-%s\nversion: 1.0.0\n" "$$i" > "$$i/Chart.yaml"; done
|
find . -name Chart.yaml -maxdepth 2 | awk -F/ '{print $$2}' | while read i; do printf "name: cozy-%s\nversion: $(VERSION)\n" "$$i" > "$$i/Chart.yaml"; done
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-capi-operator
|
name: cozy-capi-operator
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-capi-providers
|
name: cozy-capi-providers
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-cert-manager-issuers
|
name: cozy-cert-manager-issuers
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-cert-manager
|
name: cozy-cert-manager
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-cilium
|
name: cozy-cilium
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-dashboard
|
name: cozy-dashboard
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-grafana-oncall
|
name: cozy-grafana-oncall
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-grafana-operator
|
name: cozy-grafana-operator
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-ingress-nginx
|
name: cozy-ingress-nginx
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-kamaji-etcd
|
name: cozy-kamaji-etcd
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-kamaji
|
name: cozy-kamaji
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-kubeovn
|
name: cozy-kubeovn
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-kubevirt-cdi-operator
|
name: cozy-kubevirt-cdi-operator
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-kubevirt-cdi
|
name: cozy-kubevirt-cdi
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-kubevirt-csi-node
|
name: cozy-kubevirt-csi-node
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-kubevirt-operator
|
name: cozy-kubevirt-operator
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-kubevirt
|
name: cozy-kubevirt
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-linstor
|
name: cozy-linstor
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-mariadb-operator
|
name: cozy-mariadb-operator
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-metallb
|
name: cozy-metallb
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-monitoring
|
name: cozy-monitoring
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-piraeus-operator
|
name: cozy-piraeus-operator
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-postgres-operator
|
name: cozy-postgres-operator
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-rabbitmq-operator
|
name: cozy-rabbitmq-operator
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-redis-operator
|
name: cozy-redis-operator
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-telepresence
|
name: cozy-telepresence
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
name: cozy-victoria-metrics-operator
|
name: cozy-victoria-metrics-operator
|
||||||
version: 1.0.0
|
version: 0.2.0
|
||||||
|
|||||||
Reference in New Issue
Block a user