Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 6 additions & 43 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
$RETRY $MAVEN verify -B --strict-checksums -P ci -pl :trino-server-rpm
- name: Clean Maven Output
run: $MAVEN clean -pl '!:trino-server,!:trino-cli'
- uses: docker/setup-qemu-action@v1
- uses: docker/setup-qemu-action@v2
with:
platforms: arm64,ppc64le
- name: Test Docker Image
Expand Down Expand Up @@ -589,9 +589,6 @@ jobs:
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
product-tests-changed: ${{ steps.filter.outputs.product-tests }}
have_azure_secrets: ${{ steps.check-secrets.outputs.have_azure_secrets }}
have_databricks_secrets: ${{ steps.check-databricks-secrets.outputs.have_databricks_secrets }}
have_gcp_secrets: ${{ steps.check-gcp-secrets.outputs.have_gcp_secrets }}
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -615,42 +612,6 @@ jobs:
distribution: 'zulu'
java-version: 17
cache: 'maven'
- name: Check secrets
run: |
if [[ "${{ secrets.AZURE_ABFS_CONTAINER }}" != "" && \
"${{ secrets.AZURE_ABFS_ACCOUNT }}" != "" && \
"${{ secrets.AZURE_ABFS_ACCESSKEY }}" != ""
]]; \
then
echo "Secrets to run product tests were configured in the repo"
echo "::set-output name=have_azure_secrets::true"
else
echo "Secrets to run product tests were not configured in the repo"
echo "::set-output name=have_azure_secrets::false"
fi
id: check-secrets
- name: Check Delta Databricks secrets
id: check-databricks-secrets
run: |
if [[ "${{ secrets.DATABRICKS_TOKEN }}" != "" ]]; \
then
echo "Secrets to run Delta Databricks product tests were configured in the repo"
echo "::set-output name=have_databricks_secrets::true"
else
echo "Secrets to run Delta Databricks product tests were not configured in the repo"
echo "::set-output name=have_databricks_secrets::false"
fi
- name: Check GCP secrets
id: check-gcp-secrets
run: |
if [[ "${{ secrets.GCP_CREDENTIALS_KEY }}" != "" ]]; \
then
echo "Secrets to run GCP product tests were configured in the repo"
echo "::set-output name=have_gcp_secrets::true"
else
echo "Secrets to run GCP product tests were not configured in the repo"
echo "::set-output name=have_gcp_secrets::false"
fi
- name: Maven Install
run: |
export MAVEN_OPTS="${MAVEN_INSTALL_OPTS}"
Expand Down Expand Up @@ -704,19 +665,21 @@ jobs:
config: default
- suite: suite-azure
ignore exclusion if: >-
${{ needs.build-pt.outputs.have_azure_secrets == 'true' }}
${{ secrets.AZURE_ABFS_CONTAINER != '' &&
secrets.AZURE_ABFS_ACCOUNT != '' &&
secrets.AZURE_ABFS_ACCESSKEY != '' }}

- suite: suite-gcs
config: default
- suite: suite-gcs
ignore exclusion if: >-
${{ needs.build-pt.outputs.have_gcp_secrets == 'true' }}
${{ secrets.GCP_CREDENTIALS_KEY != '' }}

- suite: suite-delta-lake-databricks
config: hdp3
- suite: suite-delta-lake-databricks
ignore exclusion if: >-
${{ needs.build-pt.outputs.have_databricks_secrets == 'true' }}
${{ secrets.DATABRICKS_TOKEN != '' }}

ignore exclusion if:
# Do not use this property outside of the matrix configuration.
Expand Down