Skip to content

gw listener: key/crs activation #3283

gw listener: key/crs activation

gw listener: key/crs activation #3283

name: test-suite-docker-build
on:
pull_request:
push:
branches:
- main
release:
types:
- published
permissions: {}
concurrency:
group: test-suite-e2e-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
check-changes:
name: test-suite-docker-build/check-changes
permissions:
actions: 'read' # Required to read workflow run information
contents: 'read' # Required to checkout repository code
pull-requests: 'read' # Required to read pull request information
runs-on: ubuntu-latest
outputs:
changes-e2e-docker: ${{ steps.filter.outputs.e2e-docker }}
changes-benchmarks-docker: ${{ steps.filter.outputs.benchmarks-docker }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: filter
with:
filters: |
e2e-docker:
- '.github/workflows/test-suite-docker-build.yml'
- 'test-suite/e2e/**'
benchmarks-docker:
- '.github/workflows/test-suite-docker-build.yml'
- 'test-suite/benchmarks/**'
docker-e2e-image:
name: test-suite-docker-build/docker-e2e-image (bpr)
needs: check-changes
if: ${{ needs.check-changes.outputs.changes-e2e-docker == 'true' || github.event_name == 'release' }}
uses: zama-ai/ci-templates/.github/workflows/common-docker.yml@3d8b1adcb5504fef30223016d459e3e38b36f9d1
secrets:
AWS_ACCESS_KEY_S3_USER: ${{ secrets.AWS_ACCESS_KEY_S3_USER }}
AWS_SECRET_KEY_S3_USER: ${{ secrets.AWS_SECRET_KEY_S3_USER }}
BLOCKCHAIN_ACTIONS_TOKEN: ${{ secrets.BLOCKCHAIN_ACTIONS_TOKEN }}
permissions:
actions: 'read' # Required to read workflow run information
contents: 'read' # Required to checkout repository code
pull-requests: 'read' # Required to read pull request information
attestations: 'write' # Required to create build attestations
packages: 'write' # Required to publish Docker images
id-token: 'write' # Required for OIDC authentication
with:
working-directory: "."
docker-context: "."
push_image: true
image-name: "fhevm/test-suite/e2e"
docker-file: "./test-suite/e2e/Dockerfile"
app-cache-dir: "fhevm-test-suite-e2e"
docker-benchmarks-image:
name: test-suite-docker-build/docker-benchmarks-image (bpr)
needs: check-changes
if: ${{ needs.check-changes.outputs.changes-benchmarks-docker == 'true' || github.event_name == 'release' }}
uses: zama-ai/ci-templates/.github/workflows/common-docker.yml@3d8b1adcb5504fef30223016d459e3e38b36f9d1
secrets:
AWS_ACCESS_KEY_S3_USER: ${{ secrets.AWS_ACCESS_KEY_S3_USER }}
AWS_SECRET_KEY_S3_USER: ${{ secrets.AWS_SECRET_KEY_S3_USER }}
BLOCKCHAIN_ACTIONS_TOKEN: ${{ secrets.BLOCKCHAIN_ACTIONS_TOKEN }}
permissions:
actions: 'read' # Required to read workflow run information
contents: 'read' # Required to checkout repository code
pull-requests: 'read' # Required to read pull request information
attestations: 'write' # Required to create build attestations
packages: 'write' # Required to publish Docker images
id-token: 'write' # Required for OIDC authentication
with:
working-directory: "."
docker-context: "."
push_image: true
image-name: "fhevm/test-suite/benchmarks"
docker-file: "./test-suite/benchmarks/Dockerfile"
app-cache-dir: "fhevm-test-suite-benchmarks"