You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by le...@apache.org on 2023/03/20 02:33:17 UTC

[tika-helm] branch TIKA-3988 created (now fcaf66e)

This is an automated email from the ASF dual-hosted git repository.

lewismc pushed a change to branch TIKA-3988
in repository https://gitbox.apache.org/repos/asf/tika-helm.git


      at fcaf66e  TIKA-3988 Add Github Action to Lint and Test Charts

This branch includes the following new commits:

     new fcaf66e  TIKA-3988 Add Github Action to Lint and Test Charts

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[tika-helm] 01/01: TIKA-3988 Add Github Action to Lint and Test Charts

Posted by le...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

lewismc pushed a commit to branch TIKA-3988
in repository https://gitbox.apache.org/repos/asf/tika-helm.git

commit fcaf66e61c28fef6be6cd25484f1b4a03a9c8035
Author: Lewis John McGibbney <le...@gmail.com>
AuthorDate: Sun Mar 19 19:33:02 2023 -0700

    TIKA-3988 Add Github Action to Lint and Test Charts
---
 .github/workflows/lint-test.yaml | 43 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml
new file mode 100644
index 0000000..c2c6d99
--- /dev/null
+++ b/.github/workflows/lint-test.yaml
@@ -0,0 +1,43 @@
+name: Lint and Test Charts
+
+on: pull_request
+
+jobs:
+  lint-test:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v2
+        with:
+          fetch-depth: 0
+
+      - name: Set up Helm
+        uses: azure/setup-helm@v3
+        with:
+          version: v3.10.0
+
+      - uses: actions/setup-python@v4
+        with:
+          python-version: '3.9'
+          check-latest: true
+
+      - name: Set up chart-testing
+        uses: helm/chart-testing-action@v2.3.1
+
+      - name: Run chart-testing (list-changed)
+        id: list-changed
+        run: |
+          changed=$(ct list-changed --target-branch ${{ github.event.repository.default_branch }})
+          if [[ -n "$changed" ]]; then
+            echo "::set-output name=changed::true"
+          fi
+
+      - name: Run chart-testing (lint)
+        run: ct lint --target-branch ${{ github.event.repository.default_branch }}
+
+      - name: Create kind cluster
+        uses: helm/kind-action@v1.4.0
+        if: steps.list-changed.outputs.changed == 'true'
+
+      - name: Run chart-testing (install)
+        run: ct install
\ No newline at end of file