-
Notifications
You must be signed in to change notification settings - Fork 3
App Deployment Window
Tanzu Toolkit for Visual Studio provides a convenient dialog for pushing your apps to Tanzu Platform.
This window can be accessed by right-clicking on a project in the Visual Studio Solution Explorer & selecting "Push To Tanzu Platform".
0-0-3-app-deployment.mp4
The most straightforward way to configure your app deployment is to provide the deployment dialog with an App Manifest.
If an app manifest named "manifest.yaml" or "manifest.yml" exists in the root directory of the selected project, the toolkit will open it by default. You can specify a different app manifest file to use by clicking on the folder icon in the "App Manifest" selection field.
While providing an app manifest is not a requirement, these three values must be provided before the app can be pushed:
- App name
- Target organization
- Target space
If you'd like to make adjustments to specific values before deploying your app, clicking "More Options" will display more fields that allow for customization of:
- Path (which directory to push)
- Buildpacks
- Stack
- Start command
- Services
Note
While values changed under "More Options" will be used for deployments initiated from this window, they will not be persisted to your manifest file. Use the button "Save As Manifest File..." to create or overwrite a manifest file with the updated values.
All values specified in this window are compiled into a temporary manifest file which is passed to the CF CLI as it executes a cf push command for your app. This temporary manifest is saved to the installation directory of this VS extension (c:\users\<user>\appdata\local\microsoft\visualstudio\<vs-instance>\extensions\vmware\tanzu toolkit for visual studio\<vsix-version> by default) and deleted after the cf push command is executed.