Skip to content

Commit

Permalink
Update tutorials (#78)
Browse files Browse the repository at this point in the history
Co-authored-by: heroku-linguist[bot] <136119646+heroku-linguist[bot]@users.noreply.github.com>
  • Loading branch information
heroku-linguist[bot] authored Jan 1, 2025
1 parent 9e800f4 commit 7131809
Show file tree
Hide file tree
Showing 9 changed files with 213 additions and 214 deletions.
22 changes: 11 additions & 11 deletions docs/dotnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Ensure that `pack` is installed correctly:

```
$ pack --version
0.35.1+git-3a22a7f.build-6099
0.36.1+git-852fcaa.build-6234
```
<!-- STOP. This document is autogenerated. Do not manually modify. See the top of the doc for more details. -->
## Configure the default pack builder
Expand Down Expand Up @@ -142,15 +142,15 @@ Skipping buildpack layer analysis
- Detected version requirement: `^8.0`
- Resolved .NET SDK version `8.0.404` (linux-amd64)
- SDK installation
- Downloading SDK from https://download.visualstudio.microsoft.com/download/pr/4e3b04aa-c015-4e06-a42e-05f9f3c54ed2/74d1bb68e330eea13ecfc47f7cf9aeb7/dotnet-sdk-8.0.404-linux-x64.tar.gz ... (0.7s)
- Downloading SDK from https://download.visualstudio.microsoft.com/download/pr/4e3b04aa-c015-4e06-a42e-05f9f3c54ed2/74d1bb68e330eea13ecfc47f7cf9aeb7/dotnet-sdk-8.0.404-linux-x64.tar.gz ... (0.6s)
- Verifying SDK checksum
- Installing SDK
- Publish solution
- Using `Release` build configuration
- Running `dotnet publish /workspace/GettingStarted.sln --runtime linux-x64 "-p:PublishDir=bin/publish"`
Determining projects to restore...
Restored /workspace/Frontend/Frontend.csproj (in 11.42 sec).
Restored /workspace/Frontend/Frontend.csproj (in 11.51 sec).
Frontend -> /workspace/Frontend/bin/Release/net8.0/linux-x64/Frontend.dll
Frontend -> /workspace/Frontend/bin/publish/
Restoring .NET tools
Expand All @@ -164,7 +164,7 @@ Skipping buildpack layer analysis
Done. Migrations Bundle: /workspace/Frontend/bin/publish/efbundle
Don't forget to copy appsettings.json alongside your bundle if you need it to apply migrations.
- Done (28.5s)
- Done (28.6s)
- Setting launch table
- Detecting process types from published artifacts
- Added `Frontend`: bash -c cd Frontend/bin/publish; ./Frontend --urls http://*:$PORT
Expand All @@ -187,7 +187,7 @@ Adding label 'io.buildpacks.build.metadata'
Adding label 'io.buildpacks.project.metadata'
Setting default process type 'web'
Saving my-image-name...
*** Images (934d2192b298):
*** Images (9d0bf47abadf):
my-image-name
Adding cache layer 'heroku/dotnet:nuget-cache'
Adding cache layer 'heroku/dotnet:sdk'
Expand All @@ -202,7 +202,7 @@ Verify that you see “Successfully built image my-image-name” at the end of t

```
$ docker image ls --format "table {{.ID}}\t{{.Repository}}\t{{.Tag}}" | grep my-image-name
934d2192b298 my-image-name latest
9d0bf47abadf my-image-name latest
```
<!-- STOP. This document is autogenerated. Do not manually modify. See the top of the doc for more details. -->
## What does `pack build` do?
Expand Down Expand Up @@ -242,7 +242,7 @@ $ docker run -it --rm --env PORT=5006 -p 5006:5006 my-image-name
warn: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[60]
Storing keys in a directory '/home/heroku/.aspnet/DataProtection-Keys' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed. For more information go to https://aka.ms/aspnet/dataprotectionwarning
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
No XML encryptor configured. Key {95818f5f-5e43-4786-bcd2-086ffcfd1654} may be persisted to storage in unencrypted form.
No XML encryptor configured. Key {ba42d565-a019-46a9-96a4-ee235793e656} may be persisted to storage in unencrypted form.
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://[::]:5006
info: Microsoft.Hosting.Lifetime[0]
Expand Down Expand Up @@ -424,15 +424,15 @@ Running 'pip install -r requirements.txt'
- Detected version requirement: `^8.0`
- Resolved .NET SDK version `8.0.404` (linux-amd64)
- SDK installation
- Downloading SDK from https://download.visualstudio.microsoft.com/download/pr/4e3b04aa-c015-4e06-a42e-05f9f3c54ed2/74d1bb68e330eea13ecfc47f7cf9aeb7/dotnet-sdk-8.0.404-linux-x64.tar.gz ... (0.9s)
- Downloading SDK from https://download.visualstudio.microsoft.com/download/pr/4e3b04aa-c015-4e06-a42e-05f9f3c54ed2/74d1bb68e330eea13ecfc47f7cf9aeb7/dotnet-sdk-8.0.404-linux-x64.tar.gz ... (0.7s)
- Verifying SDK checksum
- Installing SDK
- Publish solution
- Using `Release` build configuration
- Running `dotnet publish /workspace/GettingStarted.sln --runtime linux-x64 "-p:PublishDir=bin/publish"`
Determining projects to restore...
Restored /workspace/Frontend/Frontend.csproj (in 11.57 sec).
Restored /workspace/Frontend/Frontend.csproj (in 11.15 sec).
Frontend -> /workspace/Frontend/bin/Release/net8.0/linux-x64/Frontend.dll
Frontend -> /workspace/Frontend/bin/publish/
Restoring .NET tools
Expand All @@ -450,7 +450,7 @@ Running 'pip install -r requirements.txt'
- Setting launch table
- Detecting process types from published artifacts
- Added `Frontend`: bash -c cd Frontend/bin/publish; ./Frontend --urls http://*:$PORT
- Done (finished in 32.6s)
- Done (finished in 32.3s)
## Procfile Buildpack
Expand All @@ -471,7 +471,7 @@ Adding label 'io.buildpacks.build.metadata'
Adding label 'io.buildpacks.project.metadata'
Setting default process type 'web'
Saving my-image-name...
*** Images (937703a6ee96):
*** Images (500809f837c7):
my-image-name
Adding cache layer 'heroku/python:pip'
Adding cache layer 'heroku/python:pip-cache'
Expand Down
10 changes: 5 additions & 5 deletions docs/go/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Ensure that `pack` is installed correctly:

```
$ pack --version
0.35.1+git-3a22a7f.build-6099
0.36.1+git-852fcaa.build-6234
```
<!-- STOP. This document is autogenerated. Do not manually modify. See the top of the doc for more details. -->
## Configure the default pack builder
Expand Down Expand Up @@ -172,7 +172,7 @@ Adding label 'io.buildpacks.build.metadata'
Adding label 'io.buildpacks.project.metadata'
Setting default process type 'web'
Saving my-image-name...
*** Images (4280729e8ce2):
*** Images (7970bac04850):
my-image-name
Adding cache layer 'heroku/go:go_build'
Adding cache layer 'heroku/go:go_dist'
Expand All @@ -187,7 +187,7 @@ Verify that you see “Successfully built image my-image-name” at the end of t

```
$ docker image ls --format "table {{.ID}}\t{{.Repository}}\t{{.Tag}}" | grep my-image-name
4280729e8ce2 my-image-name latest
7970bac04850 my-image-name latest
```
<!-- STOP. This document is autogenerated. Do not manually modify. See the top of the doc for more details. -->
## What does `pack build` do?
Expand Down Expand Up @@ -229,10 +229,10 @@ $ docker run -it --rm --env PORT=5006 -p 5006:5006 my-image-name
- using code: gin.SetMode(gin.ReleaseMode)
[GIN-debug] Loaded HTML Templates (4):
- index.tmpl.html
- nav.tmpl.html
-
- header.tmpl.html
- index.tmpl.html
- nav.tmpl.html
[GIN-debug] GET /static/*filepath --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (2 handlers)
[GIN-debug] HEAD /static/*filepath --> github.com/gin-gonic/gin.(*RouterGroup).createStaticHandler.func1 (2 handlers)
Expand Down
28 changes: 14 additions & 14 deletions docs/java_gradle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Ensure that `pack` is installed correctly:

```
$ pack --version
0.35.1+git-3a22a7f.build-6099
0.36.1+git-852fcaa.build-6234
```
<!-- STOP. This document is autogenerated. Do not manually modify. See the top of the doc for more details. -->
## Configure the default pack builder
Expand Down Expand Up @@ -150,7 +150,7 @@ Downloading https://services.gradle.org/distributions/gradle-7.6.1-bin.zip
Starting a Gradle Daemon (subsequent builds will be faster)
> Task :heroku_buildpack_start_daemon UP-TO-DATE
BUILD SUCCESSFUL in 31s
BUILD SUCCESSFUL in 33s
[Running build task]
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
Expand Down Expand Up @@ -186,7 +186,7 @@ Adding label 'io.buildpacks.build.metadata'
Adding label 'io.buildpacks.project.metadata'
Setting default process type 'web'
Saving my-image-name...
*** Images (837787fc6af2):
*** Images (8213bdfb5ee0):
my-image-name
Adding cache layer 'heroku/jvm:openjdk'
Adding cache layer 'heroku/gradle:home'
Expand All @@ -201,7 +201,7 @@ Verify that you see “Successfully built image my-image-name” at the end of t

```
$ docker image ls --format "table {{.ID}}\t{{.Repository}}\t{{.Tag}}" | grep my-image-name
837787fc6af2 my-image-name latest
8213bdfb5ee0 my-image-name latest
```
<!-- STOP. This document is autogenerated. Do not manually modify. See the top of the doc for more details. -->
## What does `pack build` do?
Expand Down Expand Up @@ -248,16 +248,16 @@ Picked up JAVA_TOOL_OPTIONS: -XX:MaxRAMPercentage=80.0 -Dfile.encoding=UTF-8
:: Built with Spring Boot :: 3.3.5
2024-12-23T00:33:56.722Z INFO 1 --- [ main] c.heroku.java.GettingStartedApplication : Starting GettingStartedApplication v1.0.0-SNAPSHOT using Java 17.0.13 with PID 1 (/workspace/build/libs/java-getting-started-gradle-1.0.0-SNAPSHOT.jar started by heroku in /workspace)
2024-12-23T00:33:56.726Z INFO 1 --- [ main] c.heroku.java.GettingStartedApplication : No active profile set, falling back to 1 default profile: "default"
2024-12-23T00:33:57.773Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 5006 (http)
2024-12-23T00:33:57.787Z INFO 1 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2024-12-23T00:33:57.788Z INFO 1 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.31]
2024-12-23T00:33:57.827Z INFO 1 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2024-12-23T00:33:57.828Z INFO 1 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1041 ms
2024-12-23T00:33:57.958Z INFO 1 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page template: index
2024-12-23T00:33:58.308Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 5006 (http) with context path '/'
2024-12-23T00:33:58.325Z INFO 1 --- [ main] c.heroku.java.GettingStartedApplication : Started GettingStartedApplication in 2.008 seconds (process running for 2.467)
2025-01-01T12:22:56.916Z INFO 1 --- [ main] c.heroku.java.GettingStartedApplication : Starting GettingStartedApplication v1.0.0-SNAPSHOT using Java 17.0.13 with PID 1 (/workspace/build/libs/java-getting-started-gradle-1.0.0-SNAPSHOT.jar started by heroku in /workspace)
2025-01-01T12:22:56.920Z INFO 1 --- [ main] c.heroku.java.GettingStartedApplication : No active profile set, falling back to 1 default profile: "default"
2025-01-01T12:22:58.001Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 5006 (http)
2025-01-01T12:22:58.015Z INFO 1 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2025-01-01T12:22:58.015Z INFO 1 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.31]
2025-01-01T12:22:58.054Z INFO 1 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2025-01-01T12:22:58.056Z INFO 1 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1077 ms
2025-01-01T12:22:58.193Z INFO 1 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page template: index
2025-01-01T12:22:58.533Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 5006 (http) with context path '/'
2025-01-01T12:22:58.550Z INFO 1 --- [ main] c.heroku.java.GettingStartedApplication : Started GettingStartedApplication in 2.001 seconds (process running for 2.443)
```
<!-- STOP. This document is autogenerated. Do not manually modify. See the top of the doc for more details. -->

Expand Down
Loading

0 comments on commit 7131809

Please sign in to comment.