File tree Expand file tree Collapse file tree 13 files changed +470
-0
lines changed Expand file tree Collapse file tree 13 files changed +470
-0
lines changed Original file line number Diff line number Diff line change 11name : coprocessor-db-migration-docker-build
2+
23on :
4+ workflow_dispatch :
5+ inputs :
6+ ref :
7+ description : ' Branch/ref to build'
8+ required : false
9+ default : ' main'
10+ type : string
11+ trigger_source :
12+ description : ' Source that triggered this workflow'
13+ required : false
14+ default : ' manual'
15+ type : string
316 pull_request :
417 push :
518 branches :
6174 image-name : " fhevm/coprocessor/db-migration"
6275 docker-file : " coprocessor/fhevm-engine/db-migration/Dockerfile"
6376 app-cache-dir : " fhevm-coprocessor-db-migration"
77+ output-build-status :
78+ name : coprocessor-db-migration-docker-build/output-build-status
79+ needs : [check-changes, build]
80+ if : always()
81+ permissions :
82+ contents : ' read'
83+ runs-on : ubuntu-latest
84+ outputs :
85+ image-built : ${{ steps.check-build.outputs.image-built }}
86+ image-tag : ${{ steps.check-build.outputs.image-tag }}
87+ steps :
88+ - name : Check if image was built
89+ id : check-build
90+ run : |
91+ # Check if docker build job ran and succeeded
92+ if [[ "${{ needs.build.result }}" == "success" ]]; then
93+ echo "image-built=true" >> "$GITHUB_OUTPUT"
94+ echo "image-tag=${{ github.sha }}" >> "$GITHUB_OUTPUT"
95+ echo "✅ Image was built successfully"
96+ else
97+ echo "image-built=false" >> "$GITHUB_OUTPUT"
98+ echo "image-tag=" >> "$GITHUB_OUTPUT"
99+ echo "⏭️ Image was not built (result: ${{ needs.build.result }})"
Original file line number Diff line number Diff line change 11name : coprocessor-gw-listener-docker-build
22
33on :
4+ workflow_dispatch :
5+ inputs :
6+ ref :
7+ description : ' Branch/ref to build'
8+ required : false
9+ default : ' main'
10+ type : string
11+ trigger_source :
12+ description : ' Source that triggered this workflow'
13+ required : false
14+ default : ' manual'
15+ type : string
416 pull_request :
517 push :
618 branches :
6476 image-name : " fhevm/coprocessor/gw-listener"
6577 docker-file : " ./coprocessor/fhevm-engine/gw-listener/Dockerfile"
6678 app-cache-dir : " fhevm-coprocessor-gw-listener"
79+ output-build-status :
80+ name : coprocessor-gw-listener-docker-build/output-build-status
81+ needs : [check-changes, build]
82+ if : always()
83+ permissions :
84+ contents : ' read'
85+ runs-on : ubuntu-latest
86+ outputs :
87+ image-built : ${{ steps.check-build.outputs.image-built }}
88+ image-tag : ${{ steps.check-build.outputs.image-tag }}
89+ steps :
90+ - name : Check if image was built
91+ id : check-build
92+ run : |
93+ # Check if docker build job ran and succeeded
94+ if [[ "${{ needs.build.result }}" == "success" ]]; then
95+ echo "image-built=true" >> "$GITHUB_OUTPUT"
96+ echo "image-tag=${{ github.sha }}" >> "$GITHUB_OUTPUT"
97+ echo "✅ Image was built successfully"
98+ else
99+ echo "image-built=false" >> "$GITHUB_OUTPUT"
100+ echo "image-tag=" >> "$GITHUB_OUTPUT"
101+ echo "⏭️ Image was not built (result: ${{ needs.build.result }})"
102+ fi
Original file line number Diff line number Diff line change 11name : coprocessor-host-listener-docker-build
22
33on :
4+ workflow_dispatch :
5+ inputs :
6+ ref :
7+ description : ' Branch/ref to build'
8+ required : false
9+ default : ' main'
10+ type : string
11+ trigger_source :
12+ description : ' Source that triggered this workflow'
13+ required : false
14+ default : ' manual'
15+ type : string
416 pull_request :
517 push :
618 branches :
6678 image-name : " fhevm/coprocessor/host-listener"
6779 docker-file : " coprocessor/fhevm-engine/host-listener/Dockerfile"
6880 app-cache-dir : " fhevm-coprocessor-host-listener"
81+ output-build-status :
82+ name : coprocessor-host-listener-docker-build/output-build-status
83+ needs : [check-changes, build]
84+ if : always()
85+ permissions :
86+ contents : ' read'
87+ runs-on : ubuntu-latest
88+ outputs :
89+ image-built : ${{ steps.check-build.outputs.image-built }}
90+ image-tag : ${{ steps.check-build.outputs.image-tag }}
91+ steps :
92+ - name : Check if image was built
93+ id : check-build
94+ run : |
95+ # Check if docker build job ran and succeeded
96+ if [[ "${{ needs.build.result }}" == "success" ]]; then
97+ echo "image-built=true" >> "$GITHUB_OUTPUT"
98+ echo "image-tag=${{ github.sha }}" >> "$GITHUB_OUTPUT"
99+ echo "✅ Image was built successfully"
100+ else
101+ echo "image-built=false" >> "$GITHUB_OUTPUT"
102+ echo "image-tag=" >> "$GITHUB_OUTPUT"
103+ echo "⏭️ Image was not built (result: ${{ needs.build.result }})"
104+ fi
Original file line number Diff line number Diff line change 11name : coprocessor-sns-worker-docker-build
22
33on :
4+ workflow_dispatch :
5+ inputs :
6+ ref :
7+ description : ' Branch/ref to build'
8+ required : false
9+ default : ' main'
10+ type : string
11+ trigger_source :
12+ description : ' Source that triggered this workflow'
13+ required : false
14+ default : ' manual'
15+ type : string
416 pull_request :
517 push :
618 branches :
6476 image-name : " fhevm/coprocessor/sns-worker"
6577 docker-file : " coprocessor/fhevm-engine/sns-worker/Dockerfile"
6678 app-cache-dir : " fhevm-coprocessor-sns-worker"
79+ output-build-status :
80+ name : coprocessor-sns-worker-docker-build/output-build-status
81+ needs : [check-changes, build]
82+ if : always()
83+ permissions :
84+ contents : ' read'
85+ runs-on : ubuntu-latest
86+ outputs :
87+ image-built : ${{ steps.check-build.outputs.image-built }}
88+ image-tag : ${{ steps.check-build.outputs.image-tag }}
89+ steps :
90+ - name : Check if image was built
91+ id : check-build
92+ run : |
93+ # Check if docker build job ran and succeeded
94+ if [[ "${{ needs.build.result }}" == "success" ]]; then
95+ echo "image-built=true" >> "$GITHUB_OUTPUT"
96+ echo "image-tag=${{ github.sha }}" >> "$GITHUB_OUTPUT"
97+ echo "✅ Image was built successfully"
98+ else
99+ echo "image-built=false" >> "$GITHUB_OUTPUT"
100+ echo "image-tag=" >> "$GITHUB_OUTPUT"
101+ echo "⏭️ Image was not built (result: ${{ needs.build.result }})"
102+ fi
Original file line number Diff line number Diff line change 11name : coprocessor-tfhe-worker-docker-build
22
33on :
4+ workflow_dispatch :
5+ inputs :
6+ ref :
7+ description : ' Branch/ref to build'
8+ required : false
9+ default : ' main'
10+ type : string
11+ trigger_source :
12+ description : ' Source that triggered this workflow'
13+ required : false
14+ default : ' manual'
15+ type : string
416 pull_request :
517 push :
618 branches :
6476 image-name : " fhevm/coprocessor/tfhe-worker"
6577 docker-file : " coprocessor/fhevm-engine/tfhe-worker/Dockerfile"
6678 app-cache-dir : " fhevm-coprocessor-tfhe-worker"
79+ output-build-status :
80+ name : coprocessor-tfhe-worker-docker-build/output-build-status
81+ needs : [check-changes, build]
82+ if : always()
83+ permissions :
84+ contents : ' read'
85+ runs-on : ubuntu-latest
86+ outputs :
87+ image-built : ${{ steps.check-build.outputs.image-built }}
88+ image-tag : ${{ steps.check-build.outputs.image-tag }}
89+ steps :
90+ - name : Check if image was built
91+ id : check-build
92+ run : |
93+ # Check if docker build job ran and succeeded
94+ if [[ "${{ needs.build.result }}" == "success" ]]; then
95+ echo "image-built=true" >> "$GITHUB_OUTPUT"
96+ echo "image-tag=${{ github.sha }}" >> "$GITHUB_OUTPUT"
97+ echo "✅ Image was built successfully"
98+ else
99+ echo "image-built=false" >> "$GITHUB_OUTPUT"
100+ echo "image-tag=" >> "$GITHUB_OUTPUT"
101+ echo "⏭️ Image was not built (result: ${{ needs.build.result }})"
102+ fi
Original file line number Diff line number Diff line change 11name : coprocessor-tx-sender-docker-build
22
33on :
4+ workflow_dispatch :
5+ inputs :
6+ ref :
7+ description : ' Branch/ref to build'
8+ required : false
9+ default : ' main'
10+ type : string
11+ trigger_source :
12+ description : ' Source that triggered this workflow'
13+ required : false
14+ default : ' manual'
15+ type : string
416 pull_request :
517 push :
618 branches :
6476 image-name : " fhevm/coprocessor/tx-sender"
6577 docker-file : " ./coprocessor/fhevm-engine/transaction-sender/Dockerfile"
6678 app-cache-dir : " fhevm-coprocessor-tx-sender"
79+ output-build-status :
80+ name : coprocessor-tx-sender-docker-build/output-build-status
81+ needs : [check-changes, build]
82+ if : always()
83+ permissions :
84+ contents : ' read'
85+ runs-on : ubuntu-latest
86+ outputs :
87+ image-built : ${{ steps.check-build.outputs.image-built }}
88+ image-tag : ${{ steps.check-build.outputs.image-tag }}
89+ steps :
90+ - name : Check if image was built
91+ id : check-build
92+ run : |
93+ # Check if docker build job ran and succeeded
94+ if [[ "${{ needs.build.result }}" == "success" ]]; then
95+ echo "image-built=true" >> "$GITHUB_OUTPUT"
96+ echo "image-tag=${{ github.sha }}" >> "$GITHUB_OUTPUT"
97+ echo "✅ Image was built successfully"
98+ else
99+ echo "image-built=false" >> "$GITHUB_OUTPUT"
100+ echo "image-tag=" >> "$GITHUB_OUTPUT"
101+ echo "⏭️ Image was not built (result: ${{ needs.build.result }})"
102+ fi
Original file line number Diff line number Diff line change 11name : coprocessor-zkproof-worker-docker-build
22
33on :
4+ workflow_dispatch :
5+ inputs :
6+ ref :
7+ description : ' Branch/ref to build'
8+ required : false
9+ default : ' main'
10+ type : string
11+ trigger_source :
12+ description : ' Source that triggered this workflow'
13+ required : false
14+ default : ' manual'
15+ type : string
416 pull_request :
517 push :
618 branches :
6476 image-name : " fhevm/coprocessor/zkproof-worker"
6577 docker-file : " coprocessor/fhevm-engine/zkproof-worker/Dockerfile"
6678 app-cache-dir : " fhevm-coprocessor-zkproof-worker"
79+ output-build-status :
80+ name : coprocessor-zkproof-worker-docker-build/output-build-status
81+ needs : [check-changes, build]
82+ if : always()
83+ permissions :
84+ contents : ' read'
85+ runs-on : ubuntu-latest
86+ outputs :
87+ image-built : ${{ steps.check-build.outputs.image-built }}
88+ image-tag : ${{ steps.check-build.outputs.image-tag }}
89+ steps :
90+ - name : Check if image was built
91+ id : check-build
92+ run : |
93+ # Check if docker build job ran and succeeded
94+ if [[ "${{ needs.build.result }}" == "success" ]]; then
95+ echo "image-built=true" >> "$GITHUB_OUTPUT"
96+ echo "image-tag=${{ github.sha }}" >> "$GITHUB_OUTPUT"
97+ echo "✅ Image was built successfully"
98+ else
99+ echo "image-built=false" >> "$GITHUB_OUTPUT"
100+ echo "image-tag=" >> "$GITHUB_OUTPUT"
101+ echo "⏭️ Image was not built (result: ${{ needs.build.result }})"
102+ fi
Original file line number Diff line number Diff line change 11name : gateway-contracts-docker-build
22
33on :
4+ workflow_dispatch :
5+ inputs :
6+ ref :
7+ description : ' Branch/ref to build'
8+ required : false
9+ default : ' main'
10+ type : string
11+ trigger_source :
12+ description : ' Source that triggered this workflow'
13+ required : false
14+ default : ' manual'
15+ type : string
416 pull_request :
517 push :
618 branches :
6981 uses : ./.github/workflows/gateway-contracts-hardhat-tests-docker.yml
7082 with :
7183 image-name : ${{ needs.build.outputs.image }}
84+
85+ output-build-status :
86+ name : gateway-contracts-docker-build/output-build-status
87+ needs : [check-changes, build]
88+ if : always()
89+ permissions :
90+ contents : ' read'
91+ runs-on : ubuntu-latest
92+ outputs :
93+ image-built : ${{ steps.check-build.outputs.image-built }}
94+ image-tag : ${{ steps.check-build.outputs.image-tag }}
95+ steps :
96+ - name : Check if image was built
97+ id : check-build
98+ run : |
99+ # Check if docker build job ran and succeeded
100+ if [[ "${{ needs.build.result }}" == "success" ]]; then
101+ echo "image-built=true" >> "$GITHUB_OUTPUT"
102+ echo "image-tag=${{ github.sha }}" >> "$GITHUB_OUTPUT"
103+ echo "✅ Image was built successfully"
104+ else
105+ echo "image-built=false" >> "$GITHUB_OUTPUT"
106+ echo "image-tag=" >> "$GITHUB_OUTPUT"
107+ echo "⏭️ Image was not built (result: ${{ needs.build.result }})"
You can’t perform that action at this time.
0 commit comments