Commit Graph

180 Commits

Author SHA1 Message Date
Yihau Chen 1ce91a56a5
ci: fixed sccache version for sccache-action (#33904) 2023-10-27 16:51:34 +00:00
Will Hickey e5dfc9cb27
Add check for CHANGELOG.md change when changelog label applied to PR (#33675)
* Add check for CHANGELOG.md change when changelog label applied to PR

* Update changelog
2023-10-20 11:01:52 -05:00
Yihau Chen bdc4cbba47
ci: fix Windows build (#33467)
ci: fix windows build
2023-09-30 01:46:54 +08:00
Jon Cinque f502dbc54e
ci: Re-enable spl-stake-pool downstream job (#33425) 2023-09-27 17:37:28 +02:00
Yihau Chen 4d96c384a1
ci: install openssl for the Windows build (#33356) 2023-09-22 10:52:28 +08:00
Tyera bca41edf20
Make active stake consistent in split (#33295)
* Add feature gate

* Add helper fn

* Require split destination to be rent-exempt if it is active

* Update cli to prefund split accounts

* cli: require rent param with sign-only

* Update tokens to prefund split accounts

* Update split tests with sysvar accounts

* Fix test_split_to_account_with_rent_exempt_reserve

* Fix test_staked_split_destination_minimum_balance

* Fix test_split_more_than_staked

* Fix test_split_minimum_stake_delegation and remove misleading StakeState::Initialized case

* Fix test_split_from_larger_sized_account

* Add test for pre-/post-activation behavior splitting some or all of stake account

* Assert active stake

* Fix runtime test

* Ignore stake-pool downstream

* Review comments

* Feature gate sysvar reads
2023-09-20 06:00:51 +00:00
Yihau Chen 0c896c6076
ci: trigger client_targets pipeline when the cargo file changes (#33163) 2023-09-07 00:19:00 +08:00
Yihau Chen 114b5b95dd
ci: add a common script for installing dependencies (#33101)
ci: add a common place for install deps
2023-09-01 06:43:00 +00:00
Jon Cinque ba981e8e05
CI: Add back some downstream SPL jobs (#32986)
* Revert "CI - Disables Downstream Project actions (#32983)"

This reverts commit 68456fad86.

* CI: Disable "check" and "test" jobs
2023-08-25 12:35:08 +02:00
Alexander Meißner 68456fad86
CI - Disables Downstream Project actions (#32983)
Disables Downstream Project CI actions.
2023-08-24 23:50:10 +02:00
Trent Nelson d91b22c421
bump etcd-client to 0.11.1 (#32947) 2023-08-24 13:09:49 -06:00
Yihau Chen bc5ad1d2ab
ci: re-enable SPL downstream project test on Github Action (#32677)
* ci: init spl downstream project on Github Action

* ci: fix spl downstream project doesn't use cargo-test-sbf

* ci: move nightly build to another individual file

* ci: get more space for runners on Github Action

* ci: trun off fali-fast

* Update .github/workflows/downstream-project-spl.yml

Co-authored-by: Jon Cinque <me@jonc.dev>

* ci: separate all spl programs

* use reusable workflow

* add error reporting for nightly build

* update test method

* add build and test

* only build required program

* remove other branches

* Update .github/workflows/downstream-project-spl.yml

Co-authored-by: Jon Cinque <me@jonc.dev>

* Update .github/workflows/downstream-project-spl.yml

Co-authored-by: Jon Cinque <me@jonc.dev>

* add check

* update build and test

* add lacking programs

* remove unnecessary programs

---------

Co-authored-by: Jon Cinque <me@jonc.dev>
2023-08-16 11:12:15 +00:00
Ryo Onodera 39770b2de1
Patch ntapi to restore windows build (#31961)
* Patch ntapi to restore windows build

* Update Cargo.lock...

* Add comment for justification of this patching

https://github.com/MSxDOS/ntapi/issues/11
https://github.com/MSxDOS/ntapi/pull/12

* Revert "ci: stop windows building on master temporarily (#31353)"

This reverts commit 2dcdfff5f4.

* Use solana-labs fork

* Ugh..
2023-06-05 16:51:43 +09:00
Yihau Chen 2dcdfff5f4
ci: stop windows building on master temporarily (#31353) 2023-04-26 01:29:28 +00:00
Yihau Chen fdecd0dcaa
ci: use preinstalled openssl (#31107)
ci: use built-in openssl
2023-04-13 06:24:53 +00:00
Yihau Chen 17369dc8f0
ci: extract vercel scope as an env (#30441) 2023-02-23 11:58:08 +08:00
Illia Bobyr 6fb4716e48
ci: Do not produce build artifacts when run in a fork (#30294)
If someone forks the `solana` repo, they should not have access to Slack
or AWS storage locations that hold build artifacts.  Meaning, actions
that interact with that infrastructure will always fail.  It makes sense
to disable these actions in forks.
2023-02-14 00:31:44 -08: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
Yihau Chen a31c892a9d
ci: cancel previous Windows build when start a new one (#30086) 2023-02-03 11:54:29 +08:00
Steven Luscher 1cab61d3b7
Move experimental web3.js folder out of monorepo (#30072) 2023-02-01 17:50:04 -08:00
Steven Luscher a2cf25153f
Fuck this whole web3.js thing (#30062) 2023-02-01 14:34:23 -08:00
Yihau Chen e7838768ec
ci: fix commit range in push event (#29755)
* fix commit range

* use github.event.before instead of HEAD~1
2023-01-19 12:28:00 +08:00
Steven Luscher 0665569d26
Crank Stalebot's operations limit up to a level that should handle all issues
This thing seems to have been humming along at 300 in the dead zone between NA night and Europe morning. Let's see if it can handle the entire corpus.
2022-12-28 19:46:41 -08:00
Steven Luscher ec5e5dbffa
Double the Stalebot operations limit 2022-12-27 07:49:53 -08:00
Steven Luscher 7429df5176
Increase the Stalebot operations limit by another 50%. 2022-12-26 16:03:46 -08:00
Steven Luscher b619b0d33f
Increase Stalebot's operation consumption limit by another 50% 2022-12-23 21:53:19 -08:00
Steven Luscher 65ff61cfc8
Increase Stalebot operations limit by another 50% 2022-12-20 09:12:53 -08:00
Steven Luscher 9a82368dc9
Increase stalebot operations limit by 50%
We have to increase this until either it can handle 1000 issues in a single run, or we hit the GitHub API operations limit.
2022-12-19 23:03:40 -08:00
Steven Luscher 92c90271ab
Remove `start-date` config from Stalebot
This doesn't actually do what I thought it did. The `start-date` config doesn't make stalebot start from a certain date forward, it makes tasks older than that date immune to being closed.

This means I'm going to just have to find a way to raise the GitHub API operations limit to be able to handle more tasks, or wait until enough have been closed that it fits within our current limit.
2022-12-19 23:02:32 -08:00
Steven Luscher 8380bf027d
chore: correct the name of the STALEBOT_START_DATE_RFC_2822 variable (#29191)
Oops. Changed this in the repository, but failed to update it in code.

Note to self: land this _after_ 8:00UTC Dec 10
2022-12-17 09:38:42 -08: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
Yihau Chen f339854504
chore: fix wrong name for GITHUB_SHA (#29162) 2022-12-09 14:28:09 +08:00
Steven Luscher 6b2275574f
chore: correct days before an issue in GitHub is considered stale by stalebot (#29157)
I got this wrong in #29134. The original config set this at 365 days, not 7.
2022-12-08 14:39:13 -08:00
Steven Luscher 8a0a578465
chore: a stalebot to close inactive issues and PRs (#29134) 2022-12-08 14:17:21 -08:00
Yihau Chen be8396040b
ci: make docs job name more explicit (#29072)
make docs job name more clear
2022-12-06 11:29:05 +08:00
Steven Luscher 8c6ad8c001
A GitHub workflow to automagically label PRs with Explorer or web3.js changes (#28986) 2022-11-29 18:14:53 -08:00
Yihau Chen a665d679cc
Merge pull request from GHSA-cq9g-c286-6ch7
* create a reusable workflow for current error reporting logic

* make github.event.head_commit.message as a env, COMMIT_MESSAGE

* make github.event.head_commit.author.name as a env, COMMIT_AUTHOR_NAME

* remove redundant name

* replace error reporting step with the reusalble workflow
2022-11-30 00:58:42 +08:00
yihau 34835f4906 rebuild web3-experimental pipeline when yaml file chagned 2022-11-22 08:25:29 -08:00
yihau 9adaab06ce bump pnpm/action-setup to v2.2.4 2022-11-22 08:25:29 -08:00
Yihau Chen ff2dd1e261
ci: use our cargo setup instead of actions-rs/toolchain (#28923) 2022-11-22 16:24:49 +00:00
steveluscher dbf68f7e93 [web3.js][experimental] Repair unpack path in bundle analyzer workflow 2022-11-22 06:41:47 +00:00
steveluscher 79bb14a28c [web3.js][experimental] Use different artifact downloader for bundle analysis step 2022-11-22 06:36:15 +00:00
steveluscher 0daa2c3aa9 Watch bundle sizes with Bundlewatch 2022-11-21 22:18:06 -08:00
Steven Luscher 2aca4160ca
[web3.js][experimental] A GitHub Actions workflow that builds the new code with Turborepo (#28916)
* Enable remote cache for Turborepo

* Rename `build` to `compile` and `package` to `build`

* Add a workflow that builds on PRs and pushes with Turborepo

* Explain how to connect to Turborepo remote caching

* Upgrade to pnpm 7
2022-11-21 21:47:32 -08:00
Yihau Chen 4c2733485a
ci: rewrite Github Actions slack error reporting (#28904) 2022-11-21 11:22:00 +00:00
Yihau Chen cbf224ad5c
ci: refactor docs pipeline (#28852)
* use git diff + grep to get affected files

* combine check and combine steps

* separate jobs

* fix condition
2022-11-18 03:31:07 +00:00
Yihau Chen 43e5c188c2
ci: build ios and android in our stable and nightly (#28761)
* ci: build ios and android in our stable and nightly

* lint

* only build with stable version

* run client-targets build when push master
2022-11-09 13:25:55 +08:00
Yihau Chen e6d552d380
chore: bump cargo-ndk to v2.12.2 (#28759) 2022-11-07 16:37:48 +08:00
Yihau Chen db1875b153
chore: bump actions/setup-python to v4 (#28719) 2022-11-02 07:26:36 +00:00
Yihau Chen 19598cde8a
chore: bump actions/setup-node to v3 (#28717)
chore: bump actions/setup-node@v3
2022-11-02 13:47:58 +08:00