Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.

Commit b0c81e5

Browse files
committed
Remove Tiltfile
1 parent 2bc14d1 commit b0c81e5

3 files changed

Lines changed: 9 additions & 63 deletions

File tree

DEPLOYING.md

Lines changed: 8 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,21 @@
22

33
> NOTE: The provided `config/workload.yaml` file uses the Git URL for this sample. When you want to modify the source, you must push the code to your own Git repository and then update the `spec.source.git` information in the `config/workload.yaml` file.
44
5-
## Deploying to Kubernetes as a TAP workload with Tilt
6-
7-
You can containerize this template app and deploy it as a Tanzu Application Platform (TAP) workload.
8-
You need to have TAP installed on your cluster.
9-
See the [VMware Tanzu Application Platform documentation](https://docs.vmware.com/en/VMware-Tanzu-Application-Platform/index.html) for details.
10-
11-
We have included a `Tiltfile` file to make this easier when deploying to a cluster.
12-
13-
For best results use Tilt version v0.23.2 or later. You can install Tilt by following these instructions: https://docs.tilt.dev/install.html
14-
15-
To set up the deployment environment set the CURRENT_CONTEXT environment variable.
16-
17-
Set CURRENT_CONTEXT using:
18-
19-
```
20-
export CURRENT_CONTEXT=$(kubectl config current-context)
21-
```
5+
## Deploying to Kubernetes as a TAP workload with Tanzu CLI
226

23-
To build and deploy the app run:
7+
When you are done developing your app, you can simply deploy it using:
248

259
```
26-
tilt up
10+
tanzu apps workload apply -f config/workload.yaml
2711
```
2812

29-
and follow the instructions (hitting space bar brings up the Tilt interface in your browser).
30-
31-
To uninstall the app run:
13+
If you would like deploy the code from your local working directory you can use the following command:
3214

3315
```
34-
tilt down
16+
tanzu apps workload create node-express -f config/workload.yaml \
17+
--local-path . \
18+
--source-image <REPOSITORY-PREFIX>/node-express-source \
19+
--type web
3520
```
3621

3722
## Accessing the app deployed to your cluster
@@ -47,20 +32,3 @@ tanzu apps workload get node-express
4732
To access the deployed app open the URL shown in your browser.
4833

4934
This depends on the TAP installation having DNS configured for the Knative ingress.
50-
51-
## Deploying to Kubernetes as a TAP workload with Tanzu CLI
52-
53-
When you are done developing your app, you can simply deploy it using:
54-
55-
```
56-
tanzu apps workload apply -f config/workload.yaml
57-
```
58-
59-
If you would like deploy the code from your local working directory you can use the following command:
60-
61-
```
62-
tanzu apps workload create node-express -f config/workload.yaml \
63-
--local-path . \
64-
--source-image <REPOSITORY-PREFIX>/node-express-source \
65-
--type web
66-
```

Tiltfile

Lines changed: 0 additions & 15 deletions
This file was deleted.

accelerator.yaml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ accelerator:
1818
engine:
1919
merge:
2020
- include: [ "**" ]
21-
exclude: [ "package.json", "config/**", "catalog/**", "README.md", "DEPLOYING.md", "TILTFILE" ]
21+
exclude: [ "package.json", "config/**", "catalog/**", "README.md", "DEPLOYING.md" ]
2222
- include: [ "package.json" ]
2323
chain:
2424
- type: ReplaceText
@@ -39,13 +39,6 @@ engine:
3939
substitutions:
4040
- text: node-express
4141
with: "#artifactId"
42-
- include: [ "Tiltfile" ]
43-
condition: "#includeTap"
44-
chain:
45-
- type: ReplaceText
46-
substitutions:
47-
- text: node-express
48-
with: "#artifactId"
4942
- name: README
5043
type: Combo
5144
onConflict: Append

0 commit comments

Comments
 (0)