Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Use production harbor for TKG Bom bits as defined in compatibility file #2535

Closed
jpmcb opened this issue Nov 15, 2021 · 0 comments · Fixed by #2635
Closed

Use production harbor for TKG Bom bits as defined in compatibility file #2535

jpmcb opened this issue Nov 15, 2021 · 0 comments · Fixed by #2635
Assignees
Labels
kind/test-release A change in ci, cd, building, testing, packaging, or releasing TCE owner/framework Work executed in vmware-tanzu/tanzu-framework owner/release-eng Work executed by VMware release engineering team
Milestone

Comments

@jpmcb
Copy link
Contributor

jpmcb commented Nov 15, 2021

Bug Report

We need to use the production harbor for all future releases of TCE:

https://github.com/vmware-tanzu/community-edition/blob/main/Makefile#L57

this was a fast workaround to get us upgraded to the latest tanzu-framework version which does not have the latest compatible BOM artifacts from tanzu-framework release. For now, we can use the staging registry.

Expected Behavior

Use production harbor during build and release

Steps to Reproduce the Bug

When targeting the production harbor in our build:

$ CLUSTER_PLAN=dev tanzu management-cluster create mytest -i docker -v 10

Downloading TKG compatibility file from 'projects.registry.vmware.com/tkg/framework-zshippable/tkg-compatibility'
Error: unable to ensure prerequisites: unable to ensure tkg BOM file: failed to download default bom files from the registry: unable to get the default BOM file ImagePath and Image Tag from the TKG Compatibility file: unable to find the supported TKG BOM version for the management plugin version "v0.10.0" in the TKG Compatibility file "/home/ubuntu/.config/tanzu/tkg/compatibility/tkg-compatibility.yaml"

This is because the bom files are not present for the compatible version of tanzu-framework in the production harbor:

❯ cat ~/.config/tanzu/tkg/compatibility/tkg-compatibility.yaml
version: v20
managementClusterPluginVersions:
...
- version: v0.10.0
  supportedTKGBomVersions:
  - imagePath: tkg-bom
    tag: v1.5.0-tf-v0.10.0
...

❯ docker pull projects.registry.vmware.com/tkg/tkg-bom:v1.5.0-tf-v0.10.0
Error response from daemon: unknown: artifact tkg/tkg-bom:v1.5.0-tf-v0.10.0 not found

Screenshots or additional information and context

Related to #2523

Environment Details

N/a

Diagnostics and log bundle

N/a

@jpmcb jpmcb added kind/test-release A change in ci, cd, building, testing, packaging, or releasing TCE owner/release-eng Work executed by VMware release engineering team labels Nov 15, 2021
@jpmcb jpmcb added this to the v0.10.0 milestone Nov 15, 2021
@jpmcb jpmcb modified the milestones: v0.10.0, v0.11.0 Nov 17, 2021
@jpmcb jpmcb added the owner/framework Work executed in vmware-tanzu/tanzu-framework label Nov 17, 2021
@jpmcb jpmcb changed the title v0.10.0 release: Use production harbor Use production harbor for TKG Bom bits as defined in compatibility file Nov 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/test-release A change in ci, cd, building, testing, packaging, or releasing TCE owner/framework Work executed in vmware-tanzu/tanzu-framework owner/release-eng Work executed by VMware release engineering team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants