Jack May
476fd40948
Add program-test tests to bpf programs ( #16407 )
2021-04-07 01:47:15 -07:00
Justin Starry
6cd4bc5e60
Speed up net.sh builds ( #16360 )
...
* Speed up net.sh builds
* feedback
* Update net/net.sh
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
* feedback
* fix
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-04-07 14:45:03 +08:00
sakridge
c70674a616
debug run-sanity.sh ( #16163 )
2021-03-30 15:51:14 -07:00
Michael Vines
527adbed34
Add channel version check
2021-03-30 08:46:32 -07:00
Dmitri Makarov
14e45155e4
Bump bpf-tools to v1.2 and get rid of xargo
2021-03-19 12:09:15 +01:00
Justin Starry
aef3215722
Remove unneeded bpf sdk publishing automation ( #15947 )
2021-03-19 18:11:53 +08:00
Michael Vines
ac8ccee6b8
Add --force and --monitor options to `exit` subcommand
2021-03-11 05:17:31 +00:00
Michael Vines
24ab84936e
Break up RPC API into three categories: minimal, full and admin
2021-03-04 16:39:44 -08:00
Trent Nelson
4f63afce32
ci: drop redundant programs/bpf audit
2021-03-01 21:24:57 -07:00
Trent Nelson
15e1314209
ci: disallow uncommitted Cargo.lock changes
2021-03-01 21:24:57 -07:00
Trent Nelson
3c1dd891af
ci: checks - factor out audit so it can run independently
2021-03-01 21:24:57 -07:00
Trent Nelson
21f66179ba
ci: run clippy before fmt
2021-03-01 21:24:57 -07:00
Trent Nelson
ccb604f8c3
Pass audit ignores to bpf program audit
2021-03-01 21:10:46 +00:00
Trent Nelson
85252777a6
Add RUSTSEC-2020-0146 to audit ignores
2021-03-01 21:10:46 +00:00
Michael Vines
5404e6aed0
Upgrade to Rust v1.50
2021-02-19 20:08:41 -08:00
Trent Nelson
7035e8485c
CI: Globally deny clippy::integer_arithmetic lint
2021-02-17 13:55:08 -07:00
Jack May
a52a241852
nit: cleanup feature status display ( #15113 )
...
* nit: cleanup feature status display
* nudge
2021-02-04 20:23:01 -08:00
Jack May
bba1b49663
Generate keypair file for c program deployment ( #15080 )
...
* Generate keypair file for c program deployment
* Build and use solana-keygen in test-stable-perf
2021-02-04 13:56:12 -08:00
Trent Nelson
894b412aef
docs: bump nofiles recommendations to match maps
2021-02-02 21:59:21 -07:00
Michael Vines
cbffab7850
Upgrade to Rust v1.49.0
2021-01-23 19:16:36 -08:00
Michael Vines
bf1943e489
Add solana-test-validator --warp-slot argument
2021-01-22 21:17:02 -08:00
Michael Vines
3eaa826ad9
Suppress cargo audit failure for `difference` crate, there's no newer crate to upgrade to yet
2021-01-08 20:20:34 +00:00
Trent Nelson
5617ab65d8
Revert "Ignore RUSTSEC-2020-0077 until next 1.4 release"
...
This reverts commit 1792100e2b
.
2020-12-17 01:54:22 +00:00
Michael Vines
6fa492b580
Revert "Temporarily disable coverage"
...
This reverts commit 17ecb8b61403cdc4b27223749880b434b3a6ce1e.
2020-12-14 22:17:33 +00:00
Michael Vines
9593ba9092
Temporarily disable coverage
2020-12-14 08:03:29 -08:00
Michael Vines
7143aaa89b
Clippy
2020-12-14 08:03:29 -08:00
Michael Vines
0d139d7ef3
Upgrade to Rust 1.48.0
2020-12-14 08:03:29 -08:00
Ryo Onodera
e7c85571c7
Follow new dependabot's commit author name ( #14091 )
2020-12-13 02:27:59 +09:00
Trent Nelson
1792100e2b
Ignore RUSTSEC-2020-0077 until next 1.4 release
2020-12-11 23:44:03 +00:00
sakridge
e4216c3ff8
Check for DO_NOT_PUBLISH_TAR before uploading to CI ( #13700 )
2020-11-20 08:27:34 -08:00
Trent Nelson
acc40b1c9e
audit: Ignore RUSTSEC-2020-0071, potential SEGV in `time`
2020-11-18 20:21:46 -07:00
Jack May
2eb637d52f
fix running local test-sanity ( #13482 )
2020-11-09 15:03:44 -08:00
Trent Nelson
7a4e293b3b
CI: Check monorepo for consistent crate versions
2020-11-06 01:32:01 +00:00
Trent Nelson
66c3c6c2b3
CI: Use branch-versioned cargo throughout
2020-11-05 05:05:57 +00:00
Michael Vines
39120b3343
Ignore stdweb
2020-10-31 18:56:20 +00:00
Trent Nelson
32c31f2689
CI: Don't remove user's config dir
2020-10-28 20:19:45 +00:00
Trent Nelson
c88ec9657b
Docs: Clarify where new buildkite agent SSH keys need added
2020-10-27 03:40:05 +00:00
Michael Vines
85c51f5787
Only activate legacy program feature for the solana-sdk crate
2020-10-24 08:37:55 -07:00
Michael Vines
63db324204
Initial population of solana-program-sdk
2020-10-24 08:37:55 -07:00
Michael Vines
b5170b993e
Shorten magic install URL
2020-10-23 22:24:06 +00:00
Michael Vines
c7f4f15e60
Add downstream project build testing
2020-10-23 14:14:51 -07:00
Michael Vines
965ea97b56
Move bpf sdk packaging from publish-tarball to cargo-install-all
2020-10-23 20:41:34 +00:00
Michael Vines
07a853d6cc
Add cargo-build-bpf
2020-10-21 18:56:40 -07:00
Michael Vines
f71677164f
Include sdk/bpf in the main release tarball
2020-10-20 16:13:36 -07:00
Michael Vines
62f20bc170
Remove unsupported metrics tarball from release artifacts
2020-10-20 13:10:33 -07:00
Michael Vines
c5e16383b0
Add everything feature
2020-10-19 17:21:52 -07:00
Trent Nelson
f9e0ea112d
CI: Warn when setting up a buildkite agent with no SSH authorized_keys
2020-10-14 17:07:20 -06:00
Trent Nelson
c38021502e
CI: Fix crate publication
2020-10-12 22:19:24 +00:00
Michael Vines
2301dcf973
Rework cargo audit ignores
2020-10-11 18:51:09 +00:00
Trent Nelson
fce3c70b72
Modernize python scripts
2020-09-30 11:25:26 -06:00
Trent Nelson
c9d12ad410
Revert "Ignore cargo audit RUSTSEC-2020-0008"
...
This reverts commit cd5c7f30d5
.
With bump of `jsonrpc-*` to 15.0.0, we no longer depend on `ws`
2020-09-25 19:30:47 +00:00
Jack May
cd5c7f30d5
Ignore cargo audit RUSTSEC-2020-0008
2020-09-25 09:53:13 -07:00
Tyera Eulberg
860ecdd376
Fix typos ( #12446 )
2020-09-24 07:53:30 +00:00
Tyera Eulberg
58542cf7f6
Add Pack and COption to sdk ( #12294 )
...
* Add COption to sdk
* Add Pack to sdk
* Except program_option from nits check
* No Default::default
2020-09-17 21:10:02 -06:00
Trent Nelson
05de260216
CI: Don't overwrite pre-existing $CHANNEL
2020-09-11 22:11:55 +00:00
Michael Vines
da1b480bd3
Update CI to Rust 1.46.0
2020-09-02 15:24:38 -07:00
Jack May
0ed360b5e5
fix program test stubs ( #11956 )
...
* fix program tset stubs
* nudge
2020-08-31 21:48:16 -07:00
Michael Vines
49b7497491
Avoid `scripts/cargo-for-all-lock-files.sh check` on release branches
2020-08-31 00:40:54 -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
11951eb009
Sync FD limit and max maps to 500k
2020-08-19 16:36:03 +00:00
Michael Vines
d15173ad9d
Address latest nightly clippy lints, but globally disable stable_sort_primitive
2020-08-17 22:36:10 -07:00
Michael Vines
a86397a650
Bump rust nightly to 2020-08-17
2020-08-17 22:36:10 -07:00
Michael Vines
57dfebc5ba
Increase timeout
2020-08-05 14:27:12 -07:00
Michael Vines
01262cda3f
Bump stable rust to 1.45.1
2020-08-03 18:35:15 +00:00
Michael Vines
01ff6846f7
Windows binaries are now built with the MSVC instead of the GNU toolchain.
...
Update `solana-install-init` target info to match
2020-07-25 10:02:52 -07:00
Greg Fitzgerald
8b1b392be9
Remove move_loader and librapay ( #11184 )
...
* Remove move_loader and librapay
* Remove Embedding Move from implemented proposals
* Remove Move variant from CI
* Remove move_loader ID
2020-07-23 15:08:59 -06:00
Michael Vines
83cc92f3f7
Upgade to Rust 1.45.0
2020-07-19 20:11:02 -07:00
Dan Albert
356b552439
Remove docs step from buildkite flow ( #11035 )
...
Co-authored-by: publish-docs.sh <maintainers@solana.com>
2020-07-14 02:44:16 +00:00
Michael Vines
3eea8f2fe6
Bump rust nightly to 2020-07-12
2020-07-13 23:59:33 +00:00
Dan Albert
ffeac298a2
Move from gitbook to docusaurus, build docs in Travis CI ( #10970 )
...
* fix: ignore unknown fields in more RPC responses
* Remove mdbook infrastructure
* Delete gitattributes and other theme related items
Move all docs to /docs folder to support Docusaurus
* all docs need to be moved to /docs
* can be changed in the future
Add Docusaurus infrastructure
* initialize docusaurus repo
Remove trailing whitespace, add support for eslint
Change Docusaurus configuration to support `src`
* No need to rename the folder! Change a setting and we're all good to
go.
* Fixing rebase items
* Remove unneccessary markdown file, fix type
* Some fonts are hard to read. Others, not so much. Rubik, you've been
sidelined. Roboto, into the limelight!
* As much as we all love tutorials, I think we all can navigate around a
markdown file. Say goodbye, `mdx.md`.
* Setup deployment infrastructure
* Move docs job from buildkite to travic
* Fix travis config
* Add vercel token to travis config
* Only deploy docs after merge
* Docker rust env
* Revert "Docker rust env"
This reverts commit f84bc208e807aab1c0d97c7588bbfada1fedfa7c.
* Build CLI usage from docker
* Pacify shellcheck
* Run job on PR and new commits for publication
* Update README
* Fix svg image building
* shellcheck
Co-authored-by: Michael Vines <mvines@gmail.com>
Co-authored-by: Ryan Shea <rmshea@users.noreply.github.com>
Co-authored-by: publish-docs.sh <maintainers@solana.com>
2020-07-11 05:11:07 +00:00
Ryo Onodera
4046f87134
Fix compilation failure on windows ( #10983 )
...
* Fix compilation failure on windows
* Test travis window build
* more tweak trigger travis build...
* Make more debug-friendly
* Fix shellcheck
* Revert .travis.yaml after testing on travis
2020-07-11 04:35:46 +00:00
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