Loading csp-lmc-mid/.gitlab-ci.yml +11 −4 Original line number Diff line number Diff line Loading @@ -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 # Loading @@ -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 csp-lmc-mid/.make/k8s.mk +5 −0 Original line number Diff line number Diff line Loading @@ -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 \ Loading Loading
csp-lmc-mid/.gitlab-ci.yml +11 −4 Original line number Diff line number Diff line Loading @@ -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 # Loading @@ -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
csp-lmc-mid/.make/k8s.mk +5 −0 Original line number Diff line number Diff line Loading @@ -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 \ Loading