deniskuzZ commented on code in PR #6238:
URL: https://github.com/apache/hive/pull/6238#discussion_r2749374987
##########
.github/workflows/docker-GA-images.yml:
##########
@@ -112,6 +112,63 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
+ - name: Build Hive Image locally
+ uses: docker/build-push-action@v4
+ with:
+ context: ./packaging/src/docker/
+ file: ./packaging/src/docker/Dockerfile
+ push: false
+ load: true
+ tags: hive:test
+ build-args:
+ |
+ HIVE_VERSION=${{ env.HIVE_VERSION }}
+ HADOOP_VERSION=${{ env.HADOOP_VERSION }}
+ TEZ_VERSION=${{ env.TEZ_VERSION }}
+ BUILD_ENV=${{ env.BUILD_ENV }}
+
+ - name: Build Standalone Metastore Image locally
+ uses: docker/build-push-action@v4
+ with:
+ context: ./standalone-metastore/packaging/src/docker/
+ file: ./standalone-metastore/packaging/src/docker/Dockerfile
+ push: false
+ load: true
+ tags: hive:standalone-metastore-test
+ build-args:
+ |
+ HIVE_VERSION=${{ env.HIVE_VERSION }}
+ HADOOP_VERSION=${{ env.HADOOP_VERSION }}
+ BUILD_ENV=${{ env.BUILD_ENV }}
+
+ - name: Create k8s cluster
+ uses: helm/kind-action@v1
+
+ - name: Set up Helm
+ uses: azure/setup-helm@v4
+
+ - name: Load images
+ run: kind load docker-image hive:test hive:standalone-metastore-test
--name chart-testing
+
+ - name: Deploy Hive
+ run: |
+ ./itests/test-docker/scripts/setup.sh
+
+ - name: Run JUnit
+ # On workflow_dispatch, the checked-out source code and libraries
could be inconsistent with the specified Hive release
+ if: github.event_name != 'workflow_dispatch'
+ run: |
+ mvn --batch-mode test -Pitests -Pdocker-integration-tests -pl
itests/test-docker
Review Comment:
could we use `-Pitests -Pdocker`
--
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]