From 5bf764bf175dfbaa9c3600256075644711b58648 Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Mon, 30 Dec 2024 14:20:07 -0600 Subject: [PATCH 1/2] [ci/package-registry-verify-and-promote] Add Defend Worfklows tests --- .../pipelines/fleet/package_registry.yml | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/.buildkite/pipelines/fleet/package_registry.yml b/.buildkite/pipelines/fleet/package_registry.yml index 252082f31a98f..f16b6a860bdc7 100644 --- a/.buildkite/pipelines/fleet/package_registry.yml +++ b/.buildkite/pipelines/fleet/package_registry.yml @@ -46,6 +46,38 @@ steps: - exit_status: '*' limit: 1 + - command: .buildkite/scripts/steps/functional/defend_workflows.sh + label: 'Defend Workflows Cypress Tests' + agents: + image: family/kibana-ubuntu-2004 + imageProject: elastic-images-prod + provider: gcp + enableNestedVirtualization: true + machineType: n2-standard-4 + timeout_in_minutes: 60 + parallelism: 20 + key: defend-workflows-stateful + retry: + automatic: + - exit_status: '-1' + limit: 1 + + - command: .buildkite/scripts/steps/functional/defend_workflows_serverless.sh + label: 'Defend Workflows Cypress Tests on Serverless' + agents: + image: family/kibana-ubuntu-2004 + imageProject: elastic-images-prod + provider: gcp + enableNestedVirtualization: true + machineType: n2-standard-4 + timeout_in_minutes: 60 + parallelism: 14 + key: defend-workflows-serverless + retry: + automatic: + - exit_status: '-1' + limit: 1 + - command: .buildkite/scripts/steps/fleet/promote_package_registry.sh label: Promote docker.elastic.co/package-registry/distribution:lite agents: @@ -56,6 +88,8 @@ steps: depends_on: - ftr-configs - jest-integration + - defend-worfklows-stateful + - defend-workflows-serverless - wait: ~ continue_on_failure: true From a008e0106e213501c1885b8684a57afb04dc5fc9 Mon Sep 17 00:00:00 2001 From: Jonathan Budzenski Date: Mon, 30 Dec 2024 18:13:51 -0600 Subject: [PATCH 2/2] fix dependency --- .buildkite/pipelines/fleet/package_registry.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.buildkite/pipelines/fleet/package_registry.yml b/.buildkite/pipelines/fleet/package_registry.yml index f16b6a860bdc7..4843fdd3d0d75 100644 --- a/.buildkite/pipelines/fleet/package_registry.yml +++ b/.buildkite/pipelines/fleet/package_registry.yml @@ -57,6 +57,7 @@ steps: timeout_in_minutes: 60 parallelism: 20 key: defend-workflows-stateful + depends_on: build retry: automatic: - exit_status: '-1' @@ -73,6 +74,7 @@ steps: timeout_in_minutes: 60 parallelism: 14 key: defend-workflows-serverless + depends_on: build retry: automatic: - exit_status: '-1'