Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Commit

Permalink
Bump tekton version (#130)
Browse files Browse the repository at this point in the history
* Bump pipeline to 0.34.1 and dashboard to 0.25.0.

* Bump tested kubernetes versions.

* Bump kind version.

* Only test against k8s 1.21.

Unfortunately it seems dashboard still uses `networking.k8s.io/v1beta1`
API, which doesn't exist in 1.22+. And on the other hand, from 0.33,
pipeline only supports 1.21+:
tektoncd/pipeline#4719

Co-authored-by: maxime <[email protected]>
  • Loading branch information
fische and fische authored May 5, 2022
1 parent 6e3447f commit da285e1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
kubernetes: ["1.16", "1.17", "1.18"]
kubernetes: ["1.21"]
steps:
- name: Install python dependencies
run: sudo apt-get update && sudo apt-get install -y python3-setuptools python3-pip
Expand Down
6 changes: 2 additions & 4 deletions scripts/development/kind/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,15 @@
set -Eeuo pipefail

DEFINE_string 'kind_cluster' 'dracon' 'Kind cluster to use' 'c'
DEFINE_string 'kubernetes_version' '1.17' 'Kubernetes version to use' 'k'
DEFINE_string 'kubernetes_version' '1.21' 'Kubernetes version to use' 'k'
FLAGS "$@" || exit $?
eval set -- "${FLAGS_ARGV}"

kubernetes_version="${FLAGS_kubernetes_version//./_}"

declare -A KUBERNETES_VERSIONS
KUBERNETES_VERSIONS=(
["1_16"]="kindest/node:v1.16.15@sha256:83067ed51bf2a3395b24687094e283a7c7c865ccc12a8b1d7aa673ba0c5e8861"
["1_17"]="kindest/node:v1.17.17@sha256:66f1d0d91a88b8a001811e2f1054af60eef3b669a9a74f9b6db871f2f1eeed00"
["1_18"]="kindest/node:v1.18.19@sha256:7af1492e19b3192a79f606e43c35fb741e520d195f96399284515f077b3b622c"
["1_21"]="kindest/node:v1.21.10@sha256:84709f09756ba4f863769bdcabe5edafc2ada72d3c8c44d6515fc581b66b029c"
)

kubernetes_context="kind-${FLAGS_kind_cluster}"
Expand Down
8 changes: 4 additions & 4 deletions third_party/k8s/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,20 @@ remote_file(
visibility = ["//scripts/development/kind/..."],
)

TEKTONCD_PIPELINE_VERSION = "0.19.0"
TEKTONCD_PIPELINE_VERSION = "0.34.1"

remote_file(
name = "tektoncd_pipeline",
hashes = ["a6a9049595137ec95cd50f8c0767a01cf54e941f7b2381710596f1bc4f8db29b"],
hashes = ["9b12e7ed10e38aba742c22b49148fdccf806a985bf94de5c4c9857dd31e5ba75"],
url = f"https://github.com/tektoncd/pipeline/releases/download/v{TEKTONCD_PIPELINE_VERSION}/release.yaml",
visibility = ["//scripts/development/..."],
)

TEKTONCD_DASHBOARD_VERSION = "0.14.0"
TEKTONCD_DASHBOARD_VERSION = "0.25.0"

remote_file(
name = "tektoncd_dashboard",
hashes = ["938edf9e16fdc91585a944b8f50182638fd5b653ac1311bfac73be768e2a730c"],
hashes = ["955a4e3afbdbaa3b67577154d5bf022888629ff3ea70d99197c0c1c6b529e056"],
url = f"https://github.com/tektoncd/dashboard/releases/download/v{TEKTONCD_DASHBOARD_VERSION}/tekton-dashboard-release-readonly.yaml",
visibility = ["//scripts/development/..."],
)
4 changes: 2 additions & 2 deletions third_party/tools/BUILD
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
KIND_VERSION = "0.11.1"
KIND_VERSION = "0.12.0"

remote_file(
name = "kind",
binary = True,
hashes = [
"949f81b3c30ca03a3d4effdecda04f100fa3edc07a28b19400f72ede7c5f0491", # linux-amd64
"b80624c14c807490c0944d21fdc9c3455d6cc904fad486fe236f2187ecaa5789", # linux-amd64
],
url = f"https://github.com/kubernetes-sigs/kind/releases/download/v{KIND_VERSION}/kind-{CONFIG.OS}-{CONFIG.ARCH}",
visibility = ["//scripts/..."],
Expand Down

0 comments on commit da285e1

Please sign in to comment.