Commit 9616977a authored by Elisabetta Giani's avatar Elisabetta Giani
Browse files

CT-147: modified k8s.mk file to delete the charts repo

parent 31b85424
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -30,6 +30,13 @@ deploy: namespace mkcerts depends ## deploy the helm chart

delete: ## delete the helm chart release
	@helm uninstall $(HELM_RELEASE) --namespace $(KUBE_NAMESPACE)
	# if charts deployed locally, remove the repo charts files
	# created in charts/mid-csp/charts directory
	@if [ "a"$(CI_JOB_ID) == "a" ]; then \
	find ./charts -type f -name "tango*" -delete; \
	find ./charts -type f -name "csp-proto*" -delete; \
	find ./charts -type f -name "requirements.lock" -delete; \
	fi

install: namespace mkcerts  ## install the helm chart
	@helm install $(HELM_RELEASE) charts/$(HELM_CHART)/ \
−10.1 KiB

File deleted.

−8.64 KiB

File deleted.

+0 −9
Original line number Diff line number Diff line
dependencies:
- name: tango-base
  repository: https://gitlab.com/ska-telescope/skampi/-/raw/master/repository
  version: 0.1.1
- name: csp-proto
  repository: file://../csp-proto
  version: 0.5.3
digest: sha256:f1b7d43a364ae0179be5951171251ee99fac77741e03b381285b28a6cdcb6167
generated: "2020-09-11T11:08:19.206867376+02:00"
+4 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ else
  NAME=$(PROJECT)
endif

RELEASE_SUPPORT := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))/.make-release-support
RELEASE_SUPPORT := $(shell cp ../.release . ;dirname $(abspath $(lastword $(MAKEFILE_LIST))))/.make-release-support

ifeq ($(strip $(DOCKER_REGISTRY_HOST)),)
  DOCKER_REGISTRY_HOST = nexus.engageska-portugal.pt
@@ -57,7 +57,10 @@ build: pre-build docker-build post-build ## build the application image

pre-build:
	cp ../.release .
	cp ../Dockerfile .
post-build:
	rm .release 
	rm Dockerfile 

pre-push:

Loading