Commit Graph

45 Commits

Author SHA1 Message Date
Yihau Chen 261007bb43
ci: fix post-command logic (#32587) 2023-07-21 17:41:33 +00:00
Yihau Chen a7b5664a30
ci: only upload the test result when the token is present (#32583) 2023-07-21 23:53:01 +08:00
Yihau Chen 3e5ee8de50
ci: only kill containers that are based on the solanalabs/rust* images (#32292)
* ci: only kill containers that are based on the solanalabs/rust* images

* Update .buildkite/hooks/post-checkout

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>

* Update .buildkite/hooks/post-checkout

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>

* fix lint

---------

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2023-06-29 12:18:03 +08:00
Trent Nelson 26be1a3a0c
ci: discard misleading `cargo uninstall` errors in bk post-checkout hook (#32139) 2023-06-14 16:01:48 -06:00
Yihau Chen c9ca6e3461
ci: update buildkite's hook (#31298)
* remove unnecessary files

* unify the hooks's header

* don't use set -e in post-checkout

* shellcheck.sh include .buildkite/hooks

* xxx: make ci unhappy

* Revert "xxx: make ci unhappy"

This reverts commit a0fdfb40db8aa226a2669e474a06fb0f45f8c5c4.
2023-04-25 15:49:58 +00:00
Yihau Chen def2af1653
ci: fix test result doesn't upload (#31297) 2023-04-21 16:31:35 +08:00
Yihau Chen 17eab32ad0
ci: run stable tests partially (#31151)
* ci: run stable tests partially

* ci: improve uploading test result

* use buildkite's retry

* test common

* fix indent issue

* extract assert eq

* use diff to print test error

* pretty format

* test build stable steps

* add test all function

* lint

* lint

* keep dollar sign

* switch got and want's diff direction

* use 'EOF' to make code more readable

* rename EMPTY_LINE to DELETE_THIS_LINE

* rename N => INDEX

* rename M => LIMIT

* check variable in a more elegant way

* wording

* more explain for code
2023-04-21 14:51:17 +08:00
Yihau Chen a5bd85cf75
ci: export channel info in buildkite pre-command (#31162) 2023-04-13 11:32:57 +08:00
Yihau Chen 7d17d7094a
ci: improve uploading test results (#31061)
* ci: ignore cargo2junit error

* ci: easing sanitized rules
2023-04-05 10:25:36 +00:00
joeaba 24f81beb6e
fix condition to exclude the metrics servers (#31000) 2023-03-31 08:25:26 -05:00
Yihau Chen c7ddb53cf1
chore: reactivate buildkite test analytics (#30980)
chore: upload test results to buildkite analytics
2023-03-30 17:02:37 +08:00
Dmitri Makarov 81ef2a0d75
Update references to platform-tools (#30764) 2023-03-22 07:41:40 -07:00
Ryo Onodera aaaee556d8
ci: silence ci test output while recording in full (#30654)
* ci: silence ci test output while recording in full

* shellcheck

* Adjust --color handling place

* Dump to stderr...

* Reduce too spammy solana_metrics logs

* Clean up

* Tweak

* Stash actual command's exit_code, not echo's
2023-03-16 22:17:29 +09:00
Yihau Chen 04e52f5475
ci: remove ejson (#30653) 2023-03-10 14:52:47 +08:00
Yihau Chen 755a9a6600
ci: add SCCACHE_S3_KEY_PREFIX (#30652) 2023-03-09 19:29:27 +08:00
Yihau Chen 54b42e6300
chore: stop uploading test data to buildkite (#28411)
stop uploading test data to buildkite
2022-10-17 00:48:06 +08:00
Yihau Chen 8c1093534e
chore: only generate test result on specific branches (#27591)
* chore: only generate test result on specific branches

* lint
2022-09-07 11:39:06 +08:00
Yihau Chen 3a9bc4bf37
chore: upload test results to buildkite and datadog (#27139)
* export test-stable result

* export test-stable-perf result

* export test-local-cluster result

* export test-local-cluster-flakey result

* export test-local-cluster-slow-1 result

* export test-local-cluster-slow-2 result

* export test-docs result

* export test-stable-bpf result

* upload test result to buildkite and datadog
2022-08-16 13:20:29 +08:00
Yihau Chen e69d8ae7d7
chore: use sccache (#26376)
* chore: remove CARGO_TARGET_CACHE

* chore: prepare sccache env for docker container

* chore: use s3 as sccache backend
2022-07-18 15:39:21 +08:00
Trent Nelson 5766567e9f ci: revert cache version hack 2022-02-22 19:01:29 +00:00
Justin Starry c97f34a0fd
Add script for running nightly rustfmt on all workspaces (#23244)
* Add script for running nightly rustfmt on all workspaces

* invalidate ci cache
2022-02-22 11:59:06 +08:00
Dmitri Makarov ae7fedf0b1 Extend buildkite cargo cache name to include host side rust version 2022-02-17 09:53:51 -08:00
Dmitri Makarov c7aa7fb66b Add sbf-tools version to cargo target cache name on CI agents 2022-02-09 03:26:56 +00:00
Tyera Eulberg 7ea1131090
Clear release cache for stable-perf (#17287) 2021-05-17 17:28:52 -06:00
Michael Vines 41a56e14fc Don't reuse BPF target build artifacts 2020-10-26 00:10:50 -07:00
Michael Vines 5c7080c1f4
Merge pull request #11857 from mvines/cache
ci: cargo-target-cache is now channel specific
2020-08-26 11:35:41 -07:00
Rob Walker 43bf176fab
more granular check for memoffset ignore in audit (#5219)
* more granular check for memoffset ignore in audit

* debugggin

* debugggin

* debugggin

* debugggin

* debugggin
2019-07-22 13:36:27 -07:00
Michael Vines 53275cc678
Introduce normalized CI environment vars: ci/env.sh (#4571) 2019-06-06 12:20:47 -07:00
Michael Vines 426d06b89b
Improve target/ cache logging 2019-05-12 22:16:23 -07:00
Michael Vines dccfe31e8c
Increase target cache size for coverage build 2019-05-12 21:21:31 -07:00
Michael Vines 8136d52c0b Whitelist the metrics-solana-com buildkite agent from docker container cleanup 2019-02-07 08:33:53 -08:00
Michael Vines 7452486c72 Kill running docker containers left over from a previous job 2019-02-06 13:57:11 -08:00
Michael Vines 3f323aba1a Search and destroy loitering processes from previous CI runs 2019-01-31 16:17:44 -08:00
Michael Vines aef84320e0 Double cache size for stable-perf 2018-12-16 23:05:44 -08:00
Michael Vines 9a5195e79e Remove CARGO_TARGET_CACHE_NAME, use BUILDKITE_LABEL 2018-12-16 23:05:44 -08:00
Michael Vines 1298ab1647 Use ejson to manage build secrets 2018-12-15 15:10:04 -08:00
Michael Vines 05decc863f Make set -x more buildkite friendly 2018-09-07 12:01:43 -07:00
Michael Vines f4947236dc Keep cargo-target-cache size under 6GB-ish 2018-09-07 11:45:27 -07:00
Michael Vines d26f135159
Find metrics-write-datapoint.sh again 2018-08-27 22:41:58 -07:00
Michael Vines 642c25bd3b
Update path 2018-08-07 13:40:49 -07:00
Michael Vines 0f95031b99 CI builds no longer turn red if a metrics write fails 2018-08-01 11:35:19 -07:00
Michael Vines 5d065133ef Add data point for testnet startup and shutdown 2018-07-21 23:27:24 -07:00
Michael Vines 72ab83cd45 Collect timing metrics for CI jobs 2018-07-04 11:00:56 -07:00
Michael Vines 1d812e78d5 Use hard linking to speed up target cache save/restore 2018-07-01 08:59:42 -07:00
Michael Vines fba494343f Save/restore target/ directory between builds 2018-06-30 22:30:57 -07:00