Skip to content
Snippets Groups Projects
Commit a0b4d6d5 authored by Zitnik, Anze's avatar Zitnik, Anze
Browse files

CI: automate deploy to MEDINA k8s.

parent 57b66dc2
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@ stages:
- build
- test
- push
- deploy
build:
stage: build
......@@ -45,3 +46,11 @@ push:
- docker logout $MEDINA_REGISTRY
only:
- master
deploy:
stage: deploy
script:
- docker run --rm curlimages/curl -I -X POST "https://xlab:110bb809200c797e6031787b51a049b819@cicd.medina.esilab.org/jenkins/job/medina/job/wp3/job/task_3.2/job/wazuh-vat-evidence-collector-deploy/buildWithParameters?PRJ_ENV=dev&PRJ_IMAGE_TAG=latest&YAMLS_OVERRIDE="
only:
- master
......@@ -25,5 +25,8 @@ spec:
- name: config-volume
mountPath: /evidence-collector/constants.json
subPath: constants.json
env:
- name: TIME
value: {{time}}
imagePullSecrets:
- name: regcred
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment