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
3 changes: 2 additions & 1 deletion .buildkite/bk.integration.pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ steps:
- label: "{{matrix.version}}:amd64:{{matrix.variants}}"
env:
K8S_VERSION: "{{matrix.version}}"
ASDF_KIND_VERSION: "0.24.0"
ASDF_KIND_VERSION: "0.27.0"
DOCKER_VARIANTS: "{{matrix.variants}}"
TARGET_ARCH: "amd64"
AGENT_VERSION: "9.0.0-SNAPSHOT" # Remove agent pinning once 9.0.0 is released
Expand Down Expand Up @@ -343,6 +343,7 @@ steps:
- v1.29.8
- v1.30.8
- v1.31.0
- v1.32.0

- label: ESS stack cleanup
depends_on:
Expand Down
3 changes: 2 additions & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,14 +215,15 @@ steps:
- label: "K8s tests: {{matrix.k8s_version}}"
env:
K8S_VERSION: "v{{matrix.k8s_version}}"
KIND_VERSION: "v0.24.0"
KIND_VERSION: "v0.27.0"
command: ".buildkite/scripts/steps/k8s-tests.sh"
agents:
provider: "gcp"
image: "family/platform-ingest-elastic-agent-ubuntu-2204"
matrix:
setup:
k8s_version:
- "1.32.0"
- "1.31.0"
- "1.30.0"
- "1.29.4"
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/scripts/install-kubectl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ else
ARCH_SUFFIX=amd64
fi

if curl -sSLo "${KUBECTL_CMD}" "https://storage.googleapis.com/kubernetes-release/release/${K8S_VERSION}/bin/${OS}/${ARCH_SUFFIX}/kubectl" ; then
if curl -sSLo "${KUBECTL_CMD}" "https://dl.k8s.io/release/${K8S_VERSION}/bin/${OS}/${ARCH_SUFFIX}/kubectl"; then
chmod +x "${KUBECTL_CMD}"
else
echo "Something bad with the download, let's delete the corrupted binary"
Expand Down
2 changes: 1 addition & 1 deletion docs/test-framework-dev-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ between, and it can be very specific or not very specific.
- `TEST_PLATFORMS="linux/amd64/ubuntu/20.04 mage integration:test` to execute tests only on Ubuntu 20.04 ARM64.
- `TEST_PLATFORMS="windows/amd64/2022 mage integration:test` to execute tests only on Windows Server 2022.
- `TEST_PLATFORMS="linux/amd64 windows/amd64/2022 mage integration:test` to execute tests on Linux AMD64 and Windows Server 2022.
- `TEST_PLATFORMS="kubernetes/arm64/1.31.0/wolfi" mage integration:kubernetes` to execute kubernetes tests on Kubernetes version 1.31.0 with wolfi docker variant.
- `TEST_PLATFORMS="kubernetes/arm64/1.32.0/wolfi" mage integration:kubernetes` to execute kubernetes tests on Kubernetes version 1.32.0 with wolfi docker variant.

> **_NOTE:_** This only filters down the tests based on the platform. It will not execute a tests on a platform unless
> the test defines as supporting it.
Expand Down
10 changes: 10 additions & 0 deletions pkg/testing/kubernetes/supported.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ var arches = []string{define.AMD64, define.ARM64}

// versions defines the list of supported version of Kubernetes.
var versions = []define.OS{
// Kubernetes 1.32
{
Type: define.Kubernetes,
Version: "1.32.0",
},
// Kubernetes 1.31
{
Type: define.Kubernetes,
Expand All @@ -38,6 +43,11 @@ var versions = []define.OS{
Type: define.Kubernetes,
Version: "1.28.9",
},
// Kubernetes 1.27
{
Type: define.Kubernetes,
Version: "1.27.16",
},
}

// variants defines the list of variants and the image name for that variant.
Expand Down