-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
42 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,6 +43,12 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up JDK 21 | ||
uses: actions/setup-java@v4 | ||
with: | ||
java-version: '21' | ||
distribution: 'temurin' | ||
|
||
- name: Set up Helm | ||
uses: azure/[email protected] | ||
with: | ||
|
@@ -80,40 +86,36 @@ jobs: | |
run: ct lint --target-branch ${{ github.event.repository.default_branch }} --debug --charts ./helm/polaris | ||
|
||
- name: Set up Minikube | ||
#if: steps.list-changed.outputs.changed == 'true' | ||
if: steps.list-changed.outputs.changed == 'true' | ||
uses: medyagh/[email protected] | ||
with: | ||
driver: podman | ||
container-runtime: cri-o | ||
|
||
- name: Print Podman info | ||
#if: steps.list-changed.outputs.changed == 'true' | ||
- name: Print Docker info | ||
if: steps.list-changed.outputs.changed == 'true' | ||
run: | | ||
podman -v | ||
podman machine info | ||
minikube podman-env | ||
docker -v | ||
minikube docker-env | ||
- name: Image build | ||
#if: steps.list-changed.outputs.changed == 'true' | ||
if: steps.list-changed.outputs.changed == 'true' | ||
run: | | ||
BUILD_TAG=helm-ci-$(date +%s) | ||
export BUILD_TAG=helm-ci-$(date +%s) | ||
echo BUILD_TAG=${BUILD_TAG} >> ${GITHUB_ENV} | ||
eval $(minikube podman-env) | ||
eval $(minikube -p minikube docker-env) | ||
./gradlew :polaris-quarkus-service:build -x check \ | ||
-Dquarkus.container-image.build=true \ | ||
-Dquarkus.container-image.tag=${BUILD_TAG} \ | ||
-PeclipseLinkDeps=com.h2database:h2:2.3.232 | ||
-Dquarkus.container-image.name=polaris-testing \ | ||
-Dquarkus.container-image.tag=${BUILD_TAG} | ||
- name: Install fixtures | ||
#if: steps.list-changed.outputs.changed == 'true' | ||
if: steps.list-changed.outputs.changed == 'true' | ||
run: | | ||
kubectl create namespace polaris-ns | ||
kubectl apply --namespace polaris-ns $(find helm/polaris/ci/fixtures -name "*.yaml" -exec echo -n "-f {} " \;) | ||
- name: Run chart-testing (install) | ||
#if: steps.list-changed.outputs.changed == 'true' | ||
if: steps.list-changed.outputs.changed == 'true' | ||
run: | | ||
ct install --target-branch ${{ github.event.repository.default_branch }} \ | ||
--namespace polaris-ns \ | ||
--helm-extra-set-args "--set=image.repository=apache/polaris --set=image.tag=${BUILD_TAG}" \ | ||
--helm-extra-set-args "--set=image.repository=apache/polaris-testing --set=image.tag=${BUILD_TAG}" \ | ||
--debug --charts ./helm/polaris |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters