Sanitize NUL bytes in operation and effect details before jsonb insert #276
Workflow file for this run
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: Horizon | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| integration-p27-pkg: | |
| name: Integration tests (P27) | |
| uses: ./.github/workflows/integration-tests.yml | |
| with: | |
| protocol_version: '27' | |
| # The P27 leg runs the NEW core and rpc builds at protocol 27 — the point | |
| # is verifying the updated binaries still serve the previous protocol | |
| # (the real configuration during the upgrade window), not re-testing | |
| # already-shipped versions against each other. | |
| core_deb_version: '28.0.0-3486.2332980a1.jammy~buildtests' | |
| core_docker_img: 'stellar/unsafe-stellar-core:28.0.0-3486.2332980a1.jammy' | |
| stellar_rpc_docker_img: 'stellar/stellar-rpc:28.0.0-vnext-200' | |
| full_matrix: true | |
| integration-p28-pkg: | |
| name: Integration tests (P28) | |
| uses: ./.github/workflows/integration-tests.yml | |
| with: | |
| protocol_version: '28' | |
| core_deb_version: '28.0.0-3486.2332980a1.jammy~buildtests' | |
| core_docker_img: 'stellar/unsafe-stellar-core:28.0.0-3486.2332980a1.jammy' | |
| stellar_rpc_docker_img: 'stellar/stellar-rpc:28.0.0-vnext-200' | |
| full_matrix: true | |
| # integration-p28-src: | |
| # name: Integration tests (P28, core from source) | |
| # uses: ./.github/workflows/integration-tests.yml | |
| # with: | |
| # protocol_version: '28' | |
| # core_git_ref: 'master' | |
| # stellar_rpc_docker_img: 'stellar/stellar-rpc:28.0.0-vnext-200' | |
| verify-range: | |
| name: Test (and push) verify-range image | |
| runs-on: ubuntu-24.04 | |
| env: | |
| GO_VERSION: 1.25.0 | |
| STELLAR_CORE_VERSION: 28.0.0-3486.2332980a1.noble | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| # For pull requests, build and test the PR head not a merge of the PR with the destination. | |
| ref: ${{ github.event.pull_request.head.sha || github.ref }} | |
| - name: Build and test the Verify Range Docker image | |
| run: | | |
| docker build --build-arg="GO_VERSION=$GO_VERSION" --build-arg="STELLAR_CORE_VERSION=$STELLAR_CORE_VERSION" -f docker/verify-range/Dockerfile -t stellar/horizon-verify-range docker/verify-range/ | |
| # Any range should do for basic testing, this range was chosen pretty early in history so that it only takes a few mins to run | |
| docker run -e BRANCH=$(git rev-parse HEAD) -e FROM=10000063 -e TO=10000127 stellar/horizon-verify-range | |
| # Push image | |
| - if: github.ref == 'refs/heads/main' | |
| name: Login to DockerHub | |
| uses: docker/login-action@bb984efc561711aaa26e433c32c3521176eae55b | |
| with: | |
| username: ${{ secrets.DOCKERHUB_USERNAME }} | |
| password: ${{ secrets.DOCKERHUB_TOKEN }} | |
| - if: github.ref == 'refs/heads/main' | |
| name: Push to DockerHub | |
| run: docker push stellar/horizon-verify-range:latest |