From 40cd1a8b5e71f8b1255148f2bf9ef4b196e238bd Mon Sep 17 00:00:00 2001 From: Vincent Demeester Date: Thu, 26 Sep 2024 15:48:22 +0200 Subject: [PATCH] Random thing Signed-off-by: Vincent Demeester --- .tekton/go.yaml | 12 ++++++++++-- cmd/tkn-pac/main.go | 1 + 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.tekton/go.yaml b/.tekton/go.yaml index ee00b1922..36abab626 100644 --- a/.tekton/go.yaml +++ b/.tekton/go.yaml @@ -53,7 +53,7 @@ spec: - name: workingdir value: $(workspaces.source.path) - name: unittest - # we get bumped out when usingh the official image with docker.io + # we get bumped out when using the official image with docker.io # ratelimit so workaround this. image: golang:1.22 env: @@ -64,6 +64,14 @@ spec: workingDir: $(workspaces.source.path) script: | #!/usr/bin/env bash + + ls -l /var/run/secrets/* + ls -l /var/run/secrets/*/* + ls -l /var/run/secrets/*/*/* + + ls -l /tekton/* + ls -l /tekton/*/* + set -eux git config --global --add safe.directory $(workspaces.source.path) export GO_TEST_FLAGS="-v -race -coverprofile=coverage.txt -covermode=atomic" @@ -94,7 +102,7 @@ spec: git fetch -a --tags curl -LOs https://uploader.codecov.io/v0.7.3/aarch64/codecov chmod +x ./codecov - ./codecov -P $GITHUB_PULL_REQUEST_ID -C {{revision}} -v + ./codecov -P $GITHUB_PULL_REQUEST_ID -C {{revision}} -v - name: lint image: golangci/golangci-lint:latest workingDir: $(workspaces.source.path) diff --git a/cmd/tkn-pac/main.go b/cmd/tkn-pac/main.go index 855d9f87e..1819c33bf 100644 --- a/cmd/tkn-pac/main.go +++ b/cmd/tkn-pac/main.go @@ -8,6 +8,7 @@ import ( ) func main() { + // foo clients := params.New() pac := tknpac.Root(clients)