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 22:00:27 UTC
[tika-helm] branch main updated: TIKA-3988 Add Github Action to Lint and Test Charts
This is an automated email from the ASF dual-hosted git repository.
lewismc pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika-helm.git
The following commit(s) were added to refs/heads/main by this push:
new 9f2d92f TIKA-3988 Add Github Action to Lint and Test Charts
9f2d92f is described below
commit 9f2d92fbe8e5dece28798b362faae339663e2e5f
Author: Lewis John McGibbney <le...@gmail.com>
AuthorDate: Mon Mar 20 15:00:21 2023 -0700
TIKA-3988 Add Github Action to Lint and Test Charts
---
.github/workflows/lint-test.yaml | 24 +++++++++++++++++++++---
Chart.yaml | 15 ++++++++++-----
README.md | 3 ---
values.yaml | 2 +-
4 files changed, 32 insertions(+), 12 deletions(-)
diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml
index c2c6d99..cf39253 100644
--- a/.github/workflows/lint-test.yaml
+++ b/.github/workflows/lint-test.yaml
@@ -1,6 +1,23 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
name: Lint and Test Charts
-on: pull_request
+on:
+ pull_request:
+ branches: [ main ]
jobs:
lint-test:
@@ -33,11 +50,12 @@ jobs:
fi
- name: Run chart-testing (lint)
- run: ct lint --target-branch ${{ github.event.repository.default_branch }}
+ run: ct lint --target-branch ${{ github.event.repository.default_branch }} --charts .
- 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
+ run: ct install --target-branch ${{ github.event.repository.default_branch }} --charts .
+ if: steps.list-changed.outputs.changed == 'true'
\ No newline at end of file
diff --git a/Chart.yaml b/Chart.yaml
index 2e04360..56b7676 100644
--- a/Chart.yaml
+++ b/Chart.yaml
@@ -21,7 +21,6 @@ apiVersion: v2
name: tika
appVersion: "2.7.0.0"
version: "2.7.0"
-#kubeVersion:
description: The official Helm chart to deploy Apache Tika on Kubernetes
type: application
keywords:
@@ -33,10 +32,16 @@ home: https://tika.apache.org
sources:
- https://github.com/apache/tika
- https://github.com/apache/tika-helm
-#dependencies:
maintainers:
- - name: Apache Tika Developers
- email: dev@tika.apache.org
- url: https://tika.apache.org
+ - name: lewismc
+ email: lewismc@apache.org
+ - name: stijnbrouwers
+ url: https://github.com/stijnbrouwers
+ - name: philipsoutham
+ url: https://github.com/philipsoutham
+ - name: frascu
+ url: https://github.com/frascu
+ - name: euven
+ url: https://github.com/euven
icon: https://tika.apache.org/tika.png
deprecated: false
diff --git a/README.md b/README.md
index 9da4f0a..d924f50 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,6 @@
tika-helm
=========
-<!--[![Build Status](https://img.shields.io/jenkins/s/https/devops-ci.elastic.co/job/elastic+helm-charts+master.svg)](https://devops-ci.elastic.co/job/elastic+helm-charts+master/)-->
-<!--[![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/apache)](https://artifacthub.io/packages/search?repo=apache)-->
-
A [Helm chart][] to deploy [Apache Tika][] on [Kubernetes][].
<img src="https://tika.apache.org/tika.png" width="300" />
diff --git a/values.yaml b/values.yaml
index 02c732d..c0f5f7b 100644
--- a/values.yaml
+++ b/values.yaml
@@ -118,4 +118,4 @@ networkPolicy:
allowExternal: false
config:
- base_url: "http://localhost/"
\ No newline at end of file
+ base_url: "http://localhost/"