Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,8 @@ jobs:

- name: Run linter
uses: golangci/golangci-lint-action@v9
with:
# Pin the linter version so a new upstream release cannot break the
# pipeline without a code change. Keep in sync with the Makefile's
# GOLANGCI_LINT_VERSION.
version: v2.12.1
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
push:
branches:
- main
# Allow a manual run so the publish credentials can be verified on demand.
# Without this the only way to exercise them is to land a commit on main,
# which is how an expired HELM_CHARTS_REPO_TOKEN went unnoticed for weeks.
workflow_dispatch:


jobs:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ jobs:

- name: Run linter
uses: golangci/golangci-lint-action@v9
with:
# Pin the linter version so a new upstream release cannot break the
# pipeline without a code change. Keep in sync with the Makefile's
# GOLANGCI_LINT_VERSION.
version: v2.12.1


golang-test:
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ ENVTEST_K8S_VERSION ?= $(shell v='$(call gomodver,k8s.io/api)'; \
[ -n "$$v" ] || { echo "Set ENVTEST_K8S_VERSION manually (k8s.io/api replace has no tag)" >&2; exit 1; }; \
printf '%s\n' "$$v" | sed -E 's/^v?[0-9]+\.([0-9]+).*/1.\1/')

GOLANGCI_LINT_VERSION ?= v2.5.0
GOLANGCI_LINT_VERSION ?= v2.12.1

.PHONY: kustomize
kustomize: $(KUSTOMIZE) ## Download kustomize locally if necessary.
Expand Down Expand Up @@ -288,7 +288,7 @@ helm-chart-publish: helm-chart-package ## Publish helm chart for the operator.
##@ Chainsaw E2E

CHAINSAW ?= $(LOCALBIN)/chainsaw
CHAINSAW_VERSION ?= v0.2.13
CHAINSAW_VERSION ?= v0.2.14
CHAINSAW_CLUSTER ?= ${PROJECT_NAME}-$(KIND_K8S_VERSION)
CHAINSAW_KUBECONFIG ?= .kubeconfig
# KIND_K8S_VERSION refers to the version of Kubernetes to be used by kind node image.
Expand Down
Loading