Commit 49e5d63b authored by Federico Falconieri's avatar Federico Falconieri
Browse files

test: adds test for helm release job

test modifies job to always run, not just in tags
parent 4aa882e1
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -55,6 +55,13 @@ jobs:python:
      - local: tests/jobs/python.yml
    strategy: depend

jobs:helm:
  stage: test
  trigger:
    include:
      - local: tests/jobs/helm.yml
    strategy: depend

# child pipelines to test our off-the-shelves pipelines
pipelines:c:
  stage: test

tests/jobs/helm.yml

0 → 100644
+12 −0
Original line number Diff line number Diff line
---
include:
  - local: helm/release.yml

helm:release:
  rules:
    when: always

variables:
  CI_COMMIT_TAG: 0.1.0
  HELM_DIR: tests/mockup_projects/helm
    
+9 −0
Original line number Diff line number Diff line
---
apiVersion: v2
name: test
description: test

type: application
version: 0.1.0

appVersion: "0.1.0"
+8 −0
Original line number Diff line number Diff line
---
apiVersion: v1
kind: ConfigMap
metadata:
  name: "{{ .Release.Name }}-config"
  namespace: {{ .Release.Namespace }}
data:
  TZ: 'Europe/Amsterdam'