Key | Description | Example | Type |
---|---|---|---|
apps.tanzu.vmware.com/workload-type |
The type of workload | web |
string |
apps.tanzu.vmware.com/scale-to-zero |
Whether it is safe to scale this workload to zero | true |
string |
apps.tanzu.vmware.com/has-tests |
Whether this workload has associated tests | true |
string |
apps.tanzu.vmware.com/prebuilt-image |
Whether the workload is based on a pre-built image instead of source code | false |
string |
apps.tanzu.vmware.com/debug |
Whether the workload supports debugging | false |
string |
apps.tanzu.vmware.com/live-reload |
Whether the workload supports live-reloading at runtime | false |
string |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ ~/d/sources cf push test-application -p /Users/bhale/Downloads/dist-zip-application-1.0.0.BUILD-SNAPSHOT.jar | |
Pushing app test-application to org bhale / space development as [email protected]... | |
Getting app info... | |
Creating app with these attributes... | |
+ name: test-application | |
path: /Users/bhale/Downloads/dist-zip-application-1.0.0.BUILD-SNAPSHOT.jar | |
routes: | |
+ test-application.cfapps.io | |
Creating app test-application... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ ~/Desktop git clone https://github.com/cloudfoundry-samples/spring-music | |
Cloning into 'spring-music'... | |
remote: Enumerating objects: 1255, done. | |
remote: Total 1255 (delta 0), reused 0 (delta 0), pack-reused 1255 | |
Receiving objects: 100% (1255/1255), 840.44 KiB | 4.27 MiB/s, done. | |
Resolving deltas: 100% (437/437), done. | |
➜ ~/Desktop cd spring-music | |
➜ ~/D/spring-music master pack build applications/spring-music | |
base: Pulling from paketobuildpacks/builder | |
Digest: sha256:4648fbdf052322df8ff7600063724815ba292069d9af532bebe3a452d44071a5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ ~/d/s/p/s/j/gradle main pack build applications/gradle --builder paketobuildpacks/builder:base --pull-policy never --timestamps -v | |
2020/09/08 13:41:38.729758 Builder paketobuildpacks/builder:base is trusted | |
2020/09/08 13:41:38.758694 Selected run image index.docker.io/paketobuildpacks/run:base-cnb | |
2020/09/08 13:41:38.785591 Creating builder with the following buildpacks: | |
2020/09/08 13:41:38.785612 -> paketo-buildpacks/[email protected] | |
2020/09/08 13:41:38.785617 -> paketo-buildpacks/[email protected] | |
2020/09/08 13:41:38.785621 -> paketo-buildpacks/[email protected] | |
2020/09/08 13:41:38.785624 -> paketo-buildpacks/[email protected] | |
2020/09/08 13:41:38.785627 -> paketo-buildpacks/[email protected] | |
2020/09/08 13:41:38.785630 -> paketo-buildpacks/[email protected] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
apiVersion: v1 | |
kind: Secret | |
metadata: | |
name: s-datasource | |
type: Opaque | |
stringData: | |
spring.datasource.host: "10.0.0.3" # spring.datasource.host | |
spring.datasource.password: "test-password" # spring.datasource.password | |
spring.datasource.port: "3309" # spring.datasource.port |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ ~/d/s/p/s/j/leiningen main pack build applications/leiningen | |
base-cnb: Pulling from paketo-buildpacks/run | |
Digest: sha256:1303a41dfeebb0450640655ad464c66af5c2a500e20ad86d5687f00c4805d971 | |
Status: Image is up to date for gcr.io/paketo-buildpacks/run:base-cnb | |
0.9.0: Pulling from buildpacksio/lifecycle | |
Digest: sha256:1ca5d38c85aec390a17e721e6d7e79499f307d9c6c808962558de61cc6ccb17c | |
Status: Image is up to date for buildpacksio/lifecycle:0.9.0 | |
===> DETECTING | |
[detector] 6 of 17 buildpacks participating | |
[detector] paketo-buildpacks/bellsoft-liberica 2.13.0-3-g9870d4f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ ~/D/demo ./mvnw spring-boot:build-image | |
[INFO] Scanning for projects... | |
Downloading from central: https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-starter-parent/2.3.2.RELEASE/spring-boot-starter-parent-2.3.2.RELEASE.pom | |
Downloaded from central: https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-starter-parent/2.3.2.RELEASE/spring-boot-starter-parent-2.3.2.RELEASE.pom (8.6 kB at 18 kB/s) | |
Downloading from central: https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-dependencies/2.3.2.RELEASE/spring-boot-dependencies-2.3.2.RELEASE.pom | |
Downloaded from central: https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-dependencies/2.3.2.RELEASE/spring-boot-dependencies-2.3.2.RELEASE.pom (122 kB at 741 kB/s) | |
Downloading from central: https://repo.maven.apache.org/maven2/io/dropwizard/metrics/metrics-bom/4.1.11/metrics-bom-4.1.11.pom | |
Downloaded from central: https://repo.maven.apache.org/maven2/io/dropwizard/metrics/metrics-bom |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ ~/Downloads pack build applications/quarkus --builder gcr.io/paketo-buildpacks/builder:base --path /Users/bhale/Downloads/quarkus-aint-nothin --clear-cache | |
base: Pulling from paketo-buildpacks/builder | |
Digest: sha256:19c0167a1d65abab5bed1a6a7761f4bbfacf211c9fd160345f02ac0e39de2fad | |
Status: Image is up to date for gcr.io/paketo-buildpacks/builder:base | |
base-cnb: Pulling from paketobuildpacks/run | |
Digest: sha256:087a6a98ec8846e2b8d75ae1d563b0a2e0306dd04055c63e04dc6172f6ff6b9d | |
Status: Image is up to date for paketobuildpacks/run:base-cnb | |
===> DETECTING | |
6 of 16 buildpacks participating | |
paketo-buildpacks/bellsoft-liberica 2.11.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ git clone https://github.com/paketo-buildpacks/samples | |
Cloning into 'samples'... | |
remote: Enumerating objects: 357, done. | |
remote: Counting objects: 100% (357/357), done. | |
remote: Compressing objects: 100% (252/252), done. | |
remote: Total 357 (delta 55), reused 347 (delta 48), pack-reused 0 | |
Receiving objects: 100% (357/357), 18.22 MiB | 12.66 MiB/s, done. | |
Resolving deltas: 100% (55/55), done. | |
➜ pack build applications/dist-zip --builder gcr.io/paketo-buildpacks/builder:base --path samples/java/dist-zip --env BP_GRADLE_BUILD_ARGUMENTS="--no-daemon -x test bootDistZip" --env BP_GRADLE_BUILT_ARTIFACT="build/distributions/*.zip" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ docker run -t -p 8080:8080 applications/gradle-boot-2.2.8 | |
Container memory limit unset. Configuring JVM for 1G container. | |
Calculated JVM Memory Configuration: -XX:MaxDirectMemorySize=10M -XX:MaxMetaspaceSize=88901K -XX:ReservedCodeCacheSize=240M -Xss1M -Xmx652474K (Head Room: 0%, Loaded Class Count: 13282, Thread Count: 50, Total Memory: 1073741824) | |
Adding 127 container CA certificates to JVM truststore | |
. ____ _ __ _ _ | |
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ | |
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ | |
\\/ ___)| |_)| | | | | || (_| | ) ) ) ) | |
' |____| .__|_| |_|_| |_\__, | / / / / |
NewerOlder