mirror of https://github.com/knative/func.git
src: more verbose output (#1810)
* fixup: more verbose output Signed-off-by: Matej Vasek <mvasek@redhat.com> * fixup: refactor extract version into variable Signed-off-by: Matej Vasek <mvasek@redhat.com> --------- Signed-off-by: Matej Vasek <mvasek@redhat.com>
This commit is contained in:
parent
83bc889b6c
commit
8a8639ae00
|
@ -43,6 +43,16 @@ jobs:
|
|||
run: ./hack/patch-hosts.sh
|
||||
- name: Integration Test
|
||||
run: make test-integration
|
||||
- name: Dump Cluster Logs
|
||||
if: always()
|
||||
run: |
|
||||
echo "::group::cluster events"
|
||||
kubectl get events -A
|
||||
echo "::endgroup::"
|
||||
|
||||
echo "::group::cluster containers logs"
|
||||
stern '.*' --all-namespaces --no-follow
|
||||
echo "::endgroup::"
|
||||
- uses: codecov/codecov-action@v3
|
||||
with:
|
||||
files: ./coverage.txt
|
||||
|
|
|
@ -16,6 +16,7 @@ main() {
|
|||
local kind_version=v0.16.0
|
||||
local dapr_version=v1.9.1
|
||||
local helm_version=v3.11.0
|
||||
local stern_version=1.25.0
|
||||
|
||||
local em=$(tput bold)$(tput setaf 2)
|
||||
local me=$(tput sgr0)
|
||||
|
@ -27,6 +28,7 @@ main() {
|
|||
install_yq
|
||||
install_dapr
|
||||
install_helm
|
||||
install_stern
|
||||
|
||||
echo "${em}DONE${me}"
|
||||
|
||||
|
@ -72,4 +74,11 @@ install_helm() {
|
|||
helm version
|
||||
}
|
||||
|
||||
install_stern() {
|
||||
echo 'Installing stern...'
|
||||
curl -sSL "https://github.com/stern/stern/releases/download/v${stern_version}/stern_${stern_version}_linux_amd64.tar.gz" | \
|
||||
tar fxz - -C /usr/local/bin/ stern
|
||||
stern -v
|
||||
}
|
||||
|
||||
main "$@"
|
||||
|
|
Loading…
Reference in New Issue