GENAI-3316 Adjust contexual ranking for personalization (#1261) #403
This file contains hidden or 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: main-workflow # The ETE Pipeline integration depends on this name | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| run-checks: | |
| uses: ./.github/workflows/checks.yaml | |
| run-tests: | |
| uses: ./.github/workflows/tests.yaml | |
| upload-test-artifacts: | |
| needs: run-tests | |
| if: always() # Ensure the job runs even if previous jobs, like test runs, fail | |
| uses: ./.github/workflows/upload-test-artifacts-to-gcs.yaml | |
| with: | |
| destination: "gs://ecosystem-test-eng-metrics/merino-py/junit" | |
| extension: "xml" | |
| upload-coverage-artifacts: | |
| needs: run-tests | |
| if: always() # Ensure the job runs even if previous jobs, like test runs, fail | |
| uses: ./.github/workflows/upload-test-artifacts-to-gcs.yaml | |
| with: | |
| destination: "gs://ecosystem-test-eng-metrics/merino-py/coverage" | |
| extension: "json" | |
| run-docs-build: | |
| uses: ./.github/workflows/docs-build.yaml | |
| run-docs-publish-github-pages: | |
| needs: run-docs-build | |
| uses: ./.github/workflows/docs-publish-github-pages.yaml | |
| run-build-gar-image: | |
| uses: ./.github/workflows/build-gar-image.yaml | |
| with: | |
| image_tag: latest | |
| secrets: | |
| DOCKER_IMAGE_PATH: ${{ secrets.DOCKER_IMAGE_PATH }} | |
| run-publish-gar-image: | |
| needs: run-build-gar-image | |
| uses: ./.github/workflows/publish-gar-image.yaml | |
| with: | |
| image_tag: latest | |
| project_id: ${{ vars.GCP_PROJECT_ID }} | |
| workload_identity_pool_project_number: ${{ vars.GCPV2_WORKLOAD_IDENTITY_POOL_PROJECT_NUMBER }} | |
| secrets: | |
| DOCKER_IMAGE_PATH: ${{ secrets.DOCKER_IMAGE_PATH }} | |
| run-build-gar-image-locust: | |
| uses: ./.github/workflows/build-gar-image-locust.yaml | |
| with: | |
| image_tag: latest | |
| secrets: | |
| DOCKER_IMAGE_PATH: ${{ secrets.DOCKER_IMAGE_PATH }} | |
| run-publish-gar-image-locust: | |
| needs: run-build-gar-image-locust | |
| uses: ./.github/workflows/publish-gar-image-locust.yaml | |
| with: | |
| image_tag: latest | |
| project_id: ${{ vars.GCP_PROJECT_ID }} | |
| workload_identity_pool_project_number: ${{ vars.GCPV2_WORKLOAD_IDENTITY_POOL_PROJECT_NUMBER }} | |
| secrets: | |
| DOCKER_IMAGE_PATH: ${{ secrets.DOCKER_IMAGE_PATH }} | |
| run-build-dockerhub-app: | |
| uses: ./.github/workflows/build-dockerhub-app-image.yaml | |
| with: | |
| image_tag: ${{ github.sha }} | |
| secrets: | |
| DOCKERHUB_REPO: ${{ secrets.DOCKERHUB_REPO }} | |
| run-publish-dockerhub-app: | |
| needs: run-build-dockerhub-app | |
| uses: ./.github/workflows/publish-dockerhub-app-image.yaml | |
| with: | |
| image_tag: ${{ github.sha }} | |
| secrets: | |
| DOCKERHUB_REPO: ${{ secrets.DOCKERHUB_REPO }} | |
| DOCKER_USER: ${{ secrets.DOCKER_USER }} | |
| DOCKERHUB_ACCESS_TOKEN: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }} |