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

removing the helm chart #374

Merged
merged 6 commits into from
Aug 23, 2021
Merged
Show file tree
Hide file tree
Changes from 2 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
23 changes: 8 additions & 15 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 $HELM_VALUES_FILE
$KUBE_NAMESPACE parity/substrate-telemetry
ArshamTeymouri marked this conversation as resolved.
Show resolved Hide resolved
rules:
- if: '$CI_COMMIT_BRANCH == "master"'
when: on_success
Expand Down
23 changes: 0 additions & 23 deletions helm/.helmignore

This file was deleted.

24 changes: 0 additions & 24 deletions helm/Chart.yaml

This file was deleted.

22 changes: 0 additions & 22 deletions helm/templates/NOTES.txt

This file was deleted.

62 changes: 0 additions & 62 deletions helm/templates/_helpers.tpl

This file was deleted.

76 changes: 0 additions & 76 deletions helm/templates/core-deployment.yaml

This file was deleted.

29 changes: 0 additions & 29 deletions helm/templates/core-hpa.yaml

This file was deleted.

62 changes: 0 additions & 62 deletions helm/templates/core-ingress.yaml

This file was deleted.

19 changes: 0 additions & 19 deletions helm/templates/core-service.yaml

This file was deleted.

32 changes: 0 additions & 32 deletions helm/templates/core-servicemonitor.yaml

This file was deleted.

Loading