krishnaduttPanchagnula commented on code in PR #1113:
URL:
https://github.com/apache/incubator-uniffle/pull/1113#discussion_r1293609571
##########
.github/workflows/build.yml:
##########
@@ -91,3 +96,36 @@ jobs:
maven-args: package -Pkubernetes -DskipUTs -DskipITs
-DskipBuildImage=${{ needs.changes.outputs.rss_server_docker == 'false' }}
cache-key: package
go-version: '1.17'
+
+ kubernetes-integration:
+ needs: [kubernetes]
+ runs-on: ubuntu-20.04
+ steps:
+ - name: Checkout project
+ uses: actions/checkout@v3
+ - name: Set up JDK ${{ env.java-version }}
+ uses: actions/setup-java@v3
+ with:
+ java-version: ${{ env.java-version }}
+ distribution: ${{ env.jdk-distro }}
+ - name: Cache local Maven repository
+ if: ${{ env.cache-key != '' }}
+ uses: actions/cache@v3
+ with:
+ path: ~/.m2/repository
+ key: mvn-${{ env.java-version }}-${{ env.cache-key }}-${{
hashFiles('**/pom.xml') }}
+ restore-keys: |
+ mvn-${{ env.java-version }}-${{ env.cache-key }}-
+ - name: Set up Go ${{ env.go-version }}
+ if: ${{ env.go-version != '' }}
+ uses: actions/setup-go@v3
+ with:
+ go-version: ${{ env.go-version }}
+ - name: Compile kubernetes operator
+ run: |
+ mvn package -Pkubernetes -DskipTests
+ - name: Run local Integration Tests
+ run: |
+ chmod +x ./deploy/kubernetes/integration-test/e2e/start-e2e.sh
Review Comment:
> We don't need to change the permission. We can use the command to run the
shell
>
> ```
> sh ./deploy/kubernetes/integration-test/e2e/start-e2e.sh
> ```
The pipeline is unable to run the shell script, due to the permission error.
sh: 0: Can't open set-up-local-cluster.sh
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]