Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-6679

Make branch number extractable from github environment on pipeline to push image from dev branch to GCR

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • L3 - Default
    • None
    • None
    • backend
    • None
    • Not defined

    Description

      Currently, our Github Actions pipeline with name *push-dev-branch-image.yml * contains the following snippet of code, which hard codes the version of Optimize:

                echo "docker_image=gcr.io/${{ steps.auth.outputs.project_id }}/${{ env.IMAGE_NAME }}:${{ github.event.inputs.image_tag }}" >> "$GITHUB_OUTPUT"
      
      

      Ideally we would like to find a way to extract the number of a branch from the environment variable without having to input it as an input variable on the pipeline.

      ATs:

      • There is no input variable anymore for the image tag
      • The image tag, strips the branch number read from the github env (for instance OPT-1111 will become 1111) and attaches it to the release version like so: 3.OPTIMIZE-VERSION-1111-SNAPSHOT

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                andromachi.rozaki Andromachi Rozaki
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:

                  Salesforce