Commit Graph

1327 Commits

Author SHA1 Message Date
Ryo Onodera 2646fb72ed
Remove workaround for already-fixed clippy bug (#30952) 2023-03-29 13:45:27 +09:00
Illia Bobyr 3bc670a47b
Revert Rust 1.68.0 upgrade (#30897)
Specifically the nightly upgrade is breaking the
`geyser_plugin_manager`.  We will probably need more investigation
before we can move forward with it.
2023-03-25 02:41:12 +00:00
Brooks 244430d643
Upgrades Rust to 1.68.0 (#30664) 2023-03-24 18:06:38 -04: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 f8abc8df8d
ci: fix do-audit don't report error (#30728)
* ci: fix do-audit don't retport error

* Update ci/do-audit.sh

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>

* use the latest suggestion

* lint

* redirect stderr to stdout

* another solution

---------

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2023-03-16 11:58:08 +08:00
behzad nouri 3cc74a6087
updates tempfile to 3.4.0 (#30727)
Patching below rustsec advisory:

    Crate:     remove_dir_all
    Version:   0.5.3
    Title:     Race Condition Enabling Link Following and Time-of-check Time-of-use (TOCTOU)
    Date:      2023-02-24
    ID:        RUSTSEC-2023-0018
    URL:       https://rustsec.org/advisories/RUSTSEC-2023-0018
    Solution:  Upgrade to >=0.8.0
2023-03-15 18:25:35 -06:00
Ryo Onodera 7f58345dad
ci: test-checks.sh all sbf code & use nightly only (#30602) 2023-03-13 14:28:34 +09:00
samkim-crypto 4a94eeee5e
Upgrade to token-2022 0.6.0 (#30353)
* upgrade spl-token-2022 to 0.6.0

* Add spl_token_2022-0.6.0.so to program-test

* cargo lock

* update account decoder tests to use Pubkey::new_from_array instead of Pubkey::new

* update rpc tests to use Pubkey::new_from_array instead of Pubkey::new

* update token-2022 .so file

* cargo lock

* increase the threshold for allowable rebuilds in ci

* update spl ATA to v1.1.3

* decrement back the threshold for allowable rebuilds

* cargo lock

* increment ci rebuild threshold
2023-03-10 10:32:19 +09:00
Yihau Chen 755a9a6600
ci: add SCCACHE_S3_KEY_PREFIX (#30652) 2023-03-09 19:29:27 +08:00
Ryo Onodera d8a6953eb2
Disable cache if retried 3 times (#30638)
* Disable cache if retired 3 times

* Add more comments

* Reduce if nesting to avoid maintenance pitfall by DISABLE_CACHE

* Well /home was required...

* Adjust to align with third time's the charm

* Adjust if arrangement a bit with tweaks
2023-03-08 22:54:19 +09:00
Yihau Chen 21f1b652a7
ci: reorg downstream projects (#30463)
reorg downstream projects
2023-02-24 15:55:24 +08:00
Yihau Chen df3ef111f7
chore: workspace inheritance (#29893)
* introduce workspace.package

* introduce workspace.dependencies

* read version from root cargo.toml

* pass check when version = { workspace = true }

* don't bump version when version = { workspace = true }

* including workspace Cargo.toml when bump version

* programs/sbf use workspace inheritance

* fix increasing cargo version ignore program/sbf/Cargo.toml
2023-02-23 22:01:54 +08:00
Andrew Fitzgerald 045b9fec11
Add --allow-private-addr to bootstrap-validator.sh (#30163)
* Add --allow-private-addr to bootstrap-validator.sh

* Remove --allow-private-addr argument option since it is default

* fix bench-tps docs, remove option for private-addr (default)
2023-02-22 09:54:15 -08:00
Yihau Chen d984fbb735
ci: use wasm-pack latest version (#30399) 2023-02-22 13:31:46 +08:00
Brooks f91e63dfe9
Upgrades Rust to 1.67.1 (#29947) 2023-02-17 14:08:27 -05:00
Yihau Chen 92b366cdd3
ci: don't print 'Checking PACKAGE_NAME...' when do cargo sorting check (#30361) 2023-02-17 05:21:11 +00:00
Yihau Chen 0d96d1db33
ci: group check steps into an individual queue (#30309)
* ci: group check steps into an individual queue

* lint: add quote
2023-02-15 13:03:17 +08:00
Trent Nelson 85af23613e
ci: suppress dep trees by default in `ci/do-audit.sh` (#30255)
get them back by passing `--display-dependency-trees`
2023-02-10 21:47:48 -07:00
Steven Luscher 3c01f4dd76
chore: remove Explorer build scripts from the Monorepo (#30262)
* chore: remove Explorer build scripts from the Monorepo

* chore: remove labeler action
2023-02-10 17:25:32 -06:00
Trent Nelson bf7b88b486
ci: make merge conflict marker sanity check more robust (#29995) 2023-02-01 21:15:12 -07:00
Steven Luscher a2cf25153f
Fuck this whole web3.js thing (#30062) 2023-02-01 14:34:23 -08:00
Brennan b29a50a55e
Exclude loopback from valid IP addresses (#29992)
Excludes loopback IP addresses from being valid IP addresses unless private addresses are explicitly allowed
2023-02-01 11:16:15 -08:00
joeaba a12bf8c003
Update maintainers references (#29997)
* update maintainers references

* chore: update maintainers reference
2023-01-31 08:07:13 -05:00
Yihau Chen 9193b4221d
Revert "chore: workspace inheritance (#29509)" (#29892)
This reverts commit a67d239dde.
2023-01-25 15:50:41 +08:00
Yihau Chen a67d239dde
chore: workspace inheritance (#29509)
* introduce workspace.package

* introduce workspace.dependencies

* read version from root cargo.toml

* pass check when version = { workspace = true }

* don't bump version when version = { workspace = true }

* including workspace Cargo.toml when bump version

* programs/sbf use workspace inheritance

* fix increasing cargo version ignore program/sbf/Cargo.toml
2023-01-25 13:59:59 +08:00
Yihau Chen aef1a4301c
use gh cli to get affected files (#29823)
use gh client to get affected files
2023-01-24 18:47:58 +08:00
Brooks 631dd573da
Upgrades to Rust 1.66.1 (#29827) 2023-01-24 15:11:10 +08:00
kirill lykov 8daed75df9
Add toolchain file usage (#29370)
* use cargo in cargo-for-all-lock-files.sh

* replace ./cargo with cargo in ci shell scripts

* remove ./cargo from test-stable.sh
2023-01-17 20:55:41 +01:00
Tyera 1c135552de
Remove protoc from docker image (#29626) 2023-01-10 22:28:31 -07:00
Dmitri Makarov cc4e134079
Add an option to install a specific version of sbf-tools (#29544) 2023-01-10 06:14:24 -08:00
Will Hickey 3aa0a005f9
Add exception for RUSTSEC-2023-0001 to unblock CI. (#29585)
* Add exception for RUSTSEC-2023-0001 to unblock CI. This Tokio issue only affects windows.
2023-01-09 12:23:18 -06:00
Yihau Chen b030a96321
chore: increase stable-perf timeout_in_minutes to 35 (#29551) 2023-01-06 17:27:25 +08:00
Will Hickey 0581fc2def
Update CI pipeline to only run `checks` step on version bump PRs (#29243)
* Add logic to buildkite pipeline so version bump PRs don't run the full CI
2023-01-05 12:45:29 -06:00
Dmitri Makarov f05eb4a022
Temporary increase the build redundancy threshold (#29412) 2022-12-24 08:05:54 -08:00
Yihau Chen d32c34822b
ci: trigger stable-sbf pipeline when cargo-[test|build]-[bpf|sbf] is modified (#29391) 2022-12-23 20:59:37 +08:00
Yihau Chen 0f99f70519
ci: trigger downstream pipeline when cargo-[test|build]-[bpf|sbf] is modified (#29390) 2022-12-23 20:56:30 +08:00
kirill lykov cdb204114e
take rust version from toolchain file (#29320)
* take rust version from toolchain file

* add quotes to pacify shellcheck
2022-12-19 17:00:14 +01:00
Yihau Chen 254d3f20b2
ci: check crates (#29009)
* init

* print all errors in the end

* print success msg

* use skip patterns instead of specific file

* v2

* checkout full history

* install toml cli in Github Actions step

* git diff only list added and modified

* prevent empty owner list

* lint: ident with space 2

* update 404 hint

* lint

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>

* wording

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>

* indent with space

* add some friendly error message

* wording

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>

* Update .github/workflows/crate-check.yml

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>

* fix indent

Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2022-12-12 11:51:37 +08:00
ananas-block afc3fee937
added alt_bn syscalls (#27961)
* added alt_bn128_syscalls

* increased regression build redundancy to > 10
2022-11-21 17:43:06 +01:00
Brooks Prumo 4d6653598b
Upgrades to Rust 1.65.0 (#28741) 2022-11-09 17:15:03 -05:00
Jon Cinque feb5ab4ba0
ci: Remove unneeded ignores in audit (#28594) 2022-10-26 10:39:17 -04:00
Trent Nelson c68fb5f68d ci: remove stale clippy allows 2022-10-20 11:25:48 -07:00
Trent Nelson 5361b4bc84 ci: run all jobs when the pipeline generator script changes 2022-10-17 22:21:57 -07:00
Trent Nelson c7d69d8a9b
Revert "DONOTMERGE: kick the ci job..."
This reverts commit 92e8ecb591.
2022-10-17 23:15:21 -06:00
Trent Nelson 92e8ecb591 DONOTMERGE: kick the ci job... 2022-10-17 21:56:54 -07:00
Trent Nelson 18e07852df ci: move `stable-sbf` job to `solana` queue 2022-10-17 21:56:54 -07:00
Dmitri Makarov d6813b98d2 chore: move programs/bpf to programs/sbf 2022-10-13 11:40:40 -04:00
Dmitri Makarov f4dd24491f Migrate SDK from BPF to SBF 2022-10-07 08:57:06 -04:00
Will Hickey 1359f2cea7
Add remediation to CI error message for uncommited Cargo.lock changes (#28147)
* Add remediation to CI error message for uncommited Cargo.lock changes
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2022-10-04 11:18:20 -05:00