Skip to content

Commit

Permalink
[INFRA] Add k8s pipeline (#340)
Browse files Browse the repository at this point in the history
### 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 <roryqi@tencent.com>
  • Loading branch information
jerqi and jerqi authored Nov 18, 2022
1 parent 1aa3661 commit d09b40b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/parallel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jobs:
- spark3.2
- spark3.2.0
- mr
- kubernetes
fail-fast: false
name: -P${{ matrix.profile }}
steps:
Expand All @@ -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
Expand Down
5 changes: 4 additions & 1 deletion deploy/kubernetes/build-operator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion deploy/kubernetes/operator/hack/add_header_for_crds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#

set -e
set -o pipefail
set -u

for filename in config/crd/bases/*.yaml; do
Expand Down

0 comments on commit d09b40b

Please sign in to comment.