Skip to content

Commit

Permalink
Merge branch 'main' into SRVKP-3510-expand-params-body-headers
Browse files Browse the repository at this point in the history
  • Loading branch information
chmouel authored Oct 26, 2023
2 parents 2266569 + 3ccb287 commit 11c1b68
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 16 deletions.
14 changes: 6 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ default_install_hook_types: ["pre-push"]
exclude: '(^docs/themes/hugo-book|^vendor|.*golden$|^\.vale)'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-added-large-files
- id: check-toml
Expand All @@ -18,23 +18,21 @@ repos:
hooks:
- id: gitlint
- repo: https://github.com/codespell-project/codespell
rev: v2.2.4
rev: v2.2.6
hooks:
- id: codespell
files: '^(docs/content|pkg|test)/.*'
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.2
hooks:
- id: ruff
- repo: local
hooks:
- id: black
types: [python]
language: system
entry: black
name: "Python check code Formatter"
- id: pylint
name: "Python linter"
entry: pylint
language: system
types: [python]
args: ["-rn", "-sn"]
- id: lint-markdown
name: "Lint Markdown"
entry: make
Expand Down
2 changes: 1 addition & 1 deletion .tekton/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
workspaces:
- name: source
steps:
- image: registry.access.redhat.com/ubi9/go-toolset@sha256:d55ff49e9b6907d5f50290f8bcffa15657470da009a5f982202780c4122ce2dd
- image: registry.access.redhat.com/ubi9/go-toolset@sha256:82d9bc5d3ceb43635288880f26207201e55d1c688a60ebbfff4f54d4963a62a1
env:
- name: GOCACHE
value: $(workspaces.source.path)/go-build-cache/cache
Expand Down
6 changes: 3 additions & 3 deletions .tekton/generate-coverage-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
workspaces:
- name: source
steps:
- image: registry.access.redhat.com/ubi9/go-toolset@sha256:d55ff49e9b6907d5f50290f8bcffa15657470da009a5f982202780c4122ce2dd
- image: registry.access.redhat.com/ubi9/go-toolset@sha256:82d9bc5d3ceb43635288880f26207201e55d1c688a60ebbfff4f54d4963a62a1
name: get-cache
workingDir: $(workspaces.source.path)
env:
Expand All @@ -64,7 +64,7 @@ spec:
curl http://uploader:8080/golang-cache.tar.gz|tar -z -x -f- || \
curl -X DELETE -F "file=golang-cache.tar.gz" http://uploader:8080/upload
- name: unittest
image: registry.access.redhat.com/ubi9/go-toolset@sha256:d55ff49e9b6907d5f50290f8bcffa15657470da009a5f982202780c4122ce2dd
image: registry.access.redhat.com/ubi9/go-toolset@sha256:82d9bc5d3ceb43635288880f26207201e55d1c688a60ebbfff4f54d4963a62a1
workingDir: $(workspaces.source.path)
env:
- name: GOCACHE
Expand All @@ -87,7 +87,7 @@ spec:
steps:
- name: codecov-run
# Has everything we need in there and we already fetched it!
image: registry.access.redhat.com/ubi9/go-toolset@sha256:d55ff49e9b6907d5f50290f8bcffa15657470da009a5f982202780c4122ce2dd
image: registry.access.redhat.com/ubi9/go-toolset@sha256:82d9bc5d3ceb43635288880f26207201e55d1c688a60ebbfff4f54d4963a62a1
workingDir: $(workspaces.source.path)
env:
- name: CODECOV_TOKEN
Expand Down
6 changes: 3 additions & 3 deletions .tekton/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ spec:
workspaces:
- name: source
steps:
- image: registry.access.redhat.com/ubi9/go-toolset@sha256:d55ff49e9b6907d5f50290f8bcffa15657470da009a5f982202780c4122ce2dd
- image: registry.access.redhat.com/ubi9/go-toolset@sha256:82d9bc5d3ceb43635288880f26207201e55d1c688a60ebbfff4f54d4963a62a1
env:
- name: GOCACHE
value: $(workspaces.source.path)/go-build-cache/cache
Expand Down Expand Up @@ -72,7 +72,7 @@ spec:
- name: unittest
# we get bumped out when usingh the official image with docker.io
# ratelimit so workaround this.
image: registry.access.redhat.com/ubi9/go-toolset@sha256:d55ff49e9b6907d5f50290f8bcffa15657470da009a5f982202780c4122ce2dd
image: registry.access.redhat.com/ubi9/go-toolset@sha256:82d9bc5d3ceb43635288880f26207201e55d1c688a60ebbfff4f54d4963a62a1
env:
- name: GOCACHE
value: $(workspaces.source.path)/go-build-cache/cache
Expand All @@ -89,7 +89,7 @@ spec:
- name: coverage
# we get bumped out when usingh the official image with docker.io
# ratelimit so workaround this.
image: registry.access.redhat.com/ubi9/go-toolset@sha256:d55ff49e9b6907d5f50290f8bcffa15657470da009a5f982202780c4122ce2dd
image: registry.access.redhat.com/ubi9/go-toolset@sha256:82d9bc5d3ceb43635288880f26207201e55d1c688a60ebbfff4f54d4963a62a1
env:
- name: CODECOV_TOKEN
valueFrom:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi9/go-toolset@sha256:a2bdd33c7fc0cda56eb3745e80820c1ee29efeaac720f7c52a59224a39003261 AS builder
FROM registry.access.redhat.com/ubi9/go-toolset@sha256:82d9bc5d3ceb43635288880f26207201e55d1c688a60ebbfff4f54d4963a62a1 AS builder

ARG BINARY_NAME=pipelines-as-code-controller
COPY . /src
Expand Down

0 comments on commit 11c1b68

Please sign in to comment.