Skip to content

[9.1] (backport #8889) Revert [CI] Stable stack version override #8352 and #8528 #8907

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

Merged
merged 5 commits into from
Jul 14, 2025
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
51 changes: 0 additions & 51 deletions .ci/updatecli/updatecli-bump-stack-version.yml

This file was deleted.

57 changes: 0 additions & 57 deletions .github/workflows/bump-stable-snapshot.yml

This file was deleted.

7 changes: 2 additions & 5 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,22 @@ defaults:
labels:
- "backport"
pull_request_rules:
- name: automatic approval for updatecli pull requests with changes in .buildkite or create_deployment_csp_configuration.yaml
- name: automatic approval for updatecli pull requests with changes in .buildkite
conditions:
- author=github-actions[bot]
- check-success=buildkite/elastic-agent
- or:
- files~=^pkg/testing/ess/create_deployment_csp_configuration.yaml$
- files~=^.buildkite/(pipeline.yml|bk.integration.pipeline.yml)$
- head~=^updatecli_.*
actions:
review:
type: APPROVE
message: Automatically approving mergify
- name: automatic squash and merge with success checks and the files matching the regex .buildkite or create_deployment_csp_configuration.yaml is modified.
- name: automatic squash and merge with success checks and the files matching the regex .buildkite is modified.
conditions:
- author=github-actions[bot]
- check-success=buildkite/elastic-agent
- or:
- files~=^pkg/testing/ess/create_deployment_csp_configuration.yaml$
- files~=^.buildkite/(pipeline.yml|bk.integration.pipeline.yml)$
- head~=^updatecli_.*
- "#approved-reviews-by>=1"
Expand All @@ -47,7 +45,6 @@ pull_request_rules:
conditions:
- author=github-actions[bot]
- or:
- files~=^pkg/testing/ess/create_deployment_csp_configuration.yaml$
- files~=^.buildkite/(pipeline.yml|bk.integration.pipeline.yml)$
- head~=^updatecli_.*
- "#check-failure>0"
Expand Down
5 changes: 0 additions & 5 deletions pkg/testing/ess/create_deployment_csp_configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,3 @@ aws:
elasticsearch_conf_id: "aws.es.datahot.i3"
elasticsearch_deployment_template_id: "aws-storage-optimized"
kibana_instance_configuration_id: "aws.kibana.c5d"
# Automatically updated by updatecli-bump-stack-version.yml. Don't change the structure and key names
docker:
integration_server_image: "docker.elastic.co/cloud-release/elastic-agent-cloud:9.1.0-728f6093-SNAPSHOT"
elasticsearch_image: "docker.elastic.co/cloud-release/elasticsearch-cloud-ess:9.1.0-728f6093-SNAPSHOT"
kibana_image: "docker.elastic.co/cloud-release/kibana-cloud:9.1.0-728f6093-SNAPSHOT"
22 changes: 5 additions & 17 deletions test_infra/ess/deployment.tf
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ locals {

ess_region = coalesce(var.ess_region, "gcp-us-east1")
deployment_template_id = coalesce(var.deployment_template_id, "gcp-storage-optimized")

ess_properties = merge(
{
docker = {
Expand All @@ -72,23 +73,10 @@ locals {
},
yamldecode(file("${path.module}/../../pkg/testing/ess/create_deployment_csp_configuration.yaml")))

integration_server_docker_image = coalesce(
var.integration_server_docker_image,
local.ess_properties.docker.integration_server_image,
"docker.elastic.co/cloud-release/elastic-agent-cloud:${var.stack_version}"
)

elasticsearch_docker_image = coalesce(
var.elasticsearch_docker_image,
local.ess_properties.docker.elasticsearch_image,
"docker.elastic.co/cloud-release/elasticsearch-cloud-ess:${var.stack_version}"
)

kibana_docker_image = coalesce(
var.kibana_docker_image,
local.ess_properties.docker.kibana_image,
"docker.elastic.co/cloud-release/kibana-cloud:${var.stack_version}"
)

integration_server_docker_image = coalesce(var.integration_server_docker_image, local.ess_properties.docker.integration_server_image, "docker.elastic.co/cloud-release/elastic-agent-cloud:${var.stack_version}")
elasticsearch_docker_image = coalesce(var.elasticsearch_docker_image, local.ess_properties.docker.elasticsearch_image, "docker.elastic.co/cloud-release/elasticsearch-cloud-ess:${var.stack_version}")
kibana_docker_image = coalesce(var.kibana_docker_image, local.ess_properties.docker.kibana_image, "docker.elastic.co/cloud-release/kibana-cloud:${var.stack_version}")
}

# If we have defined a stack version, validate that this version exists on that region and return it.
Expand Down
28 changes: 0 additions & 28 deletions test_infra/ess/readme.md

This file was deleted.

Loading