fix test identifier backwards compatibility test #177
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Build ODIS loadtest image | |
on: | |
push: | |
paths: | |
- 'dockerfiles/Dockerfile-loadtest' | |
- 'apps/monitor/**' | |
- 'yarn.lock' | |
branches: | |
- main | |
tags: | |
- odis-loadtest-.* | |
pull_request: | |
paths: | |
- 'dockerfiles/Dockerfile-loadtest' | |
- 'apps/monitor/**' | |
- 'yarn.lock' | |
workflow_dispatch: | |
jobs: | |
odis-loadtest-build-dev: | |
uses: celo-org/reusable-workflows/.github/workflows/[email protected] | |
name: Build us-west1-docker.pkg.dev/devopsre/dev-images/odis-loadtest | |
if: | | |
github.ref != 'refs/heads/main' | |
with: | |
workload-id-provider: projects/1094498259535/locations/global/workloadIdentityPools/gh-social-connect/providers/github-by-repos | |
service-account: '[email protected]' | |
artifact-registry: us-west1-docker.pkg.dev/devopsre/dev-images/odis-loadtest | |
tag: ${{ github.sha }} | |
context: . | |
file: dockerfiles/Dockerfile-loadtest | |
trivy: true | |
odis-loadtest-build: | |
uses: celo-org/reusable-workflows/.github/workflows/[email protected] | |
name: Build us-west1-docker.pkg.dev/devopsre/social-connect/odis-loadtest | |
if: | | |
github.ref == 'refs/heads/main' | |
with: | |
workload-id-provider: projects/1094498259535/locations/global/workloadIdentityPools/gh-social-connect-main/providers/github-by-repos | |
service-account: '[email protected]' | |
artifact-registry: us-west1-docker.pkg.dev/devopsre/social-connect/odis-loadtest | |
tag: ${{ github.sha }} | |
context: . | |
file: dockerfiles/Dockerfile-loadtest | |
trivy: true | |
odis-loadtest-tag: | |
uses: celo-org/reusable-workflows/.github/workflows/[email protected] | |
name: Build us-west1-docker.pkg.dev/devopsre/social-connect/odis-loadtest tag | |
if: | | |
startsWith(github.ref, 'refs/tags/odis-loadtest-') | |
with: | |
workload-id-provider: projects/1094498259535/locations/global/workloadIdentityPools/gh-social-connect-tag/providers/github-by-repos | |
service-account: '[email protected]' | |
artifact-registry: us-west1-docker.pkg.dev/devopsre/social-connect/odis-loadtest | |
tag: ${{ github.ref_name }} | |
context: . | |
file: dockerfiles/phone-number-privacy/Dockerfile-loadtest | |
trivy: true |