From 2177d9e566838a87cc9fd9e474bbbc5821dc89fe Mon Sep 17 00:00:00 2001 From: bmorelli25 Date: Thu, 8 Feb 2024 08:57:42 -0800 Subject: [PATCH 1/3] Revert "Build every 1.5 hours (#2928)" This reverts commit 1e92dcbfe4bb7efe33af9cddcd0b0d4426c615de. --- catalog-info.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/catalog-info.yaml b/catalog-info.yaml index 7428f7b3a506b..725da87c124a2 100644 --- a/catalog-info.yaml +++ b/catalog-info.yaml @@ -25,14 +25,10 @@ spec: provider_settings: build_pull_requests: false schedules: - periodic_docs_build_0: + periodic_docs_build: branch: "master" - message: "Build the docs every 1.5 hours" - cronline: "0 0,3,6,9,12,15,18,21 * * *" - periodic_docs_build_1: - branch: "master" - message: "Build the docs every 1.5 hours" - cronline: "30 1,4,7,10,13,16,19,22 * * *" + message: "Build the docs hourly" + cronline: "@hourly" teams: docs-build-guild: access_level: MANAGE_BUILD_AND_READ From 534615873fad6ea443db091a5b95513e6a385a6d Mon Sep 17 00:00:00 2001 From: bmorelli25 Date: Thu, 8 Feb 2024 08:57:47 -0800 Subject: [PATCH 2/3] Revert "Build docs hourly - every 30 min is running into race conditions (#2927)" This reverts commit 68a376fdb54e34cbdf71818ef261b7fb99547dbf. --- catalog-info.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/catalog-info.yaml b/catalog-info.yaml index 725da87c124a2..0c407e065f069 100644 --- a/catalog-info.yaml +++ b/catalog-info.yaml @@ -27,8 +27,8 @@ spec: schedules: periodic_docs_build: branch: "master" - message: "Build the docs hourly" - cronline: "@hourly" + message: "Build the docs every 30 minutes" + cronline: "*/30 * * * *" teams: docs-build-guild: access_level: MANAGE_BUILD_AND_READ From 102eccbd399d252f27afbf31c0cc81591452517c Mon Sep 17 00:00:00 2001 From: bmorelli25 Date: Thu, 8 Feb 2024 09:07:17 -0800 Subject: [PATCH 3/3] run every 30 mins, no rebuild, concurrency 1 --- .buildkite/build_pipeline.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.buildkite/build_pipeline.yml b/.buildkite/build_pipeline.yml index e2defd2ac51be..d68c6db6d3f76 100644 --- a/.buildkite/build_pipeline.yml +++ b/.buildkite/build_pipeline.yml @@ -4,7 +4,7 @@ steps: fields: - select: "Rebuild?" key: "REBUILD" - default: "rebuild" + default: "" required: false options: - label: "no" @@ -27,13 +27,15 @@ steps: - wait - label: ":white_check_mark: Build docs" command: | - export REBUILD="$(buildkite-agent meta-data get REBUILD --default 'rebuild' --log-level fatal)" + export REBUILD="$(buildkite-agent meta-data get REBUILD --default '' --log-level fatal)" export BROKEN_LINKS="$(buildkite-agent meta-data get BROKEN_LINKS --default '' --log-level fatal)" bash .buildkite/scripts/build.sh agents: provider: "gcp" image: family/docs-ubuntu-2204 machineType: ${BUILD_MACHINE_TYPE} + concurrency_group: build-docs + concurrency: 1 notify: - email: "docs-status@elastic.co" if: build.state == "failed"