Skip to content

Fix build-buildboxes timeouts#17314

Merged
wadells merged 3 commits into
masterfrom
walt/fix-buildbox-timeouts
Oct 12, 2022
Merged

Fix build-buildboxes timeouts#17314
wadells merged 3 commits into
masterfrom
walt/fix-buildbox-timeouts

Conversation

@wadells
Copy link
Copy Markdown
Contributor

@wadells wadells commented Oct 12, 2022

As decribed in #17310, the build-buildboxes step was timing out due to a combination of too many steps and some drone inanity. This patch fixes the issue (and does a bit of tidying) by reducing the number of steps in the build-buildboxes pipeline. To do so, we now reusing long lived profiles instead of re-assuming multiple roles for every buildbox.

Fixes #17310

Backports

Testing

https://drone.platform.teleport.sh/gravitational/teleport/16396

Performed with the following diff to get the pipeline to kick off:

diff --git a/.drone.yml b/.drone.yml
index 984697aa7..7e87807ff 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -7034,6 +7034,7 @@ trigger:
     include:
     - master
     - branch/*
+    - walt/*
 workspace:
   path: /go/src/github.com/gravitational/teleport
 clone:
@@ -8719,6 +8720,6 @@ steps:
     WORKSPACE_DIR: /tmp/build-darwin-amd64-connect
 ---
 kind: signature
-hmac: 0e0e9b81525aaf0ee5b0fce21ad60916f3fd55fa6002c11764ce81190b394666
+hmac: b96deef081328b28dc0d856da23da54d261ba34f9c655837b2004ed011632812
 
 ...

@wadells wadells force-pushed the walt/fix-buildbox-timeouts branch 2 times, most recently from bd11a71 to 3e9cf26 Compare October 12, 2022 00:41
@wadells wadells marked this pull request as ready for review October 12, 2022 00:53
@github-actions github-actions Bot requested a review from klizhentas October 12, 2022 00:54
Copy link
Copy Markdown
Collaborator

@zmb3 zmb3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Walt!

@wadells wadells force-pushed the walt/fix-buildbox-timeouts branch from 3e9cf26 to 1d80308 Compare October 12, 2022 17:32
@wadells wadells force-pushed the walt/fix-buildbox-timeouts branch 2 times, most recently from 1178329 to 1c92f8b Compare October 12, 2022 17:37
@wadells wadells enabled auto-merge (squash) October 12, 2022 18:02
This greatly reduces the number of steps in the pipeline, allowing
drone-runner-kube to successfully schedule the pipeline.

Fixes #17310

squash
This gives un-dronegen'ed pipelines the same syntax as dronegen'd ones,
which is nice for consistency.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drone build-buildboxes pipeline times out

3 participants