Commit Graph

22 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 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 7d17d7094a
ci: improve uploading test results (#31061)
* ci: ignore cargo2junit error

* ci: easing sanitized rules
2023-04-05 10:25:36 +00: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
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 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
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
Michael Vines 426d06b89b
Improve target/ cache logging 2019-05-12 22:16:23 -07:00
Michael Vines 9a5195e79e Remove CARGO_TARGET_CACHE_NAME, use BUILDKITE_LABEL 2018-12-16 23:05:44 -08: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