Merge pull request #11841 from sharifelgamal/ugly-err
remove ugly error message from kicbase and ISO autobuildpull/11844/head
commit
c2f18d9d4b
|
@ -45,16 +45,11 @@ make release-iso | tee iso-logs.txt
|
|||
ec=$?
|
||||
if [ $ec -gt 0 ]; then
|
||||
if [ "$release" = false ]; then
|
||||
err=$(tail -100 iso-logs.txt)
|
||||
gh pr comment ${ghprbPullId} --body "Hi ${ghprbPullAuthorLoginMention}, building a new ISO failed, with the error below:
|
||||
|
||||
<details>
|
||||
<pre>
|
||||
${err}
|
||||
</pre>
|
||||
</details>
|
||||
|
||||
Full logs are at https://storage.cloud.google.com/minikube-builds/logs/${ghprbPullId}/${ghprbActualCommit:0:7}/iso_build.txt
|
||||
gh pr comment ${ghprbPullId} --body "Hi ${ghprbPullAuthorLoginMention}, building a new ISO failed.
|
||||
See the logs at:
|
||||
```
|
||||
https://storage.cloud.google.com/minikube-builds/logs/${ghprbPullId}/${ghprbActualCommit:0:7}/iso_build.txt
|
||||
```
|
||||
"
|
||||
fi
|
||||
exit $ec
|
||||
|
|
|
@ -67,16 +67,11 @@ CIBUILD=yes make push-kic-base-image | tee kic-logs.txt
|
|||
ec=$?
|
||||
if [ $ec -gt 0 ]; then
|
||||
if [ "$release" = false ]; then
|
||||
err=$(tail -100 kic-logs.txt)
|
||||
gh pr comment ${ghprbPullId} --body "Hi ${ghprbPullAuthorLoginMention}, building a new kicbase image failed, with the error below:
|
||||
|
||||
<details>
|
||||
<pre>
|
||||
${err}
|
||||
</pre>
|
||||
</details>
|
||||
|
||||
Full logs are at https://storage.cloud.google.com/minikube-builds/logs/${ghprbPullId}/${ghprbActualCommit:0:7}/kic_image_build.txt
|
||||
gh pr comment ${ghprbPullId} --body "Hi ${ghprbPullAuthorLoginMention}, building a new kicbase image failed.
|
||||
See the logs at:
|
||||
```
|
||||
https://storage.cloud.google.com/minikube-builds/logs/${ghprbPullId}/${ghprbActualCommit:0:7}/kic_image_build.txt
|
||||
```
|
||||
"
|
||||
fi
|
||||
exit $ec
|
||||
|
|
Loading…
Reference in New Issue