tektoncd-catalog / golang

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

[Test PR] build test #7

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 vinamra28 after the PR has been reviewed. You can assign the PR to them by writing /assign @vinamra28 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
QuanZhang-William commented 1 year ago

/test pull-tekton-catalog-build-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/7#issuecomment-1420890257): >/test pull-tekton-catalog-build-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.
afrittoli commented 1 year ago

/test .*

tekton-robot commented 1 year ago

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

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

/test .*

tekton-robot commented 1 year ago

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

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

/test .*

tekton-robot commented 1 year ago

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

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

/test .*

tekton-robot commented 1 year ago

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

In response to [this](https://github.com/tektoncd-catalog/golang/pull/7#issuecomment-1420979177): >/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. ^----------------^ 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/7#issuecomment-1421132360): >/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.
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/7#issuecomment-1421268603): >/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. ^----------------^ 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 ```
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 ```
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/7#issuecomment-1421328747): >/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 ```
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/7#issuecomment-1421334267): >/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 6: cd $SRC_PATH || exit ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cd "$SRC_PATH" || exit For more information: 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 6: cd $SRC_PATH || exit ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cd "$SRC_PATH" || exit For more information: 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/7#issuecomment-1421336826): >/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 6: cd $SRC_PATH || exit ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cd "$SRC_PATH" || exit For more information: 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 6: cd $SRC_PATH || exit ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cd "$SRC_PATH" || exit For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... ```
tekton-robot commented 1 year ago
Catlin Output ``` FILE: task/golang-build/random/golang-build.yaml ERROR: Resource path is invalid; expected path: 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 6: cd $SRC_PATH || exit ^-------^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: cd "$SRC_PATH" || exit For more information: 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 ```
tekton-robot commented 1 year ago
Catlin Output ``` FILE: task/golang-build/golang-build.yaml ERROR: Task: tekton.dev/v1beta1 - name: "golang-build" is missing a mandatory annotation for category("tekton.dev/categories") ERROR: Category not defined You can choose from the categories present at location: https://raw.githubusercontent.com/tektoncd/hub/main/config.yaml" HINT : Task: tekton.dev/v1beta1 - name: "golang-build" is easily discoverable if it has annotation for tag "tekton.dev/tags" WARN : Step "build" uses image "docker.io/library/golang:$(params.version)" that contains variables; skipping validation ```
tekton-robot commented 1 year ago
Catlin Output ``` FILE: task/golang-build/golang-build.yaml ERROR: Task: tekton.dev/v1beta1 - name: "golang-build" is missing a mandatory annotation for category("tekton.dev/categories") ERROR: Category not defined You can choose from the categories present at location: https://raw.githubusercontent.com/tektoncd/hub/main/config.yaml" HINT : Task: tekton.dev/v1beta1 - name: "golang-build" is easily discoverable if it has annotation for tag "tekton.dev/tags" 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 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... ```
QuanZhang-William commented 1 year ago

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

/close

tekton-robot commented 1 year ago

@QuanZhang-William: Closed this PR.

In response to [this](https://github.com/tektoncd-catalog/golang/pull/7#issuecomment-1430212505): >The pull-tekton-catalog-build-tests CI is now fixed in https://github.com/tektoncd/plumbing/pull/1350. > >/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.