mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-05-31 00:01:06 +00:00
removing the helm chart
This commit is contained in:
+8
-15
@@ -25,23 +25,15 @@ stages:
|
||||
.deploy-k8s: &deploy-k8s
|
||||
image: paritytech/kubetools:3.5.3
|
||||
script:
|
||||
- echo "Deploying using image $BACKEND_IMAGE_FULL_NAME"
|
||||
- echo "Using Helm `helm version --short`"
|
||||
- export KUBERNETES_VERSION_TAG="$CI_PIPELINE_ID"
|
||||
- |-
|
||||
echo "Deploying using image $BACKEND_IMAGE_FULL_NAME"
|
||||
echo "Using Helm `helm version --short`"
|
||||
export KUBERNETES_VERSION_TAG="$CI_PIPELINE_ID"
|
||||
sed -i "s/version:.*/version: $KUBERNETES_VERSION_TAG/" ./helm/Chart.yaml
|
||||
- |-
|
||||
sed -i "s/appVersion:.*/appVersion: $KUBERNETES_VERSION_TAG/" ./helm/Chart.yaml
|
||||
# validate the chart
|
||||
- helm template
|
||||
--create-namespace
|
||||
--namespace $KUBE_NAMESPACE
|
||||
--set image.backend.repository="${CONTAINER_REGISTRY}/${BACKEND_CONTAINER_REPO}"
|
||||
--set image.backend.tag="${CI_COMMIT_SHORT_SHA}"
|
||||
--set image.frontend.repository="${CONTAINER_REGISTRY}/${FRONTEND_CONTAINER_REPO}"
|
||||
--set image.frontend.tag="${CI_COMMIT_SHORT_SHA}"
|
||||
$KUBE_NAMESPACE ./helm/
|
||||
# install the chart into the relevant cluster
|
||||
- |-
|
||||
helm repo add parity https://paritytech.github.io/helm-charts/
|
||||
helm repo update
|
||||
- helm upgrade
|
||||
--install
|
||||
--atomic
|
||||
@@ -52,7 +44,8 @@ stages:
|
||||
--set image.backend.tag="${CI_COMMIT_SHORT_SHA}"
|
||||
--set image.frontend.repository="${CONTAINER_REGISTRY}/${FRONTEND_CONTAINER_REPO}"
|
||||
--set image.frontend.tag="${CI_COMMIT_SHORT_SHA}"
|
||||
$KUBE_NAMESPACE ./helm/
|
||||
--values https://gitlab.parity.io/parity/infrastructure/cloud-infra/-/raw/master/parity-stg/kubernetes/helm/substrate-telemetry/values-parity.yaml
|
||||
$KUBE_NAMESPACE parity/substrate-telemetry
|
||||
rules:
|
||||
- if: '$CI_COMMIT_BRANCH == "master"'
|
||||
when: on_success
|
||||
|
||||
Reference in New Issue
Block a user