openshift / pipelines-tutorial

A step-by-step tutorial showing OpenShift Pipelines
Apache License 2.0
298 stars 621 forks source link

Update demo.sh #126

Closed praveen4g0 closed 3 years ago

praveen4g0 commented 3 years ago

you would experience Below error, with disconnected cluster or cluster with proxy setup:

test -z http://ec2-52-14-193-37.us-east-2.compute.amazonaws.com:3128
+ export HTTP_PROXY=http://ec2-52-14-193-37.us-east-2.compute.amazonaws.com:3128
+ HTTP_PROXY=http://ec2-52-14-193-37.us-east-2.compute.amazonaws.com:3128
+ test -z http://ec2-52-14-193-37.us-east-2.compute.amazonaws.com:3128
+ export HTTPS_PROXY=http://ec2-52-14-193-37.us-east-2.compute.amazonaws.com:3128
+ HTTPS_PROXY=http://ec2-52-14-193-37.us-east-2.compute.amazonaws.com:3128
+ test -z test.no-proxy.com
+ export NO_PROXY=test.no-proxy.com
+ NO_PROXY=test.no-proxy.com
+ /ko-app/git-init -url http://github.com/openshift-pipelines/vote-api'' -refspec '' -path /workspace/output/ -sslVerify=true -submodules=true -depth 1
{"level":"error","ts":1611559910.4253728,"caller":"git/git.go:54","msg":"Error running git [fetch --recurse-submodules=yes --depth=1 origin --update-head-ok --force HEAD]: exit status 128\nfatal: unable to access 'http://github.com/openshift-pipelines/vote-api/': Failed to connect to github.com port 80: Connection timed out\n","stacktrace":"github.com/tektoncd/pipeline/pkg/git.run\n\t/opt/app-root/src/go/src/github.com/tektoncd/pipeline/pkg/git/git.go:54\ngithub.com/tektoncd/pipeline/pkg/git.Fetch\n\t/opt/app-root/src/go/src/github.com/tektoncd/pipeline/pkg/git/git.go:145\nmain.main\n\t/opt/app-root/src/go/src/github.com/tektoncd/pipeline/cmd/git-init/main.go:52\nruntime.main\n\t/usr/lib/golang/src/runtime/proc.go:204"}
{"level":"fatal","ts":1611559910.4254596,"caller":"git-init/main.go:53","msg":"Error fetching git repository: failed to fetch [HEAD]: exit status 128","stacktrace":"main.main\n\t/opt/app-root/src/go/src/github.com/tektoncd/pipeline/cmd/git-init/main.go:53\nruntime.main\n\t/usr/lib/golang/src/runtime/proc.go:204"}
savitaashture commented 3 years ago

/lgtm

openshift-ci-robot commented 3 years ago

@savitaashture: changing LGTM is restricted to collaborators

In response to [this](https://github.com/openshift/pipelines-tutorial/pull/126#issuecomment-766555745): >/lgtm Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
openshift-ci-robot commented 3 years ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: praveen4g0, savitaashture To complete the pull request process, please assign siamaksade after the PR has been reviewed. You can assign the PR to them by writing /assign @siamaksade in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/openshift/pipelines-tutorial/blob/pipelines-1.3/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
praveen4g0 commented 3 years ago

/close

this part will be handled here

openshift-ci-robot commented 3 years ago

@praveen4g0: Closed this PR.

In response to [this](https://github.com/openshift/pipelines-tutorial/pull/126#issuecomment-771603325): >/close > >this part will be handled [here](https://github.com/openshift/pipelines-tutorial/pull/127) Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.