-
Notifications
You must be signed in to change notification settings - Fork 351
57 lines (46 loc) · 1.31 KB
/
send-proofs-docker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: "[CI] Send proofs to network"
on:
merge_group:
pull_request:
types:
- opened
- synchronize
paths-ignore:
- '**.md'
concurrency:
group: pull_request-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
network-test-docker-compose:
name: "Test network with Docker Compose"
runs-on: aligned-runner-ci
permissions:
contents: read
packages: write
pull-requests: write
steps:
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- name: Build containers
run: make docker_build
- name: Start containers and initialize network
run: make docker_up && sleep 15
- name: Send proofs batches
run: make docker_batcher_send_all_proofs_burst
- name: Verify all sent proofs
run: make docker_verify_proof_submission_success
- name: Stop containers
continue-on-error: true
if: always()
run: make docker_down
- name: Ensure admin permissions in _work
if: always()
run: sudo chown admin:admin -R /home/admin/actions-runner/_work/