1
+ name : Verification tests
2
+
3
+ on :
4
+ workflow_dispatch : # To start from UI
5
+ schedule :
6
+ - cron : " 12 0 * * *" # 00:12am UTC daily
7
+
8
+ env :
9
+ REPOSITORY_OWNER : ${{ github.repository_owner }}
10
+ GHCR_REGISTRY : " ghcr.io"
11
+ GHCR_REGISTRY_USERNAME : ${{ github.actor }}
12
+ GHCR_REGISTRY_TOKEN : ${{ secrets.GITHUB_TOKEN }}
13
+
14
+ jobs :
15
+ build :
16
+ # prevent running on forks
17
+ if : github.repository_owner == 'restatedev'
18
+ runs-on : warp-ubuntu-latest-x64-16x # warpbuild runner
19
+ timeout-minutes : 250
20
+ steps :
21
+ - name : Checkout repository
22
+ uses : actions/checkout@v4
23
+
24
+ - name : Log into GitHub container registry
25
+ uses : docker/login-action@v2
26
+ with :
27
+ registry : ${{ env.GHCR_REGISTRY }}
28
+ username : ${{ env.GHCR_REGISTRY_USERNAME }}
29
+ password : ${{ env.GHCR_REGISTRY_TOKEN }}
30
+
31
+ - name : Set up QEMU
32
+ uses : docker/setup-qemu-action@v3
33
+ - name : Set up Docker Buildx
34
+ uses : docker/setup-buildx-action@v3
35
+
36
+ - name : Build Typescript test-services image
37
+ id : build
38
+ uses : docker/build-push-action@v6
39
+ with :
40
+ context : .
41
+ file : " packages/restate-e2e-services/Dockerfile"
42
+ push : false
43
+ load : true
44
+ tags : localhost/restatedev/test-services:latest
45
+ cache-from : type=gha,scope=${{ github.workflow }}
46
+
47
+ - name : Run the verification test
48
+ env :
49
+ RESTATE_CONTAINER_IMAGE : ' ghcr.io/restatedev/restate:main'
50
+ SERVICES_CONTAINER_IMAGE : ' localhost/restatedev/test-services:latest'
51
+ run : ./scripts/run-verification.sh
0 commit comments