Commit Graph

1303 Commits

Author SHA1 Message Date
yihau 4eca946fb9 chore: increase coverage timeout limit 2022-07-21 00:20:00 +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
Dmitri Makarov 0b78a213c3 Add a comment explaining the check for crate recompilation redundancy 2022-07-14 17:59:37 -07:00
Dmitri Makarov 27cee7a7de Compile for bpf target for compatibility when cargo-build-bpf is used 2022-07-14 10:41:39 -07:00
Dmitri Makarov b7e7e4159c Prevent cargo from running a non-BPF compiler for BPF target 2022-07-13 05:48:48 +00:00
Dmitri Makarov b1718422ce Add a check for rebuild regression due to dep features in cargo tomls 2022-07-12 15:12:22 -07:00
yihau b86d80e676 chore: fix solana-private buildkite steps 2022-06-28 12:09:14 +08:00
Nicholas Rempel 42eb846d52 Add cargo sort check to test-checks.sh 2022-06-24 12:41:38 -07:00
Yihau Chen 5c920caf4f
chore: separate publish installer process (#26137)
* chore: reorder name and command

* chore: extract publish installer from publich tarball

* lint: use space
2022-06-23 11:18:30 +08:00
Michael Vines f3639b76ce Remove some clippy lints 2022-06-22 09:23:22 -07:00
Michael Vines 8dd9a045dd Add cargo-store 2022-06-21 18:09:17 +00:00
Nicholas Rempel 1ee4b412b2 Support local CI on macOS 2022-06-20 08:41:30 -07:00
Michael Vines 04c61afd3a echo release.solana.com-install before uploading it for more log visibility 2022-06-18 20:04:45 -07:00
yihau bc3fb7cec6 chore: sync bench timeout setting 2022-06-14 01:00:04 +08:00
yihau 30828609dc chore: sync stable-bpf timeout setting 2022-06-13 11:32:38 +08:00
Dmitri Makarov 4dfaf15a46 Add cargo bpf tools that invoke newer sbf tools and issue deprecation notice 2022-06-03 14:12:42 -07:00
yihau e5ebcb0855 chore: test stable-bpf on gcp agents 2022-05-31 11:36:30 +08:00
axleiro d4e7ebf4f8
increasing timeout limit to 35 for few tests 2022-05-28 18:18:18 +05:30
steviez 7d202a0be2
Make run-sanity.sh ledger-tool verify operate on more slots (#25591)
Prior to this change, genesis.tar.bz2 and the snapshot would be copied
over to a new directory but not rocksdb. As such, the verify step would
only unpack the snapshot and verify that hash.
2022-05-26 15:44:09 -05:00
steviez e1684e94f5
Update to call split local-cluster-slow scripts (#25510) 2022-05-24 14:31:33 -05:00
Justin Starry f6da78a741 Bump stable-bpf CI job timeout to 25min 2022-05-20 15:25:50 +08:00
Jon Cinque 48982778ef
ci: Remove downstream anchor projects (#25266) 2022-05-17 02:27:38 +02:00
Yihau Chen e493e0033a
chore: build windows artifacts on Github Actions (#25188)
* chore: always checkout repo from master

* chore: rename variable tag => commit

* chore: gh-release when tag is present

* chore: add release-artifacts-auto

* chore: skip build when channel is empty

* chore: use GITHUB_REF_NAME as CI_BRANCH
2022-05-13 17:10:03 +08:00
Yihau Chen 46c1ca6551
chore: build osx x86_64 artifacts on buildkite (#25138)
* chore: build osx x86_64 artifacts on buildkite

* chore: remove osx artifacts building flow from github action
2022-05-11 23:15:53 +08:00
Yihau Chen 0e3fc9d31c
chore: add docs actions (#25029)
* chore: mv .travis/* ci/

* chore: add docs action

* chore: update mergify
2022-05-06 12:14:50 +08:00
Brooks Prumo e1866aacad
Move long-running local-cluster tests to local-cluster-slow (#24952) 2022-05-04 06:03:38 -05:00
axleiro abf829d0c6
changing agents for the new pipeline 2022-05-04 12:11:26 +05:30
Yihau Chen 9f163a87c0
chore: build x86 artifacts (#24941)
* chore: add GitHub Action env

* chore: add github tarball output path

* chore: add build x86 actions
2022-05-03 23:20:23 +08:00
axleiro 5b80891abc
adding buildkite-solana-private.sh to remove solana-secondary dependency from solana-private pipeline 2022-05-03 17:11:31 +05:30
Yihau Chen 0945673a33
fix(ci): correct script path (#24584) 2022-04-22 13:50:40 +08:00
yihau 84d5a6d44f xxx 2022-04-22 12:59:17 +08:00
Yihau Chen 3d0ca2d94e
feat: export web3 to minnor repo (#24557) 2022-04-21 18:51:32 +00:00
Jon Cinque c43afe2d7f
spl: Bump token to v3.3.0 and ATA to v1.0.5 (#22649)
* Bump spl-token and ATA to v3.3.0

* Add parsers for new token instructions
* Update parser for modified associated-token-account instruction

* Update to use 1.0.5 once it's released

* Update Cargo.lock in programs/bpf
2022-04-20 19:13:42 +02:00
Tyera Eulberg 65d33b3715
Split out rust doc tests in CI (#24397) 2022-04-15 19:40:27 -06:00
Michael Vines 552d684bdc Upgrade to Rust 1.60.0 2022-04-11 18:15:03 -04:00
Michael Vines 8f9554b5b9 Build rust docker images for linux/amd64 2022-04-11 18:15:03 -04:00
axleiro 16b73a998b
Increasing timeout in local-cluster-slow by 10 min 2022-03-22 17:52:06 +05:30
axleiro 9347d57973
increasing timeout of local-cluster-slow test by 10 min 2022-03-22 17:51:13 +05:30
axleiro a1a29b0b86
Increased timeout limit of coverage and stable-perf by 10 mins each (#23797)
* Increased timeout limit of coverage and stable-perf by 10 mins each

* Increasing timeout for in disk CI by 10 min
2022-03-21 15:08:23 +05:30
Tyera Eulberg 330d6db19a
Pin version for publish cargo-check (#23716) 2022-03-16 18:46:41 -06:00
Jack May 7ee7fc6f58
CI clippy and fmt for all (#23599) 2022-03-11 12:07:06 -08:00
Tyera Eulberg d3ebe8d8f5
Remove unneeded jsonrpc dependencies/features; update do-audit (#23436)
* Update generic-array note

* Remove unneeded jsonrpc deps

* Remove unneeded jsonrpc features

* Rewrite slot-update test without websocket crate

* Rewrite rpc-subscription test without websocket crate, and remove jsonrpc deps

* Update expected balance to accommodate rent-exempt minimum transfer amount

* Remove obsolete audit ignores
2022-03-02 01:42:01 -07:00
Tyera Eulberg 2a17a661e6
Remove failure audit ignore (#23431) 2022-03-01 17:02:55 -07:00
Trent Nelson f814c4a082 ci: move all formerly-default-queue jobs to solana queue 2022-02-28 13:50:34 -07:00
axleiro 92216c01ff
Create buildkite-pipeline-in-disk.sh 2022-02-25 15:26:45 +05:30
Trent Nelson 97b5a71ceb bump rust to 1.59.0 2022-02-25 08:05:28 +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
Brooks Prumo 67f6787f7a
Enable incremental snapshots by default (#22938)
Co-authored-by: Michael Vines <mvines@gmail.com>
2022-02-09 13:26:35 -06:00
Dmitri Makarov c7aa7fb66b Add sbf-tools version to cargo target cache name on CI agents 2022-02-09 03:26:56 +00:00
sakridge 1b7bc8b284
Limit compiler jobs if the machine has lower than 4gb/thread (#22704) 2022-01-28 23:46:46 +01:00
Michael Vines bd86459a94 Always contact release.solana.com over https 2022-01-27 19:40:19 +00:00
Michael Vines 091929da12 Update to Rust 1.58.1 2022-01-21 21:38:06 -08:00
Jon Cinque ec364cc737
ci: Add Anchor and Anchor projects to the downstream build (#22098)
* ci: Add Anchor and Anchor projects to the downstream build

* Separate downstream anchor projects into separate step

* Decrease anchor project build time
2022-01-11 00:21:53 +01:00
Michael Vines e2aa932e97 Add aarch64-apple-darwin publish tarball step 2022-01-06 23:59:18 -08:00
Justin Starry 0eb0d62e95 Increase timeout of local-cluster-slow CI step 2022-01-07 15:30:42 +08:00
Justin Starry 0e1afcbb26
Split up local cluster tests into separate CI steps (#22295)
* Split up local cluster tests into separate CI steps

* Update buildkite-pipeline.sh
2022-01-05 14:44:15 +00:00
Michael Vines 6895eb7ef6 Correctly set CI_COMMIT when Buildkite provides HEAD instead of a real commit 2022-01-03 17:39:20 -08:00
Michael Vines 25cb859ed0 Switch from arm64-apple-darwin to aarch64-apple-darwin to align with Rust's target names 2022-01-03 16:54:46 -08:00
Michael Vines ed0b47c6f8 Use experimential docker virtualization framework for arm64 2022-01-03 15:57:06 -08:00
Michael Vines b18462737e Correctly set CI_OS_NAME for macOs buildkite agents 2022-01-03 12:54:05 -08:00
Michael Vines 53777f2fbf Add support for arm64-apple-darwin release/channel artifacts 2022-01-03 12:42:57 -08:00
Dmitri Makarov 298c2d0f62
Display bpf-tools version in cargo-build-bpf version string (#22061)
* Display bpf-tools version in cargo-build-bpf version string

* Print cargo-build-bpf version in CI for reference in stable-bpf jobs
2021-12-22 23:10:25 +00:00
Steven Czabaniuk 15a9fa6f53 Update to Rust 1.57.0 2021-12-10 11:07:19 -08:00
Michael Vines f32216588d Remove libcurl to prevent wasm-pack segfault in libssl 2021-12-09 15:53:58 -08:00
Michael Vines 488dc37fec Add wasm bindings for `Pubkey` and `Keypair` 2021-12-09 15:53:58 -08:00
axleiro ae024f666a
reverting back to the original state 2021-12-09 13:16:05 +05:30
dependabot[bot] b61b7189a5
chore: bump hmac from 0.11.0 to 0.12.0 (#21681)
* chore: bump hmac from 0.11.0 to 0.12.0

Bumps [hmac](https://github.com/RustCrypto/MACs) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/RustCrypto/MACs/releases)
- [Commits](https://github.com/RustCrypto/MACs/compare/hmac-v0.11.0...hmac-v0.12.0)

---
updated-dependencies:
- dependency-name: hmac
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* [auto-commit] Update all Cargo lock files

* Update dependabot-pr.sh

* Bump sha2 and pbkdf2 as well

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-buildkite <dependabot-buildkite@noreply.solana.com>
Co-authored-by: axleiro <83293196+axleiro@users.noreply.github.com>
Co-authored-by: Tyera Eulberg <tyera@solana.com>
2021-12-08 18:12:35 -07:00
axleiro 99da25dc9d
testing for dependabot trigger 2021-12-08 16:25:31 +05:30
axleiro f98e198dcf
resolving buildkite pull before push issue
Added:
git config pull.rebase false
git pull origin master --allow-unrelated-histories
2021-12-08 13:43:59 +05:30
axleiro 483f5cce46
fixing "Updates were rejected because the remote contains work that you do"
adding git pull
2021-12-08 13:32:54 +05:30
Michael Vines e922c2da9d Update to Rust 1.56.1 2021-11-30 23:28:07 -08:00
carllin b30c94ce55
ClusterInfoVoteListener send only missing votes to BankingStage (#20873) 2021-11-18 15:20:41 -08:00
Michael Vines 293a0d8797 Update to Rust v1.56 2021-10-23 08:21:20 +00:00
Justin Starry 4fbf44dc75
ci: Increase timeout duration for coverage step (#20888) 2021-10-22 19:28:35 +00:00
Brooks Prumo 7baeb04f26 Ignore RUSTSEC-2020-0159 2021-10-18 13:38:06 -07:00
Michael Vines 13462d63a2 solana-sdk now builds for wasm32-unknown-unknown 2021-10-13 13:15:33 -07:00
Michael Vines 3b70cdb8d8 Upgrade to Rust 1.55.0 2021-10-06 17:48:58 -07:00
Justin Starry 0c62a6fe3f
Resolve zeroize_derive audit warning by bumping version (#20182)
* Revert "temporarily disable new audit"

This reverts commit 3dfbd95ddc.

* Bump version of zeroize_derive from v1.0.0 to v1.2.0
2021-09-24 22:51:53 +00:00
Justin Starry 3dfbd95ddc temporarily disable new audit 2021-09-24 16:42:40 -04:00
Drew Taylor 1fa8b6b966 fixing print in shell script and updating string interpolation in python script 2021-09-21 22:42:18 -06:00
Drew Taylor cf4358715b switched all python2.7 to python3.x 2021-09-21 22:42:18 -06:00
Justin Starry d39e90d3d7
Clean up explorer deploy and stop mirroring the repo (#19845)
* Stop exporting explorer commits to mirror

* Remove heroku config from explorer
2021-09-13 14:46:14 -05:00
Trent Nelson 92e343da26 move `./run.sh` into `./scripts` 2021-09-11 14:49:17 -06:00
Tyera Eulberg 17978c2ff4
Remove tar-rs audit ignore (#19344) 2021-08-20 14:34:48 -06:00
Tyera Eulberg db40cb41b2
Handle new security advisories (#19126)
* Update hyper 0.14

* Add audit ignores

* Bump assert_cmd and remove audit ignore

* Remove unnecessary unmaintained dependency

* Remove pin-project-lite warning
2021-08-09 19:36:03 +00:00
Trent Nelson d60ccf64e1 bump recommended maps/nofiles 2021-08-04 11:15:18 -06:00
Trent Nelson 38fb6dcf86 bump rust stable to 1.54, nightly 2021-08-02 2021-08-04 07:21:55 +00:00
Tyera Eulberg 95c2873b3c
Exit stable-bpf CI runs before localnet-sanity (#19016) 2021-08-02 18:00:36 +00:00
Jack May 0247c280ff
Run BPF program unit tests (#18982) 2021-07-30 15:15:06 -07:00
Trent Nelson 59cd0556ef ci: suppress cargo tree output 2021-07-16 23:00:23 -06:00
Trent Nelson 96a7cedaca ci: fix typo 2021-07-16 23:00:23 -06:00
Trent Nelson f1996ca0f3 CI: Dump BPF assembly listings and upload as artifact 2021-07-10 12:14:37 -06:00
Trent Nelson 1eab0773af CI: Extricate BPF tests from stable-perf 2021-07-10 12:14:37 -06:00
Tyera Eulberg 761de8b1a3
Bump prost, prost-types, and tonic (#18537)
* Bump prost+tonic and accommodate generated service changes

* Unignore advisory

* Fixup .proto error list
2021-07-09 17:31:26 +00:00
Ryo Onodera a5b91ef4c3
Show grcov version as well (#18549) 2021-07-09 19:49:07 +09:00
Tyera Eulberg 6188283ba6
Temporarily ignore prost-types audit (#18525) 2021-07-08 13:03:37 -06:00
Trent Nelson 0bc38153ca ci: add wrapper script for running ci locally
Linux only for now
2021-06-24 22:14:54 -06:00
Trent Nelson 761e324982 ci: add downstream build wrapper 2021-06-24 22:14:54 -06:00
Trent Nelson 278a241db3 ci: give localnet nodes a more time to startup 2021-06-24 22:14:54 -06:00
Trent Nelson f213e48067 ci: nvidia persistence mode isn't a hard requirement 2021-06-24 22:14:54 -06:00