Skip to content

fix: permissions API Parameters #1211

fix: permissions API Parameters

fix: permissions API Parameters #1211

name: Spark kv2 Integration
on:
push:
branches:
- main
- 'releases/**'
pull_request:
branches:
- main
- 'releases/**'
env:
CARGO_TERM_COLOR: always
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
docker:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Docker info
run: docker info
- name: Build Docker image (amd64)
run: |
DOCKER_BUILDKIT=1 docker build -t localhost/iceberg-catalog-local:amd64 \
-f docker/full.Dockerfile .
docker save -o /tmp/iceberg-catalog-amd64.tar localhost/iceberg-catalog-local:amd64
- name: Save Docker
uses: actions/upload-artifact@v4
with:
name: iceberg-catalog-image
path: /tmp/*.tar
test-pyspark:
needs: docker
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Restore binary
uses: actions/download-artifact@v4
with:
name: iceberg-catalog-image
path: artifacts
- name: Display structure of downloaded files
run: ls -Rlh artifacts
- name: Restore Docker image
run: |
docker load -i artifacts/iceberg-catalog-amd64.tar
- name: Test Pyspark
run: |
cd tests &&
docker compose -f docker-compose.yaml -f docker-compose-vault-overlay.yaml run --quiet-pull spark /opt/entrypoint.sh bash -c "cd /opt/tests && bash run_spark.sh"
env:
LAKEKEEPER_TEST__SPARK_IMAGE: apache/spark:3.5.1-java17-python3
LAKEKEEPER_TEST__SERVER_IMAGE: localhost/iceberg-catalog-local:amd64
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
AZURE_STORAGE_ACCOUNT_NAME: ${{ secrets.AZURE_STORAGE_ACCOUNT_NAME }}
AZURE_STORAGE_FILESYSTEM: ${{ secrets.AZURE_STORAGE_FILESYSTEM }}
GCS_CREDENTIAL: ${{ secrets.GCS_CREDENTIAL }}
GCS_BUCKET: ${{ secrets.GCS_BUCKET }}
- name: Dump docker logs on failure
if: failure()
uses: jwalton/gh-docker-logs@v2