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

roryqi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-uniffle.git


The following commit(s) were added to refs/heads/master by this push:
     new d09b40b9 [INFRA] Add k8s pipeline (#340)
d09b40b9 is described below

commit d09b40b90b8db613dbd346e0cd91f70f3950b430
Author: roryqi <[email protected]>
AuthorDate: Fri Nov 18 21:10:06 2022 +0800

    [INFRA] Add k8s pipeline (#340)
    
    ### What changes were proposed in this pull request?
    Add a github pipeline to run the tests of k8s
    
    ### Why are the changes needed?
    It can help us to verify the k8s patch
    
    ### Does this PR introduce _any_ user-facing change?
    No
    
    ### How was this patch tested?
    No
    
    Co-authored-by: roryqi <[email protected]>
---
 .github/workflows/parallel.yml                         | 5 +++++
 deploy/kubernetes/build-operator.sh                    | 5 ++++-
 deploy/kubernetes/operator/hack/add_header_for_crds.sh | 1 -
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/parallel.yml b/.github/workflows/parallel.yml
index 8cbe9aa4..0a79020b 100644
--- a/.github/workflows/parallel.yml
+++ b/.github/workflows/parallel.yml
@@ -63,6 +63,7 @@ jobs:
           - spark3.2
           - spark3.2.0
           - mr
+          - kubernetes
       fail-fast: false
     name: -P${{ matrix.profile }}
     steps:
@@ -76,6 +77,10 @@ jobs:
         java-version: ${{ inputs.java-version }}
         distribution: ${{ inputs.jdk-distro }}
         cache: maven
+    - name: Set up Go 1.16
+      uses: actions/setup-go@v3
+      with:
+        go-version: 1.16
     - name: Execute maven with -P${{ matrix.profile }}
       if: ${{ !inputs.experimental }}
       run: mvn -B -fae -P${{ matrix.profile }} ${{ inputs.maven-args }} | tee 
/tmp/maven.log
diff --git a/deploy/kubernetes/build-operator.sh 
b/deploy/kubernetes/build-operator.sh
index ebccd1cb..7fde2d8c 100755
--- a/deploy/kubernetes/build-operator.sh
+++ b/deploy/kubernetes/build-operator.sh
@@ -17,4 +17,7 @@
 # limitations under the License.
 #
 
-echo "Build kubernetes operator..."
+echo "Build and Test kubernetes operator..."
+
+# todo: separate the build process from test process, we need to modify the 
Makefile
+cd operator && make build
diff --git a/deploy/kubernetes/operator/hack/add_header_for_crds.sh 
b/deploy/kubernetes/operator/hack/add_header_for_crds.sh
index a1507dcc..7ec16acf 100644
--- a/deploy/kubernetes/operator/hack/add_header_for_crds.sh
+++ b/deploy/kubernetes/operator/hack/add_header_for_crds.sh
@@ -18,7 +18,6 @@
 #
 
 set -e
-set -o pipefail
 set -u
 
 for filename in config/crd/bases/*.yaml; do

Reply via email to