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
2 changes: 1 addition & 1 deletion .buildkite/pipeline.publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
env:
SETUP_GVM_VERSION: "v0.6.0"
LINUX_AGENT_IMAGE: "golang:${GO_VERSION}"
DOCKER_COMPOSE_VERSION: "v2.24.1"
DOCKER_COMPOSE_VERSION: "v2.17.2"
DOCKER_VERSION: "false"
YQ_VERSION: 'v4.35.2'
JQ_VERSION: '1.7'
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/pipeline.serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
env:
SETUP_GVM_VERSION: "v0.6.0"
LINUX_AGENT_IMAGE: "golang:${GO_VERSION}"
DOCKER_COMPOSE_VERSION: "v2.24.1"
DOCKER_COMPOSE_VERSION: "v2.17.2"
DOCKER_VERSION: "false" # not required to set since system tests are not running yet
KIND_VERSION: 'v0.20.0'
K8S_VERSION: 'v1.28.0'
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/buildkite/pipeline-schema/main/schema.json
env:
SETUP_GVM_VERSION: "v0.6.0"
DOCKER_COMPOSE_VERSION: "v2.24.1"
DOCKER_COMPOSE_VERSION: "v2.17.2"
DOCKER_VERSION: "26.1.2"
KIND_VERSION: 'v0.20.0'
K8S_VERSION: 'v1.28.0'
Expand Down
15 changes: 15 additions & 0 deletions .buildkite/scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,16 @@ with_docker() {
docker version -f json | jq -r '.Server.Version'
}

with_docker_compose() {
create_bin_folder
check_platform_architecture

echo "--- Setting up the Docker-compose environment..."
retry 5 curl -sSL --fail -o "${BIN_FOLDER}/docker-compose" "https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-${platform_type_lowercase}-${hw_type}"
chmod +x "${BIN_FOLDER}/docker-compose"
docker-compose version
}
Comment on lines +191 to +199

with_docker_compose_plugin() {
echo "--- Setting up the Docker compose plugin environment..."
if [[ "${DOCKER_COMPOSE_VERSION:-"false"}" == "false" ]]; then
Expand Down Expand Up @@ -328,6 +338,11 @@ is_stack_created() {
if [ "${files}" -gt 0 ]; then
return 0
fi
# snapshot.yml was the name used before elastic-package renamed it to docker-compose.yml
files=$(find ~/.elastic-package -type f -name "snapshot.yml" | wc -l)
if [ "${files}" -gt 0 ]; then
return 0
fi
return 1
}

Expand Down
1 change: 1 addition & 0 deletions .buildkite/scripts/test_integrations_with_serverless.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ add_bin_path
with_yq
with_mage
with_docker
with_docker_compose
with_docker_compose_plugin
with_kubernetes

Expand Down
1 change: 1 addition & 0 deletions .buildkite/scripts/test_one_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ add_bin_path
with_yq
with_mage
with_docker
with_docker_compose
with_docker_compose_plugin
with_kubernetes

Expand Down
Loading