docs: update roadmap and distributions for April 2026 (#10367) #151
This file contains hidden or 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
| name: Build testoperator binary and Docker Image | |
| on: | |
| push: | |
| branches: | |
| - trunk | |
| paths: | |
| - 'tools/testoperator/**' | |
| - 'crates/test-framework/**' | |
| - 'Cargo.lock' | |
| - '.github/workflows/testoperator_build_and_release.yml' | |
| - '.github/actions/build-testoperator/**' | |
| workflow_dispatch: | |
| inputs: | |
| publish: | |
| description: 'Publish Docker image to GHCR' | |
| required: false | |
| type: boolean | |
| default: false | |
| permissions: | |
| contents: read | |
| packages: write | |
| jobs: | |
| build-binary: | |
| name: Build testoperator | |
| runs-on: spiceai-dev-runners | |
| env: | |
| CARGO_TERM_COLOR: always | |
| CARGO_INCREMENTAL: 0 | |
| CARGO_NET_GIT_FETCH_WITH_CLI: true | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 | |
| - name: Install MinIO | |
| uses: ./.github/actions/setup-minio | |
| with: | |
| minio_endpoint: ${{ secrets.TEST_MINIO_ENDPOINT }} | |
| minio_access_key: ${{ secrets.TEST_MINIO_ACCESS_KEY }} | |
| minio_secret_key: ${{ secrets.TEST_MINIO_SECRET_KEY }} | |
| - name: Build testoperator | |
| uses: ./.github/actions/build-testoperator | |
| with: | |
| install_to_system_path: 'false' | |
| upload_artifact: 'true' | |
| force_rebuild: 'true' | |
| download_from_minio: 'true' | |
| minio_endpoint: ${{ secrets.TEST_MINIO_ENDPOINT }} | |
| minio_access_key: ${{ secrets.TEST_MINIO_ACCESS_KEY }} | |
| minio_secret_key: ${{ secrets.TEST_MINIO_SECRET_KEY }} | |
| - name: Print version | |
| run: ./target/release/testoperator --version | |
| build-docker: | |
| name: Build Docker image | |
| needs: build-binary | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 | |
| - name: Download binary | |
| uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8 | |
| with: | |
| name: testoperator-linux | |
| path: ./build | |
| - name: List artifacts | |
| run: ls -lR ./build | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0 | |
| - name: Login to GitHub Container Registry | |
| uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4.1.0 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.repository_owner }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Copy Dockerfile to build context | |
| run: cp tools/testoperator/Dockerfile ./build/Dockerfile | |
| - name: Build image | |
| uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0 | |
| with: | |
| context: ./build | |
| file: ./build/Dockerfile | |
| platforms: linux/amd64 | |
| push: ${{ github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && github.event.inputs.publish == 'true') }} | |
| tags: | | |
| ghcr.io/${{ github.repository_owner }}/testoperator:${{ github.sha }} | |
| ghcr.io/${{ github.repository_owner }}/testoperator:latest | |
| cache-from: type=gha,scope=testoperator | |
| cache-to: type=gha,scope=testoperator,mode=max |