Skip to content

Add option for custom v1/statement-like paths #1396

Add option for custom v1/statement-like paths

Add option for custom v1/statement-like paths #1396

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
branches:
- main
paths-ignore:
- 'docs/**'
defaults:
run:
shell: bash --noprofile --norc -Eeuo pipefail {0}
env:
# Use Maven wrapper from repo with Maven version and other configs
MAVEN: ./mvnw -B
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [21, 22]
timeout-minutes: 20
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Install required Java distribution
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: 'temurin'
- name: Build with Maven
run: $MAVEN clean verify
- uses: docker/setup-qemu-action@v3
with:
platforms: amd64,arm64,ppc64le
- name: Build and Test Docker Image
run: docker/build.sh
- name: Set up Helm
uses: azure/[email protected]
with:
version: v3.12.1
- uses: actions/setup-python@v5
with:
python-version: '3.10'
check-latest: true
- name: Lint chart
run: helm lint --strict helm/trino-gateway
- name: Create kind cluster
uses: helm/[email protected]
with:
cluster_name: tgw
- name: load images
run: kind load docker-image --name tgw trino-gateway:$(cat ./trino-gateway-version.txt | tr -d '\n')-amd64
- name: Run chart-testing (install)
run: helm install test helm/trino-gateway --set "image.repository=trino-gateway" --set "image.tag=$(cat ./trino-gateway-version.txt | tr -d '\n')-amd64" --set "limits.memory=100Mi" --set "limits.cpu=0"
- name: wait for deployment
#the deployment name is the name of the installation from the helm install command above, concatenated with the name from Chart.yaml
run: kubectl rollout status deployment test-trino-gateway
timeout-minutes: 2