Commit Graph

86 Commits

Author SHA1 Message Date
Yihau Chen 8363ebfd64
ci: merge docker images (#35078)
* ci: add new ci docker image

* ci: use the new docker image

* fix shellcheck

* add readme for the new docker image

* remove old docker images

* remove unused check in docs/build.sh

* use the new image in net.sh
2024-02-07 15:17:33 +08:00
Yihau Chen b55dcbbb39
ci: run bench test in docker (#33944)
* ci: run bench test in docker

* ci: fix bench test triggering rule
2023-11-17 12:11:25 +08:00
Yihau Chen 5efba1fb3a
ci: add the ability to use GCS backend for sccache (#33967) 2023-11-08 11:03:35 +08:00
Yihau Chen 662ac8bc86
ci: reorg docker images (#33815)
* ci: remove unnecessary args from docker-run.sh

* ci: remove cargo uninstall from buildkite post checkout

* ci: reorg docker images

* ci: add mscgen for docs
2023-11-03 20:32:38 +08:00
Yihau Chen d4946ddfaa
ci: move solana-cargo-build-sbf to nextest (#33257) 2023-09-15 14:24:43 +00:00
Yihau Chen adc17fd1e0
ci: stop spl downstream project test temporarily (#32610) 2023-07-24 19:49:42 +00:00
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
Trent Nelson b81678fd6e
ci: harden buildkite `group` generator (#32568) 2023-07-21 03:22:44 +00:00
Trent Nelson 1ce26ecba0
remove references to eol helloworld example repo (#32550) 2023-07-20 00:35:54 -05:00
kirill lykov 48ac48e2b2
Re-enable spl downstream build (#32429)
return spl downstream build
2023-07-10 16:08:23 +02: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
Kevin Ji 8c73a2cae9
Bump borsh to 0.10.3 (#30975)
* Bump borsh to 0.10.3

transaction-status relies on SPL which still requires borsh 0.9, so
until SPL also gets updated that package alone will use an older version of
borsh.

* ci: Temporarily disable spl and openbook-dex builds
2023-05-30 23:33:21 +02:00
Yihau Chen 8cb30d0693
ci: separate bench tests (#31763)
* ci: separate bench tests

* use readable names
2023-05-25 21:39:17 +08:00
Yihau Chen 239a7ba759
ci: refactor local cluster tests (#31730)
* ci: separate local cluster tests by nextest

* parallelism => 6

* Revert "parallelism => 6"

This reverts commit 5c271357fee8aa8ae812ee67e285d72ebb9bec10.
2023-05-24 15:07:33 +08:00
Yihau Chen 466c3c36d8
ci: don't run test for openbook-dex temporarily (#31350)
ci: don't run openbook-dex temporarily
2023-04-26 06:58:21 +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 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 2500fd3f01
ci: set -e for .buildkite/scripts/build-downstream-projects.sh (#30508) 2023-02-27 03:19:53 +08:00
Yihau Chen 21f1b652a7
ci: reorg downstream projects (#30463)
reorg downstream projects
2023-02-24 15:55:24 +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
axleiro 59177f0f39
removing name var 2022-05-03 17:18:26 +05:30
axleiro bac372cad9
adding new file for solana-private CI 2022-05-03 17:10:38 +05:30
axleiro ebcdd3b18d
adding solana-private.sh
for a new pipeline
2022-04-29 11:36:21 +05:30
axleiro ff04a5b989
changing permission on "buildkite-pipeline-in-disk" 2022-02-25 15:35:47 +05:30
axleiro 0e5a58b883
adding a copy of "pipeline-upload.sh"
for the new pipeline
2022-02-25 15:25:37 +05:30
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 a535c0e129 Rotate CODECOV_TOKEN 2021-04-15 16:07:04 +00:00
Michael Vines 41a56e14fc Don't reuse BPF target build artifacts 2020-10-26 00:10:50 -07:00
Michael Vines 278f2fe078 Remove secrets not required by the main public CI 2020-08-31 11:05:28 -07:00
Michael Vines f78594dfc1 Remove unused GEOLOCATION_API_KEY 2020-08-31 11:05:28 -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
Trent Nelson e310bad7ab Add comment about encrypted API tokens for buildkite 2020-08-17 23:47:48 +00:00