Commit a4faa6f1 authored by Elisabetta Giani's avatar Elisabetta Giani
Browse files

CT-147: add publihing of the csp-proto chart.

parent 37165d0d
Loading
Loading
Loading
Loading
Loading
+11 −4
Original line number Diff line number Diff line
@@ -187,6 +187,17 @@ publish:csp-lmc-mid:
  variables:
    BUILD_PATH: csp-lmc-mid

publish_chart:
  variables:
    CHARTS_TO_PUBLISH: csp-proto
  stage: publish
  tags:
  - docker-executor
  image: nexus.engageska-portugal.pt/ska-docker/deploy:0.4.1
  script:
    - curl -s https://gitlab.com/ska-telescope/stupid/raw/master/scripts/publish-charts.sh | bash
    - cd charts/ && make package

#
# Release csp-lmc-mid image on nexus
#
@@ -199,9 +210,5 @@ release csp-lmc-mid image:
  script:
    - cd $BUILD_PATH      
    - make push
  when: manual
  only:
    refs:
      - master
  variables:
    BUILD_PATH: csp-lmc-mid
+5 −0
Original line number Diff line number Diff line
@@ -127,6 +127,11 @@ localip: ## set local Minikube IP in /etc/hosts file for Ingress $(INGRESS_HOST
	echo "/etc/hosts is now: " `grep $(INGRESS_HOST) /etc/hosts`

mkcerts:  ## Make dummy certificates for $(INGRESS_HOST) and Ingress
	@if [ ! -d charts/$(HELM_CHART)/secrets ]; then \
            mkdir -p charts/$(HELM_CHART)/secrets; \
        else \
        echo "Creating secrets directory in  $(HELM_CHART)"; \
        fi
	@if [ ! -f charts/$(HELM_CHART)/secrets/tls.key ]; then \
	openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:2048 \
	   -keyout charts/$(HELM_CHART)/secrets/tls.key \