File tree Expand file tree Collapse file tree 20 files changed +476
-215
lines changed
Expand file tree Collapse file tree 20 files changed +476
-215
lines changed Original file line number Diff line number Diff line change 1+ name : coprocessor-db-migration-docker-build
2+ on :
3+ pull_request :
4+ push :
5+ branches :
6+ - main
7+ release :
8+ types :
9+ - published
10+
11+ concurrency :
12+ group : fhevm-coprocessor-db-migration-${{ github.ref_name }}
13+ cancel-in-progress : ${{ github.ref != 'refs/heads/main' }}
14+
15+ jobs :
16+ check-changes :
17+ name : coprocessor-db-migration-docker-build/check-changes
18+ permissions :
19+ actions : ' read'
20+ contents : ' read'
21+ pull-requests : ' read'
22+ runs-on : ubuntu-latest
23+ outputs :
24+ changes-coprocessor-db-migration : ${{ steps.filter.outputs.coprocessor-db-migration }}
25+ steps :
26+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
27+ - uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
28+ id : filter
29+ with :
30+ filters : |
31+ coprocessor-db-migration:
32+ - .github/workflows/coprocessor-db-migration-docker-build.yml
33+ - coprocessor/fhevm-engine/db-migration/**
34+ build :
35+ name : coprocessor-db-migration-docker-build/build
36+ needs : check-changes
37+ if : ${{ needs.check-changes.outputs.changes-coprocessor-db-migration == 'true' || github.event_name == 'release' }}
38+ uses : zama-ai/ci-templates/.github/workflows/common-docker.yml@ef9d90453e0d776453026c751fbbd48e410d605a
39+ secrets :
40+ BLOCKCHAIN_ACTIONS_TOKEN : ${{ secrets.BLOCKCHAIN_ACTIONS_TOKEN }}
41+ AWS_ACCESS_KEY_S3_USER : ${{ secrets.AWS_ACCESS_KEY_S3_USER }}
42+ AWS_SECRET_KEY_S3_USER : ${{ secrets.AWS_SECRET_KEY_S3_USER }}
43+ permissions :
44+ actions : ' read'
45+ contents : ' read'
46+ pull-requests : ' read'
47+ attestations : ' write'
48+ packages : ' write'
49+ id-token : ' write'
50+ with :
51+ working-directory : " ."
52+ docker-context : " ."
53+ push_image : true
54+ image-name : " fhevm/coprocessor/db-migration"
55+ docker-file : " coprocessor/fhevm-engine/db-migration/Dockerfile"
56+ app-cache-dir : " fhevm-coprocessor-db-migration"
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- name : Docker - Fhevm Coprocessor Gateway Listener
1+ name : coprocessor-gw-listener-docker-build
22
33on :
44 pull_request :
@@ -15,6 +15,7 @@ concurrency:
1515
1616jobs :
1717 check-changes :
18+ name : coprocessor-gw-listener-docker-build/check-changes
1819 permissions :
1920 actions : ' read'
2021 contents : ' read'
3132 coprocessor-gw-listener:
3233 - .github/workflows/coprocessor-docker-build-gw-listener.yml
3334 - coprocessor/fhevm-engine/gw-listener/**
34- docker-fhevm-coprocessor :
35+ - coprocessor/fhevm-engine/Cargo.toml
36+ - coprocessor/fhevm-engine/Cargo.lock
37+ build :
38+ name : coprocessor-gw-listener-docker-build/build
3539 needs : check-changes
3640 if : ${{ needs.check-changes.outputs.changes-coprocessor-gw-listener == 'true' || github.event_name == 'release' }}
3741 uses : zama-ai/ci-templates/.github/workflows/common-docker.yml@ef9d90453e0d776453026c751fbbd48e410d605a
5256 push_image : true
5357 image-name : " fhevm/coprocessor/gw-listener"
5458 docker-file : " ./coprocessor/fhevm-engine/gw-listener/Dockerfile"
55- app-cache-dir : ' fhevm-coprocessor-gw-listener'
59+ app-cache-dir : " fhevm-coprocessor-gw-listener"
Original file line number Diff line number Diff line change 1+ name : coprocessor-host-listener-docker-build
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches :
7+ - main
8+ release :
9+ types :
10+ - published
11+
12+ concurrency :
13+ group : fhevm-coprocessor-host-listener-${{ github.ref_name }}
14+ cancel-in-progress : ${{ github.ref != 'refs/heads/main' }}
15+
16+ jobs :
17+ check-changes :
18+ name : coprocessor-host-listener-docker-build/check-changes
19+ permissions :
20+ actions : ' read'
21+ contents : ' read'
22+ pull-requests : ' read'
23+ runs-on : ubuntu-latest
24+ outputs :
25+ changes-coprocessor-host-listener : ${{ steps.filter.outputs.coprocessor-host-listener }}
26+ steps :
27+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28+ - uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
29+ id : filter
30+ with :
31+ filters : |
32+ coprocessor-host-listener:
33+ - .github/workflows/coprocessor-host-listener-docker-build.yml
34+ - coprocessor/fhevm-engine/fhevm-listner/**
35+ - coprocessor/fhevm-engine/Cargo.toml
36+ - coprocessor/fhevm-engine/Cargo.lock
37+ - host-contracts/**
38+ build :
39+ name : coprocessor-host-listener-docker-build/build
40+ needs : check-changes
41+ if : ${{ needs.check-changes.outputs.changes-coprocessor-host-listener == 'true' || github.event_name == 'release' }}
42+ uses : zama-ai/ci-templates/.github/workflows/common-docker.yml@ef9d90453e0d776453026c751fbbd48e410d605a
43+ secrets :
44+ BLOCKCHAIN_ACTIONS_TOKEN : ${{ secrets.BLOCKCHAIN_ACTIONS_TOKEN }}
45+ AWS_ACCESS_KEY_S3_USER : ${{ secrets.AWS_ACCESS_KEY_S3_USER }}
46+ AWS_SECRET_KEY_S3_USER : ${{ secrets.AWS_SECRET_KEY_S3_USER }}
47+ permissions :
48+ actions : ' read'
49+ contents : ' read'
50+ pull-requests : ' read'
51+ attestations : ' write'
52+ packages : ' write'
53+ id-token : ' write'
54+ with :
55+ working-directory : " ."
56+ docker-context : " ."
57+ push_image : true
58+ image-name : " fhevm/coprocessor/host-listener"
59+ docker-file : " coprocessor/fhevm-engine/fhevm-listener/Dockerfile"
60+ app-cache-dir : " fhevm-coprocessor-host-listener"
Original file line number Diff line number Diff line change 1+ name : coprocessor-sns-worker-docker-build
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches :
7+ - main
8+ release :
9+ types :
10+ - published
11+
12+ concurrency :
13+ group : fhevm-coprocessor-sns-worker-${{ github.ref_name }}
14+ cancel-in-progress : ${{ github.ref != 'refs/heads/main' }}
15+
16+ jobs :
17+ check-changes :
18+ name : coprocessor-sns-worker-docker-build/check-changes
19+ permissions :
20+ actions : ' read'
21+ contents : ' read'
22+ pull-requests : ' read'
23+ runs-on : ubuntu-latest
24+ outputs :
25+ changes-coprocessor-sns-worker : ${{ steps.filter.outputs.coprocessor-sns-worker }}
26+ steps :
27+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28+ - uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
29+ id : filter
30+ with :
31+ filters : |
32+ coprocessor-sns-worker:
33+ - .github/workflows/coprocessor-docker-build-sns-worker.yml
34+ - coprocessor/fhevm-engine/sns-executor/**
35+ - coprocessor/fhevm-engine/Cargo.toml
36+ - coprocessor/fhevm-engine/Cargo.lock
37+ build :
38+ name : coprocessor-sns-worker-docker-build/build
39+ needs : check-changes
40+ if : ${{ needs.check-changes.outputs.changes-coprocessor-sns-worker == 'true' || github.event_name == 'release' }}
41+ uses : zama-ai/ci-templates/.github/workflows/common-docker.yml@ef9d90453e0d776453026c751fbbd48e410d605a
42+ secrets :
43+ BLOCKCHAIN_ACTIONS_TOKEN : ${{ secrets.BLOCKCHAIN_ACTIONS_TOKEN }}
44+ AWS_ACCESS_KEY_S3_USER : ${{ secrets.AWS_ACCESS_KEY_S3_USER }}
45+ AWS_SECRET_KEY_S3_USER : ${{ secrets.AWS_SECRET_KEY_S3_USER }}
46+ permissions :
47+ actions : ' read'
48+ contents : ' read'
49+ pull-requests : ' read'
50+ attestations : ' write'
51+ packages : ' write'
52+ id-token : ' write'
53+ with :
54+ working-directory : " ."
55+ docker-context : " ."
56+ push_image : true
57+ image-name : " fhevm/coprocessor/sns-worker"
58+ docker-file : " coprocessor/fhevm-engine/sns-executor/Dockerfile"
59+ app-cache-dir : " fhevm-coprocessor-sns-worker"
Original file line number Diff line number Diff line change 1+ name : coprocessor-tfhe-worker-docker-build
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches :
7+ - main
8+ release :
9+ types :
10+ - published
11+
12+ concurrency :
13+ group : fhevm-coprocessor-tfhe-worker-${{ github.ref_name }}
14+ cancel-in-progress : ${{ github.ref != 'refs/heads/main' }}
15+
16+ jobs :
17+ check-changes :
18+ name : coprocessor-tfhe-worker-docker-build/check-changes
19+ permissions :
20+ actions : ' read'
21+ contents : ' read'
22+ pull-requests : ' read'
23+ runs-on : ubuntu-latest
24+ outputs :
25+ changes-coprocessor-tfhe-worker : ${{ steps.filter.outputs.coprocessor-tfhe-worker }}
26+ steps :
27+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28+ - uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
29+ id : filter
30+ with :
31+ filters : |
32+ coprocessor-tfhe-worker:
33+ - .github/workflows/coprocessor-tfhe-worker-docker-build.yml
34+ - coprocessor/fhevm-engine/coprocessor/**
35+ - coprocessor/fhevm-engine/Cargo.toml
36+ - coprocessor/fhevm-engine/Cargo.lock
37+ build :
38+ name : coprocessor-tfhe-worker-docker-build/build
39+ needs : check-changes
40+ if : ${{ needs.check-changes.outputs.changes-coprocessor-tfhe-worker == 'true' || github.event_name == 'release' }}
41+ uses : zama-ai/ci-templates/.github/workflows/common-docker.yml@ef9d90453e0d776453026c751fbbd48e410d605a
42+ secrets :
43+ BLOCKCHAIN_ACTIONS_TOKEN : ${{ secrets.BLOCKCHAIN_ACTIONS_TOKEN }}
44+ AWS_ACCESS_KEY_S3_USER : ${{ secrets.AWS_ACCESS_KEY_S3_USER }}
45+ AWS_SECRET_KEY_S3_USER : ${{ secrets.AWS_SECRET_KEY_S3_USER }}
46+ permissions :
47+ actions : ' read'
48+ contents : ' read'
49+ pull-requests : ' read'
50+ attestations : ' write'
51+ packages : ' write'
52+ id-token : ' write'
53+ with :
54+ working-directory : " ."
55+ docker-context : " ."
56+ push_image : true
57+ image-name : " fhevm/coprocessor/tfhe-worker"
58+ docker-file : " coprocessor/fhevm-engine/coprocessor/Dockerfile"
59+ app-cache-dir : " fhevm-coprocessor-tfhe-worker"
You can’t perform that action at this time.
0 commit comments