Skip to content

Commit

Permalink
Random thing
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Demeester <[email protected]>
  • Loading branch information
vdemeester committed Sep 26, 2024
1 parent b3fd3ef commit 40cd1a8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .tekton/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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"
Expand Down Expand Up @@ -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

Check failure on line 105 in .tekton/go.yaml

View check run for this annotation

Pipelines as Code / Pipelines as Code Dogfooding CI / linters

.tekton/go.yaml#L105

: [error] trailing spaces (trailing-spaces)
- name: lint
image: golangci/golangci-lint:latest
workingDir: $(workspaces.source.path)
Expand Down
1 change: 1 addition & 0 deletions cmd/tkn-pac/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
)

func main() {
// foo
clients := params.New()
pac := tknpac.Root(clients)

Expand Down

0 comments on commit 40cd1a8

Please sign in to comment.