Skip to content

Refactoring image path computation #10835

@aaannz

Description

@aaannz

Computing image path is very confusing given the hidden namespace value provided by the build system. This adds uncertainty and need for tricks and different computations for PTFs and etc.

To solve this we are going to do:

  • change registry and image to image containing a namespace value
  • computeImage always concatenate registry and image and tag
  • help should print default image without registry (for default including namespace)
  • hack registry in bind_flags to allow registry, registry-host, registry-user, registry-password
  • hack when registry is registry.suse.com, then --scc-user and --scc-password works as registry-user and registry-password
  • mgrpxy needs to load mgrpxy.yaml config file automatically already covered by uyuni-tools.yaml
  • backport 5.1, 5.0
  • adapt specfile to split namespace and pass as a separate build variable = DefaultRegistry, ImagePrefix

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions