Commit Graph

1119 Commits

Author SHA1 Message Date
Jack May e2c7f446a8
Disable specialization-warnings (#10981)
* Disable specialization-warnings

* nudge
2020-07-10 11:06:10 -07:00
Dan Albert fec7a61f59
Fix Travis PR detection environment (#10974) 2020-07-09 14:30:47 -06:00
Michael Vines 3cdd54422d Skip tests on .merify.yml only PRs 2020-07-08 10:36:38 -07:00
Ryo Onodera 39b3ac6a8d
Introduce automatic ABI maintenance mechanism (2/2; rollout) (#8012)
* Introduce automatic ABI maintenance mechanism (2/2; rollout)

* Fix stable clippy

* Change to symlink

* Freeze abi of Tower

* fmt...

* Improve dev-experience!

* Update BankSlotDelta

$ diff -u /tmp/abi8/*7dg6BreYxTuxiVz6aLvk3p2Z7GQk2cJqfGvC9h4FAoSj* /tmp/abi8/*9chBcbXVJ4fK7uGgydQzam5aHipaAKFw6V4LDFpjbE4w*
--- /tmp/abi8/bank__BankSlotDelta_frozen_abi__test_abi_digest_7dg6BreYxTuxiVz6aLvk3p2Z7GQk2cJqfGvC9h4FAoSj      2020-06-18 18:01:22.831228087 +0900
+++ /tmp/abi8/bank__BankSlotDelta_frozen_abi__test_abi_digest_9chBcbXVJ4fK7uGgydQzam5aHipaAKFw6V4LDFpjbE4w      2020-07-03 15:59:58.430695244 +0900
@@ -140,7 +140,7 @@
                                                         field u8
                                                             primitive u8
                                                         field solana_sdk::instruction::InstructionError
-                                                            enum InstructionError (variants = 34)
+                                                            enum InstructionError (variants = 35)
                                                                 variant(0) GenericError (unit)
                                                                 variant(1) InvalidArgument (unit)
                                                                 variant(2) InvalidInstructionData (unit)
@@ -176,6 +176,7 @@
                                                                 variant(31) CallDepth (unit)
                                                                 variant(32) MissingAccount (unit)
                                                                 variant(33) ReentrancyNotAllowed (unit)
+                                                                variant(34) MaxSeedLengthExceeded (unit)
                                                     variant(9) CallChainTooDeep (unit)
                                                     variant(10) MissingSignatureForFee (unit)
                                                     variant(11) InvalidAccountIndex (unit)

* Fix some merge conflicts...
2020-07-06 20:22:23 +09:00
Ryo Onodera d8106ab552
Make test-checks.sh helpful and cargo-for-all-lock-files.sh useful (#10906) 2020-07-03 18:08:12 +09:00
Ryo Onodera 4dc9f378b8
Fix race in ci/run-sanity.sh (#10796) 2020-06-25 03:48:28 +00:00
sakridge 98621648cb
Add poh-bench (#10707) 2020-06-24 15:51:52 -07:00
Trent Nelson 3aab13a167
Make curl verbose when uploading assets to github (#10757)
Debugging silent asset upload failures during release
2020-06-24 00:27:55 +00:00
Tyera Eulberg cae22efd0e
Fix typo (#10724) 2020-06-20 00:07:20 +00:00
Michael Vines a25ea8e774 Only force up-to-date lock files on edge 2020-06-18 18:23:31 +00:00
Dan Albert 89e0584250
Do not run buildkite tests if gitbook config modified (#10692)
Co-authored-by: publish-docs.sh <maintainers@solana.com>
2020-06-18 16:25:47 +00:00
Ryo Onodera 540ac9eb6b
Trigger all CI jobs for Dockerfile changes (#10651)
* Trigger docs job for possible mdbook updates, too

* Update comment

* Intentionally trigger ci docs job?

* Broaden more

* Revert "Intentionally trigger ci docs job?"

This reverts commit 801cf2bfdf885cd11c1bf0bdde8f973bb75db854.
2020-06-17 16:20:52 +09:00
Ryo Onodera 40ccade5cc
Update to rust 1.44.0 (#10585)
* Update rust 1.44.0

* Update rust nightly 1.46.0

* Update docs

* Fix clippy errors

* Compile all source code with stable and nightly

* Add another note

* script tweaks

* Fix a test...

* Add another workaround

* Add hack

* Increase timeout...

* Revert "Add hack"

This reverts commit 5960f087203be8792ec0728a6755288c317a2788.

* Revert "Add another workaround"

This reverts commit e14300d01ffd1b8e86e676662177545549b45c13.

* Require nightly rustfmt and use older nightly a bit

* Improve document a bit

* Revert now not-existing clippy check...
2020-06-17 01:32:16 +09:00
Ryo Onodera b4f86cc67d
Group showing various rust toolchain versions (#10618)
* Group showing various rust toolchain versions

* Fix
2020-06-16 13:40:53 +09:00
Ryo Onodera f76bd9cd5a
Follow dependabot change (#10616) 2020-06-16 11:31:46 +09:00
Ryo Onodera 1343d0eff7
Use git diff instead of git show for --check (#10566) 2020-06-14 21:24:10 +09:00
Ryo Onodera f5912f3633
Clean up test-sanity.sh a bit (#10565) 2020-06-14 21:16:19 +09:00
Ryo Onodera f1131dfbbb
Check the whole range of commits in the topic branch (#10560)
* Check the whole range of commits in the topic branch

* Fix shellcheck

* Debug...

* Ensure to update to the latest of the base branch...
2020-06-14 18:15:46 +09:00
R. M. Shea 48febf153b
Change documentation introduction to indicate Foundation IP transfer (#10440) 2020-06-13 14:41:05 -07:00
Michael Vines 3bb908a78b Prevent .travis changes from affecting buildkite builds 2020-06-12 16:49:55 -07:00
Michael Vines b54532b4c1 Add explorer/ carve out 2020-06-12 16:02:58 -07:00
Michael Vines 206b8118a1
Buildkite pipeline overhaul 2 (#10529) 2020-06-11 17:34:13 -07:00
Michael Vines bca386c776 Put docs step in a container 2020-06-11 13:42:20 -07:00
Michael Vines d79759595a Remove unneeded doc check 2020-06-11 13:18:03 -07:00
Michael Vines e2d46375cd Rework buildkite pipeline construction to be more composable 2020-06-11 13:17:25 -07:00
Michael Vines 8b3dc2d44b Force CI_REPO_SLUG 2020-06-11 13:13:54 -07:00
Trent Nelson aaf6dd9ee0
Allow ci/publish_tarball.sh's output to be configured (#10480)
automerge
2020-06-09 15:40:41 -07:00
Ryo Onodera 9d07a23c46
Run clippy before check to avoid being skipped (#10464)
* Run clippy before check to avoid being skipped

* Tweak output

* Apply a workaround
2020-06-09 12:25:39 +09:00
Ryo Onodera 704d98ac28
Use cutting-edge (=nightly) clippy for all targets (#10463)
automerge
2020-06-08 18:58:47 -07:00
Trent Nelson 08ad7d1ed6
Reduce stable jobs (#10344) 2020-05-31 21:29:32 -07:00
Ryo Onodera 8db34474d3
Cover tests for clippy (#10310)
automerge
2020-05-29 02:00:56 -07:00
Michael Vines 075dc078da
Use correct --url (#10284)
automerge
2020-05-27 21:02:58 -07:00
Michael Vines 22a98bd27a
Wait for one slot to be produced (#10257)
automerge
2020-05-26 16:20:28 -07:00
Ryo Onodera 8d32441b96
Fix ledger-tool create-snapshot and add sanity test (#10212)
automerge
2020-05-24 08:27:36 -07:00
Michael Vines f33688361c
multinode-demo/faucet.sh is no longer required (#10129) 2020-05-19 20:07:30 -07:00
Michael Vines f27d001b7a
Remove obsolete testnet management scripts (#10130)
automerge
2020-05-19 18:26:27 -07:00
Tyera Eulberg fac854eb9d
Remove sdk-c (#10107) 2020-05-18 21:04:47 -06:00
Jack May eb1acaf927
Remove archiver and storage program (#9992)
automerge
2020-05-14 18:22:47 -07:00
Jack May 6eb50450ec
Reenable move (#9841)
automerge
2020-05-01 12:51:29 -07:00
Michael Vines 230df0ec0c
Upgrade to Rust 1.43.0 (#9754) 2020-04-29 18:02:05 -07:00
Trent Nelson 3d40ca86b0 Disable Move/Libra components 2020-04-28 21:02:47 -06:00
Michael Vines 87827b2330 Reorder steps by relative priority for when there aren't enough agents 2020-04-28 12:44:55 -07:00
Michael Vines f5aaf7ff28 Disable move more 2020-04-28 12:39:36 -07:00
Ryo Onodera 3d8fc8a4a8
Enable cargo audit for all Cargo.lock (#9751)
* Enable cargo audit for all Cargo.lock

* Update http from 0.1.19 to 0.1.21

* Update bumpalo from 3.2.0 to 3.2.1
2020-04-28 17:43:47 +09:00
Ryo Onodera ef7196cec2
Relax update preciseness (#9758)
automerge
2020-04-28 01:40:25 -07:00
Michael Vines a61904b2dc
Set HOME correctly (#9757)
automerge
2020-04-28 01:18:52 -07:00
Ryo Onodera 41eba7d1c7
Strictly match against package names (#9727)
automerge
2020-04-26 20:56:00 -07:00
Ryo Onodera 05acd4b29f
Cargo check all targets (#9718)
automerge
2020-04-25 05:14:37 -07:00
Michael Vines 9b71573965
Align ci/publish-docs and ci/test-checks doc builds (#9653)
* Align ci/publish-docs and ci/test-checks doc builds

* Fix links
2020-04-22 09:51:01 -07:00
Ryo Onodera 7bf1720a76
Handle no hit correctly... (#9648)
automerge
2020-04-22 01:23:33 -07:00
Ryo Onodera 5402434218
Explicitly specificy old version for cargo update (#9621) 2020-04-21 12:44:04 +09:00
Ryo Onodera c856d8bdbd
Backpropagate Cargo.lock updates to all lock files (#9180)
* Experiment to backpropagate Cargo.lock updates to all lock files

* Move most of dependabot-specific code to its own file

* Various cleanups

* Fine tune..

* Clean up shells and stop obscure API...
2020-04-21 10:07:29 +09:00
Dan Albert 3fbe7f0bb3
Fixup scripts to set up a new CI node (#9348)
* Clean up node setup scripts for new CI boxes

* Move files under ci directory

* Set CUDA env var to setup cuda drivers

* Fixup and add README

* shellcheck

* Apply review feedback, rename dir and setup files

Co-authored-by: publish-docs.sh <maintainers@solana.com>
2020-04-20 17:43:13 -06:00
Michael Vines 425b4fe6dd
Don't upload tarballs to buildkite to speed up build 2020-04-16 13:54:36 -07:00
Michael Vines 9cc7265b05 Always run shellcheck 2020-04-15 17:46:19 -07:00
sakridge 2b2b2cac1f
limit test jobs to 16 to prevent OOM (#9500) 2020-04-14 16:40:13 -07:00
Michael Vines ce027da236 Reorder CI jobs to allow for more concurrent PRs 2020-04-13 12:57:10 -07:00
Dan Albert 92a5a51632 Update buildkite-tests.yml 2020-04-13 10:58:29 -07:00
Dan Albert 8d1cd3ae5c
Set checks timeout back to 20 minutes 2020-04-02 13:10:26 -06:00
Dan Albert 19693a85cd
Do not trigger tests if only docs were modified (#9240) 2020-04-01 14:18:29 -06:00
sakridge 62e12e3af5
Remove unecessary exception and add a new one (#9200) 2020-03-31 15:58:30 -07:00
Greg Fitzgerald 87e5f8acbf
Add mdbook-linkcheck to docker (#9123)
automerge
2020-03-27 10:18:01 -07:00
Jack May 39a622f66e
Revert setting the default toolchain (#9093)
automerge
2020-03-26 14:21:22 -07:00
Jack May 30bed18b77
Install xargo using CI dictated cargo version if available (#9068) 2020-03-26 11:47:41 -07:00
Tyera Eulberg 959c1ea857
Cargo update bumpalo (#9067)
* Cargo update bumpalo

* Remove ignore warning
2020-03-25 18:11:08 -06:00
carllin 9dc69d9843
Store and compute node/stake state in EpochStakes struct (#8958)
* Store and compute needed bank state in EpochStakes struct
2020-03-25 12:19:15 -07:00
Ryo Onodera 5d3f43c10b
Ignore RUSTSEC-2020-0006 for the moment (#9057)
automerge
2020-03-24 20:10:20 -07:00
Michael Vines cb29b8dd2a
Travis CI builds windows-gnu instead of windows-msvc 2020-03-17 22:37:57 -07:00
Michael Vines 142601d4b6 solana-install-init: --pubkey is no longer required on platforms without a default update manifest 2020-03-17 21:46:39 -07:00
Dan Albert 24935af867
Extend local-cluster CI timeout (#8921)
automerge
2020-03-17 18:23:22 -07:00
sakridge 2435c3ce0c
Add accounts-bench, a benchmark to test the accounts store speed (#8866) 2020-03-17 11:02:07 -07:00
Michael Vines 29fb79382c Rework validator vote account defaults to half voting fees 2020-03-13 20:13:33 -07:00
Michael Vines b7b36bb0a4
Upgrade to Rust 1.42 (#8836)
* Upgrade to Rust 1.42

* deref

* parens

Co-authored-by: Trent Nelson <trent@solana.com>
2020-03-13 14:15:22 -06:00
Michael Vines fe65c2ae02
Add all of docs/src 2020-03-12 14:45:54 -07:00
Michael Vines 5a7d2560c9 Don't tell users to install unreleased software versions 2020-03-12 10:01:25 -07:00
Dan Albert 293fff90d3
Restrict which nodes can run stable and coverage
Band-aid fix until https://github.com/solana-labs/solana/issues/8798 is resolved
2020-03-11 14:46:17 -07:00
Trent Nelson 6527d05d77
Docs: Fix missing CLI `usage.md` (#8745)
automerge
2020-03-09 19:11:58 -07:00
Grimes f3cbd243cc
Fix docs build (#8663)
automerge
2020-03-05 09:33:46 -08:00
Michael Vines 7d27be2a73 Upgrade to Rust 1.41.1 2020-02-28 10:10:42 -07:00
Justin Starry 021d0a46f8
Move docs from book/ to docs/ (#8469)
automerge
2020-02-26 07:11:38 -08:00
Michael Vines fef913085e
🐌🐌 Publish crates for even longer longer 2020-02-25 09:23:04 -07:00
Michael Vines 3e96d59359
Use correct static IP address 2020-02-19 18:15:18 -07:00
Michael Vines 8ae26867c5
More testnet->devnet 2020-02-19 16:15:38 -07:00
Michael Vines e3cebcf82d rename testnet.solana.com to devnet.solana.com 2020-02-19 15:33:14 -07:00
Ryo Onodera bd257050e3
Retry to curl to codecov.io unfortunately (#8263)
automerge
2020-02-13 06:23:10 -08:00
Michael Vines 2d362ed337
Remove references to old unused testnets (#8258)
automerge
2020-02-12 22:23:35 -08:00
Michael Vines 137577fb86 Upgrade to rust 1.41.0 2020-02-11 12:56:02 -07:00
Tyera Eulberg b832a03315
Add libudev-dev to docker image to build remote-wallet (#8149)
automerge
2020-02-06 13:45:05 -08:00
Ryo Onodera 0d7e093415
Broaden pattern in nits.sh to be less fragile (#8090)
* Broaden pattern in nits.sh to be less fragile

* Even more general matching
2020-02-04 08:53:01 +09:00
Michael Vines d314e0395a
Disable windows update as windows build artifacts are turned off 2020-02-01 22:25:24 -07:00
Michael Vines a0964bb2c2
Make tds slots-per-epoch configurable 2020-01-30 21:37:16 -07:00
Michael Vines b5383b8b54
Dial testnet down to a single node 2020-01-30 21:30:08 -07:00
Michael Vines fdc452c536
Move testnet.solana.com and TdS to their own GCP projects 2020-01-24 16:26:54 -07:00
Michael Vines 9bd6be779f Reject CI on failed mergify.io backports (#7927)
automerge
2020-01-22 14:10:26 -08:00
Greg Fitzgerald 3aabeb2b81
Rename bootstrap leader (#7906)
* Rename bootstrap leader to bootstrap validator

It's a normal validator as soon as other validators enter the
leader schedule.

* cargo fmt

* Fix build

Thanks @CriesofCarrots!
2020-01-22 09:22:09 -07:00
Michael Vines dcdc46b97c
Assume 1 or more validators 2020-01-21 10:34:58 -07:00
Michael Vines da3ed0dfb3
Try running testnet.solana.com with only two validators 2020-01-21 10:34:53 -07:00
Michael Vines 356f246a74 Remove get-/show- prefix from cli commands 2020-01-21 08:43:07 -07:00
Rob Walker f5e797e3aa cleanup test checks cargo audit (#7849)
automerge
2020-01-16 15:08:36 -08:00
Rob Walker 787e36a28f
ignore prost is part of move (#7848) 2020-01-16 14:14:44 -08:00