-
Notifications
You must be signed in to change notification settings - Fork 375
ci: rebase #3235 onto main + shard the compressed allow-list runs #3479
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
+393
−139
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
b63613b
ci: shard integration tests across parallel runners for wall time
tomassrnka ffd0d6c
ci: rebalance the template-build shard split from measured junits
tomassrnka ecd1865
ci: make the otel pre-pull failure-proof, not just warm
tomassrnka fa87dd9
ci: gate the integration suite on scripts/pull-retry.sh
tomassrnka File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| name: "Start Databases" | ||
| description: "Kicks off the PostgreSQL, ClickHouse, and Redis containers in the background. Run this as early as possible: pulls and boots then overlap with the Go builds, and the start-services action later waits for health before migrating." | ||
|
|
||
| runs: | ||
| using: "composite" | ||
| steps: | ||
| - name: Start Database Containers | ||
| env: | ||
| CLICKHOUSE_USERNAME: "e2b" | ||
| CLICKHOUSE_PASSWORD: "clickity-clicky-click" | ||
| CLICKHOUSE_PORT: "9000" | ||
| CLICKHOUSE_DATABASE: "default" | ||
| run: | | ||
| # Everything is backgrounded so the image pulls (with rate-limit | ||
| # retries, see scripts/pull-retry.sh) and container boots overlap | ||
| # with the (minutes-long) package builds that follow. Failures are | ||
| # not silent: a container whose pull or boot failed here never turns | ||
| # healthy, and start-services waits on container health with a | ||
| # bounded timeout. | ||
| ( | ||
| ./scripts/pull-retry.sh postgres:18 | ||
| docker run -d --name postgres \ | ||
| -e POSTGRES_USER=postgres \ | ||
| -e POSTGRES_PASSWORD=local \ | ||
| -e POSTGRES_DB=mydatabase \ | ||
| -p 5432:5432 \ | ||
| --health-cmd="pg_isready -U postgres" \ | ||
| --health-interval=5s \ | ||
| --health-timeout=2s \ | ||
| --health-retries=5 \ | ||
| postgres:18 | ||
| ) & | ||
|
|
||
| ( | ||
| ./scripts/pull-retry.sh redis:8 | ||
| docker run -d --name redis \ | ||
| -p 6379:6379 \ | ||
| --health-cmd="redis-cli ping" \ | ||
| --health-interval=5s \ | ||
| --health-timeout=2s \ | ||
| --health-retries=5 \ | ||
| redis:8 | ||
| ) & | ||
|
|
||
| ( | ||
| ./scripts/pull-retry.sh clickhouse/clickhouse-server:25.4.5.24 | ||
| make -C packages/clickhouse run | ||
| ) & | ||
|
|
||
| # Warm-up only: this discards its exit status by design (the step | ||
| # must not block on it). The guarantee lives in start-services, | ||
| # which re-runs pull-retry.sh for this image synchronously before | ||
| # starting the otel collector. The tag comes from the Makefile that | ||
| # runs the image, so a version bump there can't strand these pulls. | ||
| OTEL_IMAGE=$(grep -oE 'otel/opentelemetry-collector-contrib:[0-9.]+' packages/otel-collector/Makefile | head -1) | ||
| ./scripts/pull-retry.sh "$OTEL_IMAGE" & | ||
| shell: bash |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.