How to list out Tanzu buildpack packages from packages.broadcom.com artifactory
search cancel

How to list out Tanzu buildpack packages from packages.broadcom.com artifactory

book

Article ID: 421362

calendar_today

Updated On:

Products

VMware Tanzu Platform - Kubernetes VMware Tanzu Build Service

Issue/Introduction

This KB contains the step to list out Tanzu buildpack packages from packages.broadcom.com artifactory using imgpkg CLI.

The jFrog UI for tanzu-build.packages.broadcom.com has restricted access to these repositories, so it is necessary to use imgpkg CLI.

Resolution

These steps are similar to that outlined in TAP installation guide which details steps to get Broadcom registry API token for Tanzu Application Platform.

Firstly obtain token from Broadcom Support Portal by clicking Green Shield next to product release.

Next set the following variables:

export IMGPKG_REGISTRY_HOSTNAME_2=tanzu-build.packages.broadcom.com 
export IMGPKG_REGISTRY_USERNAME_2=MY-BROADCOM-SUPPORT-USERNAME
export IMGPKG_REGISTRY_PASSWORD_2=${MY_BROADCOM_SUPPORT_ACCESS_TOKEN}

Then you can run imgpkg command like this to list out latest versions of a buildpack:

imgpkg tag list -i tanzu-build.packages.broadcom.com/tanzu-java-buildpack/java | sort -V
10.6.0
10.6.1
10.7.0

The following are the repository names for different buildpacks. (these names can be used to replace java example in command above)

Buildpack Images
add -lite to the end of the buildapck image for lite buildpack (ie java-lite)

java -> tanzu-build.packages.broadcom.com/tanzu-java-buildpack/java
go -> tanzu-build.packages.broadcom.com/tanzu-go-buildpack/go
nodejs -> tanzu-build.packages.broadcom.com/tanzu-nodejs-buildpack/nodejs
php -> tanzu-build.packages.broadcom.com/tanzu-php-buildpack/php
python -> tanzu-build.packages.broadcom.com/tanzu-python-buildpack/python
ruby -> tanzu-build.packages.broadcom.com/tanzu-ruby-buildpack/ruby
web-servers -> tanzu-build.packages.broadcom.com/tanzu-web-servers-buildpack/web-servers
php -> tanzu-build.packages.broadcom.com/tanzu-php-buildpack/php

You can then use these to perform out-of-band upgrades of buildpacks in either TAP or TBS.