tektoncd-catalog / golang

This catalog repo holds golang related resources
Apache License 2.0
0 stars 1 forks source link

[Test] build test #8

Closed QuanZhang-William closed 1 year ago

tekton-robot commented 1 year ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: To complete the pull request process, please assign vdemeester after the PR has been reviewed. You can assign the PR to them by writing /assign @vdemeester 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: - **[task/golang-build/OWNERS](https://github.com/tektoncd-catalog/golang/blob/main/task/golang-build/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
tekton-robot commented 1 year ago
Catlin Output ``` FILE: task/golang-build/golang-build.yaml WARN : Step "build" uses image "docker.io/library/golang:$(params.version)" that contains variables; skipping validation ```
Catlin script lint Output ``` ERROR: /usr/bin/shellcheck, [-s sh] failed: In golang-build-build line 2: if [ ! -e $GOPATH/src/$(params.package)/go.mod ];then ^-----^ SC2086: Double quote to prevent globbing and word splitting. ^---------------^ SC2046: Quote this to prevent word splitting. Did you mean: if [ ! -e "$GOPATH"/src/$(params.package)/go.mod ];then In golang-build-build line 4: mkdir -p $SRC_PATH ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: mkdir -p "$SRC_PATH" In golang-build-build line 5: cp -R "$(workspaces.source.path)"/* $SRC_PATH ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cp -R "$(workspaces.source.path)"/* "$SRC_PATH" In golang-build-build line 6: cd $SRC_PATH ^----------^ SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cd "$SRC_PATH" || exit In golang-build-build line 8: go build $(params.flags) "$(params.packages)" ^-------------^ SC2046: Quote this to prevent word splitting. For more information: https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2164 -- Use 'cd ... || exit' or 'cd ... |... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... ```
tekton-robot commented 1 year ago
Catlin Output ``` FILE: task/golang-build/golang-build.yaml WARN : Step "build" uses image "docker.io/library/golang:$(params.version)" that contains variables; skipping validation ```
Catlin script lint Output ``` ERROR: /usr/bin/shellcheck, [-s sh] failed: In golang-build-build line 2: if [ ! -e $GOPATH/src/$(params.package)/go.mod ];then ^-----^ SC2086: Double quote to prevent globbing and word splitting. ^---------------^ SC2046: Quote this to prevent word splitting. Did you mean: if [ ! -e "$GOPATH"/src/$(params.package)/go.mod ];then In golang-build-build line 4: mkdir -p $SRC_PATH ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: mkdir -p "$SRC_PATH" In golang-build-build line 5: cp -R "$(workspaces.source.path)"/* $SRC_PATH ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cp -R "$(workspaces.source.path)"/* "$SRC_PATH" In golang-build-build line 6: cd $SRC_PATH ^----------^ SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cd "$SRC_PATH" || exit In golang-build-build line 8: go build $(params.flags) "$(params.packages)" ^-------------^ SC2046: Quote this to prevent word splitting. For more information: https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2164 -- Use 'cd ... || exit' or 'cd ... |... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... ```
QuanZhang-William commented 1 year ago

/test .*

tekton-robot commented 1 year ago

@QuanZhang-William: No presubmit jobs available for tektoncd-catalog/golang@main

In response to [this](https://github.com/tektoncd-catalog/golang/pull/8#issuecomment-1422654674): >/test .* 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.
tekton-robot commented 1 year ago
Catlin Output ``` FILE: task/golang-build/golang-build.yaml WARN : Step "build" uses image "docker.io/library/golang:$(params.version)" that contains variables; skipping validation ```
Catlin script lint Output ``` ERROR: /usr/bin/shellcheck, [-s sh] failed: In golang-build-build line 2: if [ ! -e $GOPATH/src/$(params.package)/go.mod ];then ^-----^ SC2086: Double quote to prevent globbing and word splitting. ^---------------^ SC2046: Quote this to prevent word splitting. Did you mean: if [ ! -e "$GOPATH"/src/$(params.package)/go.mod ];then In golang-build-build line 4: mkdir -p $SRC_PATH ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: mkdir -p "$SRC_PATH" In golang-build-build line 5: cp -R "$(workspaces.source.path)"/* $SRC_PATH ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cp -R "$(workspaces.source.path)"/* "$SRC_PATH" In golang-build-build line 6: cd $SRC_PATH ^----------^ SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cd "$SRC_PATH" || exit In golang-build-build line 8: go build $(params.flags) "$(params.packages)" ^-------------^ SC2046: Quote this to prevent word splitting. For more information: https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2164 -- Use 'cd ... || exit' or 'cd ... |... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... ```
QuanZhang-William commented 1 year ago

/test pull-tekton-catalog-build-tests

tekton-robot commented 1 year ago

@QuanZhang-William: No presubmit jobs available for tektoncd-catalog/golang@main

In response to [this](https://github.com/tektoncd-catalog/golang/pull/8#issuecomment-1426056356): >/test pull-tekton-catalog-build-tests 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.
QuanZhang-William commented 1 year ago

/test .*

tekton-robot commented 1 year ago

@QuanZhang-William: No presubmit jobs available for tektoncd-catalog/golang@main

In response to [this](https://github.com/tektoncd-catalog/golang/pull/8#issuecomment-1426058746): >/test .* 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.
tekton-robot commented 1 year ago
Catlin Output ``` FILE: task/golang-build/golang-build.yaml WARN : Step "build" uses image "docker.io/library/golang:$(params.version)" that contains variables; skipping validation ```
Catlin script lint Output ``` ERROR: /usr/bin/shellcheck, [-s sh] failed: In golang-build-build line 2: if [ ! -e $GOPATH/src/$(params.package)/go.mod ];then ^-----^ SC2086: Double quote to prevent globbing and word splitting. ^---------------^ SC2046: Quote this to prevent word splitting. Did you mean: if [ ! -e "$GOPATH"/src/$(params.package)/go.mod ];then In golang-build-build line 4: mkdir -p $SRC_PATH ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: mkdir -p "$SRC_PATH" In golang-build-build line 5: cp -R "$(workspaces.source.path)"/* $SRC_PATH ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cp -R "$(workspaces.source.path)"/* "$SRC_PATH" In golang-build-build line 6: cd $SRC_PATH ^----------^ SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cd "$SRC_PATH" || exit In golang-build-build line 8: go build $(params.flags) "$(params.packages)" ^-------------^ SC2046: Quote this to prevent word splitting. For more information: https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2164 -- Use 'cd ... || exit' or 'cd ... |... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... ```
QuanZhang-William commented 1 year ago

/test something

tekton-robot commented 1 year ago

@QuanZhang-William: No presubmit jobs available for tektoncd-catalog/golang@main

In response to [this](https://github.com/tektoncd-catalog/golang/pull/8#issuecomment-1426069057): >/test something 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.
QuanZhang-William commented 1 year ago

/test .*

tekton-robot commented 1 year ago

@QuanZhang-William: No presubmit jobs available for tektoncd-catalog/golang@main

In response to [this](https://github.com/tektoncd-catalog/golang/pull/8#issuecomment-1430168973): >/test .* 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.
tekton-robot commented 1 year ago
Catlin Output ``` FILE: task/golang-build/golang-build.yaml WARN : Step "build" uses image "docker.io/library/golang:$(params.version)" that contains variables; skipping validation ```
Catlin script lint Output ``` ERROR: /usr/bin/shellcheck, [-s sh] failed: In golang-build-build line 2: if [ ! -e $GOPATH/src/$(params.package)/go.mod ];then ^-----^ SC2086: Double quote to prevent globbing and word splitting. ^---------------^ SC2046: Quote this to prevent word splitting. Did you mean: if [ ! -e "$GOPATH"/src/$(params.package)/go.mod ];then In golang-build-build line 4: mkdir -p $SRC_PATH ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: mkdir -p "$SRC_PATH" In golang-build-build line 5: cp -R "$(workspaces.source.path)"/* $SRC_PATH ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cp -R "$(workspaces.source.path)"/* "$SRC_PATH" In golang-build-build line 6: cd $SRC_PATH ^----------^ SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cd "$SRC_PATH" || exit In golang-build-build line 8: go build $(params.flags) "$(params.packages)" ^-------------^ SC2046: Quote this to prevent word splitting. For more information: https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2164 -- Use 'cd ... || exit' or 'cd ... |... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... ```
QuanZhang-William commented 1 year ago

/test pull-tekton-catalog-build-tests

tekton-robot commented 1 year ago

@QuanZhang-William: No presubmit jobs available for tektoncd-catalog/golang@main

In response to [this](https://github.com/tektoncd-catalog/golang/pull/8#issuecomment-1430170861): >/test pull-tekton-catalog-build-tests 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.
tekton-robot commented 1 year ago

The following Tekton test failed:

Test name Commit Details Required Rerun command
pull-tekton-catalog-build-tests 59c0551f4bd64eed12818cf82c23079a480149f5 link true /test pull-tekton-catalog-build-tests
tekton-robot commented 1 year ago
Catlin Output ``` FILE: task/golang-build/golang-build.yaml WARN : Step "build" uses image "docker.io/library/golang:$(params.version)" that contains variables; skipping validation ```
Catlin script lint Output ``` ERROR: /usr/bin/shellcheck, [-s sh] failed: In golang-build-build line 2: if [ ! -e $GOPATH/src/$(params.package)/go.mod ];then ^-----^ SC2086: Double quote to prevent globbing and word splitting. ^---------------^ SC2046: Quote this to prevent word splitting. Did you mean: if [ ! -e "$GOPATH"/src/$(params.package)/go.mod ];then In golang-build-build line 4: mkdir -p $SRC_PATH ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: mkdir -p "$SRC_PATH" In golang-build-build line 5: cp -R "$(workspaces.source.path)"/* $SRC_PATH ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cp -R "$(workspaces.source.path)"/* "$SRC_PATH" In golang-build-build line 6: cd $SRC_PATH ^----------^ SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails. ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cd "$SRC_PATH" || exit In golang-build-build line 8: go build $(params.flags) "$(params.packages)" ^-------------^ SC2046: Quote this to prevent word splitting. For more information: https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt... https://www.shellcheck.net/wiki/SC2164 -- Use 'cd ... || exit' or 'cd ... |... https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... ```
QuanZhang-William commented 1 year ago

/test something

tekton-robot commented 1 year ago

@QuanZhang-William: No presubmit jobs available for tektoncd-catalog/golang@main

In response to [this](https://github.com/tektoncd-catalog/golang/pull/8#issuecomment-1430172766): >/test something 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.
QuanZhang-William commented 1 year ago

The pull-tekton-catalog-build-tests CI is now fixed in https://github.com/tektoncd/plumbing/pull/1350.

/closed

QuanZhang-William commented 1 year ago

/close

tekton-robot commented 1 year ago

@QuanZhang-William: Closed this PR.

In response to [this](https://github.com/tektoncd-catalog/golang/pull/8#issuecomment-1430212252): >/close 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.