microsoft / microsoft/AzureTRE-Deployment

register_tre_bundle.yml has a hardcoded location and does not seem to work when running from a branch

Open
#135 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
18
Forks
32
Avg merge
8d 18h
Merged PRs (30d)
1

Description

There is a hardcoded 'uksouth' value for LOCATION on line 179 (in the "Deploy management" step) of the register_tre_bundle.yml workflow file.

After fixing that locally to use the correct location, running the workflow on a topic branch (and leaving prRef empty) results in the following:

Image

The issue appears to be that the "latest" tag is hardcoded in the container image but the register action is looking for a tag based on the refid of the workflow.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with register_tre_bundle.yml, especially line 179 in the "Deploy management" step, and inspect how LOCATION and the container image tag are passed when prRef is empty. Compare the hardcoded location and latest tag with the workflow refid lookup. Done means the branch workflow uses the correct location and registers the expected image successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, shell
Domain
ci-cd, cloud, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.