Преглед изворни кода

Merge pull request #13945 from richardkchapman/helmtest

HPCC-24370 Add some regression tests for Helm charts

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday пре 5 година
родитељ
комит
1c7ca7067d
1 измењених фајлова са 45 додато и 0 уклоњено
  1. 45 0
      .github/workflows/test-helm.yml

+ 45 - 0
.github/workflows/test-helm.yml

@@ -0,0 +1,45 @@
+name: Run helm chart tests
+
+on:
+  push:
+    branches:
+      - "master"
+      - "candidate-*"
+      - "!candidate-7.8.*"
+      - "!candidate-7.6.*"
+      - "!candidate-7.4.*"
+      - "!candidate-7.2.*"
+      - "!candidate-7.0.*"
+      - "!candidate-6.*"
+    paths:
+      - "helm/**/*"
+      - "testing/helm/**/*"
+  pull_request:
+    branches:
+      - "master"
+      - "candidate-*"
+      - "!candidate-7.8.*"
+      - "!candidate-7.6.*"
+      - "!candidate-7.4.*"
+      - "!candidate-7.2.*"
+      - "!candidate-7.0.*"
+      - "!candidate-6.*"
+    paths:
+      - "helm/**/*"
+      - "testing/helm/**/*"
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+
+    steps:
+      - uses: actions/checkout@v2
+        with:
+          submodules: false
+      - uses: azure/setup-helm@v1
+        with:
+          version: 'latest'
+        id: install
+      - name: Test
+        working-directory: ./testing/helm
+        run: ./run.sh