Skip to content

feat(nimbus): Handle already reacted slack emojis (#15286) #23

feat(nimbus): Handle already reacted slack emojis (#15286)

feat(nimbus): Handle already reacted slack emojis (#15286) #23

Workflow file for this run

name: Deploy Cirrus
on:
push:
branches:
- main
workflow_dispatch: {}
env:
PROJECT_ID: moz-fx-cirrus-prod
IMAGE_BASE: us-docker.pkg.dev/moz-fx-cirrus-prod/cirrus-prod/cirrus
jobs:
deploy:
name: Deploy Cirrus
runs-on: ubuntu-24.04
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v6
with:
persist-credentials: false
fetch-tags: true
fetch-depth: 0
- uses: ./.github/actions/check-changed-paths
id: check-paths
with:
paths: "cirrus/ application-services/ experimenter/experimenter/features/manifests/"
- uses: ./.github/actions/setup-cached-build
if: steps.check-paths.outputs.should-run == 'true'
- name: Build Cirrus
if: steps.check-paths.outputs.should-run == 'true'
run: make cirrus_build
- name: Generate image tag
if: steps.check-paths.outputs.should-run == 'true'
id: tag
run: |
TAG="sha-$(git rev-parse --short=9 HEAD)"
echo "image_tag=${TAG}" >> "$GITHUB_OUTPUT"
- name: Tag image for GAR
if: steps.check-paths.outputs.should-run == 'true'
env:
IMAGE_TAG: ${{ steps.tag.outputs.image_tag }}
run: |
docker tag cirrus:deploy "${IMAGE_BASE}:latest"
docker tag cirrus:deploy "${IMAGE_BASE}:${IMAGE_TAG}"
- name: Push to Google Artifact Registry
if: steps.check-paths.outputs.should-run == 'true'
uses: mozilla-it/deploy-actions/[email protected]
with:
image_tags: |-
${{ env.IMAGE_BASE }}:latest
${{ env.IMAGE_BASE }}:${{ steps.tag.outputs.image_tag }}
workload_identity_pool_project_number: ${{ vars.GCPV2_WORKLOAD_IDENTITY_POOL_PROJECT_NUMBER }}
project_id: ${{ env.PROJECT_ID }}