Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump k8s versions and knative too #1391

Merged
merged 4 commits into from
Dec 18, 2024
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
7 changes: 4 additions & 3 deletions .github/workflows/add-remove-new-fulcio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
fail-fast: false # Keep running if one leg fails.
matrix:
k8s-version:
- v1.27.x
- v1.28.x
- v1.29.x
- v1.30.x
- v1.31.x
- v1.32.x

leg:
- fulcio-key-rotation
Expand Down Expand Up @@ -58,6 +58,7 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
path: ./src/github.com/sigstore/scaffolding
persist-credentials: false

- uses: actions/cache@v4
with:
Expand Down Expand Up @@ -88,7 +89,7 @@ jobs:
- name: Setup Knative
uses: chainguard-dev/actions/setup-knative@main
with:
version: "1.11.x"
version: "1.16.x"
serving-features: >
{
"kubernetes.podspec-fieldref": "enabled"
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/fulcio-rekor-kind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
fail-fast: false # Keep running if one leg fails.
matrix:
k8s-version:
- v1.27.x
- v1.28.x
- v1.29.x
- v1.30.x
- v1.31.x
- v1.32.x

leg:
- fulcio rekor ctlog e2e
Expand All @@ -49,6 +49,7 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
path: ./src/github.com/sigstore/scaffolding
persist-credentials: false

- uses: chainguard-dev/actions/setup-mirror@main
# https://github.com/mvdan/github-actions-golang#how-do-i-set-up-caching-between-builds
Expand Down Expand Up @@ -88,7 +89,7 @@ jobs:
- name: Setup Knative
uses: chainguard-dev/actions/setup-knative@main
with:
version: "1.11.x"
version: "1.16.x"
serving-features: >
{
"kubernetes.podspec-fieldref": "enabled"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-action-tuf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
fail-fast: false # Keep running if one leg fails.
matrix:
k8s-version:
- v1.27.x
- v1.28.x
- v1.29.x
- v1.30.x
- v1.31.x
- v1.32.x
release-version:
- "main" # Test explicitly with latest
go-version:
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/test-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ jobs:
fail-fast: false # Keep running if one leg fails.
matrix:
k8s-version:
- v1.27.x
- v1.28.x
- v1.29.x
- v1.30.x
- v1.31.x
- v1.32.x
leg:
- fulcio rekor ctlog e2e
go-version:
- 1.23.x

env:
RELEASE_VERSION: "v0.7.1"
RELEASE_VERSION: "v0.7.17"
KO_DOCKER_REPO: registry.local:5000/knative
KOCACHE: ~/ko

Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
- name: Setup Knative
uses: chainguard-dev/actions/setup-knative@main
with:
version: "1.11.x"
version: "1.16.x"
serving-features: >
{
"kubernetes.podspec-fieldref": "enabled"
Expand Down Expand Up @@ -143,6 +143,7 @@ jobs:
with:
repository: sigstore/timestamp-authority
path: ./src/github.com/sigstore/timestamp-authority
persist-credentials: false
- name: Build timestamp-cli
working-directory: ./src/github.com/sigstore/timestamp-authority
run: |
Expand Down
4 changes: 2 additions & 2 deletions actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ inputs:
required: true
default: 'cluster.local'
k8s-version:
description: 'kubernetes version to install (v1.27.x, v1.28.x, v1.29.x, v1.30.x), default: v1.27.x'
description: 'kubernetes version to install (v1.29.x, v1.30.x, v1.31.x, v1.32.x), default: v1.29.x'
required: true
default: 'v1.27.x'
default: 'v1.29.x'
runs:
using: "composite"
steps:
Expand Down
4 changes: 2 additions & 2 deletions getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ cloning the repo):
Or by downloading a release version of the script

```shell
curl -fLo /tmp/setup-kind.sh https://github.com/sigstore/scaffolding/releases/download/v0.7.1/setup-kind.sh
curl -fLo /tmp/setup-kind.sh https://github.com/sigstore/scaffolding/releases/download/v0.7.17/setup-kind.sh
chmod u+x /tmp/setup-kind.sh
/tmp/setup-kind.sh
```
Expand Down Expand Up @@ -76,7 +76,7 @@ docker rm -f b1e3f3238f7a
## From the release

```shell
curl -Lo /tmp/setup-scaffolding-from-release.sh https://github.com/sigstore/scaffolding/releases/download/v0.7.1/setup-scaffolding-from-release.sh
curl -Lo /tmp/setup-scaffolding-from-release.sh https://github.com/sigstore/scaffolding/releases/download/v0.7.17/setup-scaffolding-from-release.sh
chmod u+x /tmp/setup-scaffolding-from-release.sh
/tmp/setup-scaffolding-from-release.sh
```
Expand Down
34 changes: 17 additions & 17 deletions hack/setup-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,30 +65,30 @@ done

# The version map correlated with this version of KinD
# KNATIVE versions are set from https://github.com/knative/community/blob/main/mechanics/RELEASE-SCHEDULE.md
KIND_VERSION="v0.22.0"
KIND_VERSION="v0.26.0"
case ${K8S_VERSION} in
v1.27.x)
K8S_VERSION="1.27.11"
KNATIVE_VERSION="1.12.0"
KIND_IMAGE_SHA="sha256:681253009e68069b8e01aad36a1e0fa8cf18bb0ab3e5c4069b2e65cafdd70843"
v1.29.x)
K8S_VERSION="1.29.12"
KNATIVE_VERSION="1.16.0"
KIND_IMAGE_SHA="sha256:62c0672ba99a4afd7396512848d6fc382906b8f33349ae68fb1dbfe549f70dec"
KIND_IMAGE=kindest/node:${K8S_VERSION}@${KIND_IMAGE_SHA}
;;
v1.28.x)
K8S_VERSION="1.28.7"
KNATIVE_VERSION="1.12.0"
KIND_IMAGE_SHA="sha256:9bc6c451a289cf96ad0bbaf33d416901de6fd632415b076ab05f5fa7e4f65c58"
v1.30.x)
K8S_VERSION="1.30.8"
KNATIVE_VERSION="1.16.0"
KIND_IMAGE_SHA="sha256:17cd608b3971338d9180b00776cb766c50d0a0b6b904ab4ff52fd3fc5c6369bf"
KIND_IMAGE=kindest/node:${K8S_VERSION}@${KIND_IMAGE_SHA}
;;
v1.29.x)
K8S_VERSION="1.29.2"
KNATIVE_VERSION="1.12.0"
KIND_IMAGE_SHA="sha256:51a1434a5397193442f0be2a297b488b6c919ce8a3931be0ce822606ea5ca245"
v1.31.x)
K8S_VERSION="1.31.4"
KNATIVE_VERSION="1.16.0"
KIND_IMAGE_SHA="sha256:2cb39f7295fe7eafee0842b1052a599a4fb0f8bcf3f83d96c7f4864c357c6c30"
KIND_IMAGE=kindest/node:${K8S_VERSION}@${KIND_IMAGE_SHA}
;;
v1.30.x)
K8S_VERSION="1.30.0"
KNATIVE_VERSION="1.12.0"
KIND_IMAGE_SHA="sha256:047357ac0cfea04663786a612ba1eaba9702bef25227a794b52890dd8bcd692e"
v1.32.x)
K8S_VERSION="1.32.0"
KNATIVE_VERSION="1.16.0"
KIND_IMAGE_SHA="sha256:c48c62eac5da28cdadcf560d1d8616cfa6783b58f0d94cf63ad1bf49600cb027"
KIND_IMAGE=kindest/node:${K8S_VERSION}@${KIND_IMAGE_SHA}
;;
*) echo "Unsupported version: ${K8S_VERSION}"; exit 1 ;;
Expand Down
2 changes: 1 addition & 1 deletion hack/setup-scaffolding-from-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ set -o pipefail
set -o xtrace

# Default
RELEASE_VERSION="v0.7.1"
RELEASE_VERSION="v0.7.17"

while [[ $# -ne 0 ]]; do
parameter="$1"
Expand Down
Loading