Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
SaschaSchwarze0 committed Feb 18, 2023
1 parent 71cb3ff commit e39b810
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 24 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ jobs:
fail-fast: false
matrix:
kubernetes:
- v1.23.6
- v1.24.7
- v1.25.3
max-parallel: 2
runs-on: ubuntu-latest
steps:
Expand All @@ -68,18 +69,17 @@ jobs:
cache: true
check-latest: true
- name: Install Ko
# This sha corresponds to v0.6
uses: imjasonh/setup-ko@c682db27121307b4d02d11694318530ec9041d4c
uses: ko-build/[email protected]
with:
version: v0.12.0
- name: Install kubectl
uses: azure/setup-kubectl@v3
with:
version: ${{ matrix.kubernetes }}
- name: Create kind cluster
uses: helm/kind-action@v1.3.0
uses: helm/kind-action@v1
with:
version: v0.14.0
version: v0.17.0
node_image: kindest/node:${{ matrix.kubernetes }}
cluster_name: kind
wait: 120s
Expand Down Expand Up @@ -117,7 +117,8 @@ jobs:
fail-fast: false
matrix:
kubernetes:
- v1.23.6
- v1.24.7
- v1.25.3
max-parallel: 2
runs-on: ubuntu-latest
steps:
Expand All @@ -134,9 +135,9 @@ jobs:
with:
version: ${{ matrix.kubernetes }}
- name: Create kind cluster
uses: helm/kind-action@v1.3.0
uses: helm/kind-action@v1
with:
version: v0.14.0
version: v0.17.0
node_image: kindest/node:${{ matrix.kubernetes }}
cluster_name: kind
config: test/kind/config.yaml
Expand Down Expand Up @@ -170,8 +171,7 @@ jobs:
kubectl apply -f test/data/registry.yaml
kubectl -n registry rollout status deployment registry --timeout=1m
- name: Install Ko
# This sha corresponds to v0.6
uses: imjasonh/setup-ko@c682db27121307b4d02d11694318530ec9041d4c
uses: ko-build/[email protected]
with:
version: v0.12.0
- name: Install Shipwright Build
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ jobs:
check-latest: true

# Install tools
# This sha corresponds to v0.6
- uses: imjasonh/setup-ko@c682db27121307b4d02d11694318530ec9041d4c
- uses: ko-build/[email protected]
with:
version: v0.12.0
- uses: imjasonh/setup-crane@e82f1b9a8007d399333baba4d75915558e9fb6a4
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ jobs:
check-latest: true

# Install tools
# This sha corresponds to v0.6
- uses: imjasonh/setup-ko@c682db27121307b4d02d11694318530ec9041d4c
- uses: ko-build/[email protected]
with:
version: v0.12.0
- uses: sigstore/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ZAP_FLAGS ?= --zap-log-level=debug --zap-encoder=console
TEST_NAMESPACE ?= default

# CI: tekton pipelines controller version
TEKTON_VERSION ?= v0.30.0
TEKTON_VERSION ?= v0.44.0

# E2E test flags
TEST_E2E_FLAGS ?= --fail-fast -p --randomize-all -timeout=1h -progress -trace -v
Expand Down
4 changes: 2 additions & 2 deletions hack/install-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ set -eu
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" &> /dev/null && pwd)"

# kind version
KIND_VERSION="${KIND_VERSION:-v0.14.0}"
KIND_VERSION="${KIND_VERSION:-v0.17.0}"

if ! hash kind > /dev/null 2>&1 ; then
echo "# Installing KinD..."
Expand All @@ -27,7 +27,7 @@ kind --version
KIND_CLUSTER_NAME="${KIND_CLUSTER_NAME:-kind}"

# kind cluster version
KIND_CLUSTER_VERSION="${KIND_CLUSTER_VERSION:-v1.23.6}"
KIND_CLUSTER_VERSION="${KIND_CLUSTER_VERSION:-v1.25.3}"

echo "# Creating a new Kubernetes cluster..."
kind create cluster --name="${KIND_CLUSTER_NAME}" --image="kindest/node:${KIND_CLUSTER_VERSION}" --wait=120s --config="${DIR}/../test/kind/config.yaml"
Expand Down
2 changes: 1 addition & 1 deletion hack/install-tekton.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

set -eu

TEKTON_VERSION="${TEKTON_VERSION:-v0.38.3}"
TEKTON_VERSION="${TEKTON_VERSION:-v0.44.0}"

TEKTON_HOST="github.com"
TEKTON_HOST_PATH="tektoncd/pipeline/releases/download"
Expand Down
6 changes: 0 additions & 6 deletions test/kind/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,3 @@ nodes:
extraPortMappings:
- containerPort: 32222
hostPort: 32222
kubeadmConfigPatches:
- |
kind: ClusterConfiguration
apiServer:
extraArgs:
enable-admission-plugins: CertificateApproval,CertificateSigning,CertificateSubjectRestriction,DefaultIngressClass,DefaultStorageClass,DefaultTolerationSeconds,LimitRanger,MutatingAdmissionWebhook,NamespaceLifecycle,NodeRestriction,OwnerReferencesPermissionEnforcement,PersistentVolumeClaimResize,PersistentVolumeLabel,PodNodeSelector,PodTolerationRestriction,Priority,ResourceQuota,RuntimeClass,ServiceAccount,StorageObjectInUseProtection,TaintNodesByCondition,ValidatingAdmissionWebhook

0 comments on commit e39b810

Please sign in to comment.