GoogleCloudPlatform / GoogleCloudPlatform/cloud-run-button

Strange STDOUT Issue With Hooks

Open
#201 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
553
Forks
98
PR merge metrics
No merged PRs in 30d

Description

Reproduce with:
https://github.com/jamesward/springboot-kotlin-reactive-demo/tree/repro-stdout

When the build hook command runs it stops outputting after a few seconds, like:
```
[ ! ] Running command: ./gradlew --no-daemon --console=plain bootBuildImage --imageName=$IMAGE_URL
+ ./gradlew --no-daemon --console=plain bootBuildImage --imageName=gcr.io/jw-demo/springboot-kotlin-reactive-demo
Downloading https://services.gradle.org/distributions/gradle-6.7-bin.zip
.........10%!(NOVERB)
```

If I run the same command in Cloud Shell (not via Button) I get:
```
./gradlew --no-daemon --console=plain bootBuildImage --imageName=gcr.io/jw-de
mo/springboot-kotlin-reactive-demo
Downloading https://services.gradle.org/distributions/gradle-6.7-bin.zip
.........10%..........20%..........30%..........40%..........50%.........60%..........70%..........80%..........90%..........100
%
Welcome to Gradle 6.7!
...
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.