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

nicholasjiang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/celeborn.git


The following commit(s) were added to refs/heads/main by this push:
     new 163bcb36e [CELEBORN-2297] Update workflow to manually install Helm and 
chart-testing
163bcb36e is described below

commit 163bcb36edc11d1b999827a4e06bfcdd3bc7b3ea
Author: sychen <[email protected]>
AuthorDate: Fri Apr 10 14:41:33 2026 +0800

    [CELEBORN-2297] Update workflow to manually install Helm and chart-testing
    
    ### What changes were proposed in this pull request?
    
    ### Why are the changes needed?
    ```
    The actions azure/setup-helmv4.2.0, docker/setup-buildx-actionv1, and 
docker/build-push-actionv2 are not allowed in apache/celeborn
    ```
    https://github.com/apache/celeborn/actions/runs/23730849688
    
    ```yml
          - name: Setup chart-testing
            uses: ./.github/actions/chart-testing-action
    ```
    
    ```
    The action 
sigstore/cosign-installer11086d25041f77fe8fe7b9ea4e48e3b9192b8f19 is not 
allowed in apache/celebor
    ```
    ### Does this PR resolve a correctness bug?
    No
    
    ### Does this PR introduce _any_ user-facing change?
    No
    
    ### How was this patch tested?
    GHA
    
https://github.com/apache/celeborn/actions/runs/23884713736/job/69645124360?pr=3639
    
    Closes #3639 from cxzl25/fix_it_test.
    
    Authored-by: sychen <[email protected]>
    Signed-off-by: SteNicholas <[email protected]>
---
 .github/actions/chart-testing-action |  1 -
 .github/workflows/integration.yml    | 28 +++++++++++++++-------------
 .gitmodules                          |  3 ---
 3 files changed, 15 insertions(+), 17 deletions(-)

diff --git a/.github/actions/chart-testing-action 
b/.github/actions/chart-testing-action
deleted file mode 160000
index e6669bcd6..000000000
--- a/.github/actions/chart-testing-action
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit e6669bcd63d7cb57cb4380c33043eebe5d111992
diff --git a/.github/workflows/integration.yml 
b/.github/workflows/integration.yml
index ee8fff7a6..b2b8288b4 100644
--- a/.github/workflows/integration.yml
+++ b/.github/workflows/integration.yml
@@ -38,7 +38,6 @@ jobs:
         with:
           persist-credentials: false
           fetch-depth: 0
-          submodules: recursive
       - uses: actions/setup-java@v4
         name: Setup JDK with Maven
         with:
@@ -51,11 +50,21 @@ jobs:
           python-version: "3.12"
           check-latest: true
       - name: Setup Helm
-        uses: azure/[email protected]
-        with:
-          version: v3.10.0
+        run: |
+          curl -fsSL "https://get.helm.sh/helm-v3.10.0-linux-amd64.tar.gz"; | 
tar xz -C /tmp
+          sudo mv /tmp/linux-amd64/helm /usr/local/bin/helm
       - name: Setup chart-testing
-        uses: ./.github/actions/chart-testing-action
+        env:
+          CT_VERSION: "3.10.1"
+        run: |
+          curl -sSLo ct.tar.gz \
+            
"https://github.com/helm/chart-testing/releases/download/v${CT_VERSION}/chart-testing_${CT_VERSION}_linux_amd64.tar.gz";
+          mkdir -p /tmp/ct
+          tar -xzf ct.tar.gz -C /tmp/ct
+          sudo mv /tmp/ct/ct /usr/local/bin/ct
+          echo "CT_CONFIG_DIR=/tmp/ct/etc" >> "$GITHUB_ENV"
+          rm ct.tar.gz
+          pip3 install yamllint==1.27.1 yamale==3.0.4
       - name: Run chart-testing (list-changed)
         id: list-changed
         run: |
@@ -75,15 +84,8 @@ jobs:
       - name: Build Celeborn Binary
         run:
           ./build/make-distribution.sh -Pspark-3.3 -Pgoogle-mirror
-      - name: Set up Docker Buildx
-        uses: docker/setup-buildx-action@v1
       - name: Build Celeborn Docker Image
-        uses: docker/build-push-action@v2
-        with:
-          context: ./dist
-          file: ./docker/Dockerfile
-          load: true
-          tags: apache/celeborn:latest
+        run: docker build -f ./docker/Dockerfile -t apache/celeborn:latest 
./dist
       - name: Setup Minikube
         run: |
           # https://minikube.sigs.k8s.io/docs/start/
diff --git a/.gitmodules b/.gitmodules
deleted file mode 100644
index 574812ca8..000000000
--- a/.gitmodules
+++ /dev/null
@@ -1,3 +0,0 @@
-[submodule ".github/actions/chart-testing-action"]
-       path = .github/actions/chart-testing-action
-       url = https://github.com/helm/chart-testing-action

Reply via email to