Skip to content

Custom supply chain for TAP that allows .NET applications to specify a project path.

Notifications You must be signed in to change notification settings

fjb4/tap-bp-supply-chain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cartographer supply chain that supports passing config parameters to Cloud Native Buildpacks

This has been tested with Tanzu Application Platform Beta 3.

This repo contains a Cartographer supply chain that allows configuration parameters to be passed to Cloud Native Buildpacks. When using this supply chain, any workload parameter that begins with "BP_" will be included in the kpack image YAML.

Create the supply chain:

  • kubectl create -f clusterimagetemplate.yaml
  • kubectl create -f clustersupplychain.yaml

Create a workload that uses the supply chain (requires the tanzu CLI):

  • tanzu apps workload create dotnet-accelerator --git-repo https://github.com/fjb4/tap-web-demo --git-branch main --type web-bp --param BP_DOTNET_PROJECT_PATH=src/Tanzu.WebDemo

Note that using the supply chain requires you to specify a workload type of "web-bp". Any workload parameters that begin with "BP_" will be include in the kpack image YAML.

The example above shows how to pass the BP_DOTNET_PROJECT_PATH parameter to the .NET buildpack. This is necessary when building a .NET application where the project file is not in the root folder.

About

Custom supply chain for TAP that allows .NET applications to specify a project path.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published