diff --git a/.github/workflows/ci-cd.yaml b/.github/workflows/ci-cd.yaml index 0d506221..2b2b4bbb 100644 --- a/.github/workflows/ci-cd.yaml +++ b/.github/workflows/ci-cd.yaml @@ -55,7 +55,7 @@ jobs: with: version: v0.24.0 - name: Run tests - run: ./test.sh ${{ matrix.args }} + run: ./tests/trino/test.sh ${{ matrix.args }} test-gateway: runs-on: ubuntu-latest diff --git a/.gitignore b/.gitignore index dfbe0790..1d1786ef 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ .idea/* -cert.key -cert.crt +tests/trino/cert.key +tests/trino/cert.crt diff --git a/test-access-control-properties-values.yaml b/tests/trino/test-access-control-properties-values.yaml similarity index 100% rename from test-access-control-properties-values.yaml rename to tests/trino/test-access-control-properties-values.yaml diff --git a/test-exchange-manager-values.yaml b/tests/trino/test-exchange-manager-values.yaml similarity index 100% rename from test-exchange-manager-values.yaml rename to tests/trino/test-exchange-manager-values.yaml diff --git a/test-graceful-shutdown-values.yaml b/tests/trino/test-graceful-shutdown-values.yaml similarity index 100% rename from test-graceful-shutdown-values.yaml rename to tests/trino/test-graceful-shutdown-values.yaml diff --git a/test-resource-groups-properties-values.yaml b/tests/trino/test-resource-groups-properties-values.yaml similarity index 100% rename from test-resource-groups-properties-values.yaml rename to tests/trino/test-resource-groups-properties-values.yaml diff --git a/test-values.yaml b/tests/trino/test-values.yaml similarity index 100% rename from test-values.yaml rename to tests/trino/test-values.yaml diff --git a/test.sh b/tests/trino/test.sh similarity index 94% rename from test.sh rename to tests/trino/test.sh index a9dcba26..a7787f29 100755 --- a/test.sh +++ b/tests/trino/test.sh @@ -14,14 +14,14 @@ declare -A testCases=( ) declare -A testCaseCharts=( - [default]="charts/trino" - [single_node]="charts/trino" - [complete_values]="charts/trino" - [overrides]="charts/trino" - [access_control_properties_values]="charts/trino" - [exchange_manager_values]="charts/trino" - [graceful_shutdown]="charts/trino" - [resource_groups_properties]="charts/trino" + [default]="../../charts/trino" + [single_node]="../../charts/trino" + [complete_values]="../../charts/trino" + [overrides]="../../charts/trino" + [access_control_properties_values]="../../charts/trino" + [exchange_manager_values]="../../charts/trino" + [graceful_shutdown]="../../charts/trino" + [resource_groups_properties]="../../charts/trino" ) function join_by {