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

adoroszlai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ozone-helm-charts.git


The following commit(s) were added to refs/heads/main by this push:
     new ce96199  HDDS-11540. Use git submodules for Chart Actions (#6)
ce96199 is described below

commit ce9619909b709df1f728ddd63ae1f25b2571e88d
Author: Denis Krivenko <[email protected]>
AuthorDate: Mon Oct 7 08:11:32 2024 +0200

    HDDS-11540. Use git submodules for Chart Actions (#6)
---
 .github/actions/chart-testing-action |  1 +
 .github/actions/kind-action          |  1 +
 .github/workflows/test.yaml          | 10 ++++++----
 .gitmodules                          | 22 ++++++++++++++++++++++
 4 files changed, 30 insertions(+), 4 deletions(-)

diff --git a/.github/actions/chart-testing-action 
b/.github/actions/chart-testing-action
new file mode 160000
index 0000000..e6669bc
--- /dev/null
+++ b/.github/actions/chart-testing-action
@@ -0,0 +1 @@
+Subproject commit e6669bcd63d7cb57cb4380c33043eebe5d111992
diff --git a/.github/actions/kind-action b/.github/actions/kind-action
new file mode 160000
index 0000000..0025e74
--- /dev/null
+++ b/.github/actions/kind-action
@@ -0,0 +1 @@
+Subproject commit 0025e74a8c7512023d06dc019c617aa3cf561fde
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index b23a605..e30d960 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -6,13 +6,15 @@ jobs:
   test:
     runs-on: ubuntu-latest
     steps:
-      - name: Checkout
+      - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
         uses: actions/checkout@v4
         with:
           fetch-depth: 0
+          persist-credentials: false
+          submodules: recursive
 
       - name: Set up Helm
-        uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # 
v4.2.0
+        uses: azure/[email protected]
 
       - name: Set up Python
         uses: actions/setup-python@v5
@@ -20,7 +22,7 @@ jobs:
           python-version: 3.x
 
       - name: Set up chart-testing
-        uses: 
helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1
+        uses: ./.github/actions/chart-testing-action
 
       - name: Run chart-testing (list-changed)
         id: list-changed
@@ -36,7 +38,7 @@ jobs:
 
       - name: Create kind cluster
         if: steps.list-changed.outputs.changed == 'true'
-        uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # 
v1.10.0
+        uses: ./.github/actions/kind-action
 
       - name: Run chart-testing (install)
         if: steps.list-changed.outputs.changed == 'true'
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..1d724ec
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,22 @@
+# 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.
+
+[submodule ".github/actions/chart-testing-action"]
+       path = .github/actions/chart-testing-action
+       url = https://github.com/helm/chart-testing-action
+[submodule ".github/actions/kind-action"]
+       path = .github/actions/kind-action
+       url = https://github.com/helm/kind-action


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to