Verification tests - Java #437
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: Verification tests - Java | |
| on: | |
| workflow_dispatch: # To start from UI | |
| inputs: | |
| restateContainerImage: | |
| description: "The restate container image" | |
| required: true | |
| default: "ghcr.io/restatedev/restate:main" | |
| schedule: | |
| - cron: "12 0 * * *" # 00:12am UTC daily | |
| env: | |
| REPOSITORY_OWNER: ${{ github.repository_owner }} | |
| GHCR_REGISTRY: "ghcr.io" | |
| GHCR_REGISTRY_USERNAME: ${{ github.actor }} | |
| GHCR_REGISTRY_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| jobs: | |
| build: | |
| # prevent running on forks | |
| if: github.repository_owner == 'restatedev' | |
| runs-on: warp-ubuntu-latest-x64-16x # warpbuild runner | |
| timeout-minutes: 250 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Log into GitHub container registry | |
| uses: docker/login-action@v2 | |
| with: | |
| registry: ${{ env.GHCR_REGISTRY }} | |
| username: ${{ env.GHCR_REGISTRY_USERNAME }} | |
| password: ${{ env.GHCR_REGISTRY_TOKEN }} | |
| - name: Run the verification test | |
| env: | |
| RESTATE_CONTAINER_IMAGE: ${{ inputs.restateContainerImage || 'ghcr.io/restatedev/restate:main' }} | |
| SERVICES_CONTAINER_IMAGE: 'ghcr.io/restatedev/test-services-java:main' | |
| run: ./scripts/run-verification.sh |