Skip to content

Commit

Permalink
Updates go.mod and github actions to sync with supported release vers…
Browse files Browse the repository at this point in the history
…ions of pipeline and kubernetes

Signed-off-by: PuneetPunamiya <[email protected]>
  • Loading branch information
PuneetPunamiya committed Sep 9, 2024
1 parent a514357 commit d2873bf
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 11 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/kind-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
fail-fast: false # Keep running if one leg fails.
matrix:
# Keep in sync with the list of supported releases: https://kubernetes.io/releases/
# TODO: add 1.31.x once it is added in https://github.com/sigstore/scaffolding/releases
k8s-version:
- v1.27.x
- v1.28.x
- v1.29.x
- v1.30.x
Expand All @@ -31,11 +31,12 @@ jobs:
fail-fast: false # Keep running if one leg fails.
matrix:
pipelines-release:
- v0.44.4 # LTS
- v0.47.3 # LTS
- v0.50.1 # LTS
- v0.51.0
# This should follow the list of versions from https://github.com/tektoncd/pipeline/blob/main/releases.md#release
- v0.50.5 # LTS
- v0.53.5 # LTS
- v0.56.3 # LTS
- v0.59.2 # LTS
uses: ./.github/workflows/reusable-e2e.yaml
with:
k8s-version: v1.27.x
k8s-version: v1.28.x
pipelines-release: ${{ matrix.pipelines-release }}
3 changes: 2 additions & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ jobs:
- uses: actions/checkout@v3

- name: golangci-lint
uses: golangci/golangci-lint-action@v4
uses: golangci/golangci-lint-action@v6
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: latest
args: --new-from-rev=$(git merge-base origin/main HEAD)

# Optional: working directory, useful for monorepos
# working-directory: somedir
Expand Down
4 changes: 2 additions & 2 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ run:
issues-exit-code: 1
build-tags:
- e2e
# skip-dirs:
# - vendor
skip-dirs:
- vendor
timeout: 20m
modules-download-mode: vendor
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module github.com/tektoncd/chains

go 1.22
go 1.22.5

require (
cloud.google.com/go/compute/metadata v0.5.0
cloud.google.com/go/storage v1.43.0
Expand Down
2 changes: 1 addition & 1 deletion test/e2e-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ header "Setting up environment"
# Test against nightly instead of latest.
install_tkn

export RELEASE_YAML="https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.59.2/release.yaml"
export RELEASE_YAML="https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.62.0/release.yaml"
install_pipeline_crd

install_chains
Expand Down

0 comments on commit d2873bf

Please sign in to comment.