Christian Kamm
27ecc14000
Merge tag 'program-v0.22.0' into deploy
2024-03-04 11:32:42 +01:00
Serge Farny
a06801db5c
service-mango-health: monitors/historizes accounts health ( #890 )
...
* service-mango-health: add a new service that compute health for all mango accounts and persist an history in postgres sql
(cherry picked from commit 6aa8a883f4
)
2024-03-01 11:24:56 +01:00
silas
3588017fdb
CI updates ( #784 )
...
* ci: remove trivy reporting
* ci: add codeql and remove trivy reporting
* ci: add checkout to read config
2023-11-23 09:00:08 +01:00
Christian Kamm
ee9ce8746d
ci: verifiable build job needs anchor >v0.28.0
...
due to workspace inheritance fixes
2023-10-06 13:46:58 +02:00
Christian Kamm
256edd230e
ci: update verifiable build job
2023-10-06 12:06:53 +02:00
Steve
6020c2aa0c
fix build-sbf by using "+solana" toolchain ( #743 )
2023-10-06 12:01:17 +02:00
Steve
f625284593
Update to solana 1.16.14 and anchor 0.28.0 ( #718 )
...
- Change fixed to be a git dependency (no more submodules!)
- Upgrade fixed to a version compatible with borsh 0.10
- Upgrade openbook-v2 dependency (for anchor compat)
- Move services from mango-feeds repo into bin/
- Update mango-feeds-connector
Co-authored-by: Christian Kamm <mail@ckamm.de>
Co-authored-by: Riordan Panayides <riordan@panayid.es>
2023-10-05 10:56:45 +02:00
Lou-Kamades
939cc45bf9
ci: add yarn duplicates check
2023-08-18 10:53:52 -05:00
Christian Kamm
163f42e998
CI: Fix verifiable build workflow
2023-05-16 13:31:30 +02:00
Christian Kamm
450f446032
Make clippy happy ( #580 )
2023-05-09 21:08:55 +02:00
microwavedcola1
5792731ead
rename
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-05-04 16:13:04 +02:00
microwavedcola1
7a2f957d1b
Mc/ci cd ( #570 )
...
* prettier
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* Fix branch
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
---------
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-05-04 14:16:05 +02:00
riordanp
757a3ee0cc
Use ghcr.io container registry ( #549 )
...
* Use ghcr.io container registry
* Update base image urls
2023-04-17 16:57:51 +01:00
riordanp
fd4c69b1c2
Add fly deploy scripts ( #490 )
2023-03-20 14:59:43 +01:00
riordanp
fc1341f731
Rename settle-bot to settler, fix build ( #492 )
...
* Fix settler build, rename due to heroku not liking '-'
* Temporarily remove ref tag
* Remove temporary branch trigger
2023-03-14 19:10:24 +01:00
riordanp
29f41c275a
Fix docs build job ( #501 )
2023-03-14 15:07:52 +00:00
Christian Kamm
9a8cb3c7a9
Add idl-compare script to check for binary incompatibilities ( #498 )
2023-03-09 08:32:59 +01:00
Christian Kamm
305e646262
CI pipeline for verifiable builds ( #496 )
2023-03-07 17:28:26 +01:00
microwavedcola1
70b65c5880
Fix more paths
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-02-21 12:10:21 +01:00
microwavedcola1
0eeda22441
Fix path for docker images
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-02-21 12:05:07 +01:00
Christian Kamm
7b9e19cc08
Organize paths, rename crates ( #466 )
...
liquidator, keeper, cli and settle-bot moved to bin/
client moved to lib/client
All crates have a "mango-v4-" prefix
2023-02-20 14:08:38 +01:00
Christian Kamm
7a51ce0619
Add a "settle-bot" binary ( #465 )
...
The bot will call settle on all accounts with unsettled pnl where it can
receive either the flat or low-health fee.
2023-02-20 12:09:17 +01:00
Christian Kamm
8916c28b99
License: Mark instructions GPLv3 and everything else MIT ( #454 )
...
To do that, split up the Accounts objects and the instruction
implementations.
GPL code is only used when the "enable-gpl" feature is enabled. That
means compiling the program or running tests need explicit feature
activation now.
2023-02-15 08:42:07 +01:00
riordanp
6139c716ba
Add doc generation job ( #450 )
...
* Add doc generation job
* Debug cargo doc
* Checkout submodules
* Remove unused build artifacts
* Remove debug commands
* Build on pushes to dev and main
2023-02-13 08:29:50 +01:00
Christian Kamm
e65eb79860
CI: Fix soteria action ( #443 )
2023-02-09 11:28:53 +01:00
silas
5e637c3b79
change 'ci' to 'devops' label ( #444 )
2023-02-09 10:14:09 +01:00
riordanp
e4bcb218a2
Add branch labels to docker images ( #441 )
2023-02-07 15:48:44 +01:00
silas
3f0ed5978c
ci: add PR labels and combine workflows ( #407 )
...
* Automatically labels PRs based on change paths to make it easier to see what is in scope of a PR at a glance
* Merges dependency security scanning into single CI workflows for Rust/TS changes
2023-01-20 13:57:09 +00:00
silas
0da1d5d1ba
Output to security tab ( #376 )
2023-01-13 16:03:26 +00:00
Christian Kamm
4f0b4da26d
clippy: fix spelling of lint derive_partial_eq_without_eq lint ( #377 )
2023-01-12 21:40:16 +01:00
microwavedcola1
b4b7085e67
fix clippy ( #373 )
...
* fix clippy
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* Fixes from review
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* add clippy whitelist trait
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-01-12 14:26:55 +01:00
silas
143d90ff23
rs CI improvements ( #356 )
...
* remove actionrs and add cache
* add rust version check for log
* add back rc version and allow args
* update to vanity address
* resolve merge conflict
Co-authored-by: Christian Kamm <mail@ckamm.de>
2023-01-10 13:35:16 +00:00
Christian Kamm
6cef8caa34
rust client: Make AccountFetcher futures Send ( #357 )
...
This required redoing the cached account fetcher logic to properly deal
with locking and repeated calls while a fetch is ongoing.
2023-01-04 16:15:46 +01:00
Christian Kamm
0ed7175341
Upgrade to solana ~1.14.9
...
- Update anchor submodule
- Fork and submodule switchboard-v2 package to update dep
2022-12-13 17:00:57 +01:00
Riordan Panayides
2b8e976956
Allow manual docker builds
2022-11-05 13:10:34 +00:00
Riordan Panayides
fcfb1e8823
Force build
2022-11-05 13:08:03 +00:00
Riordan Panayides
813fc0996a
Run docker build on program changes
2022-11-05 13:05:30 +00:00
Riordan Panayides
a0cb6be83f
Run action on updates
2022-11-04 17:32:06 +00:00
Riordan Panayides
2b694e553f
Merge branch 'dev' of github.com:blockworks-foundation/mango-v4 into dev
2022-11-04 17:21:44 +00:00
Riordan Panayides
014953f30a
Restrict docker build paths, run build on main
2022-11-04 17:21:38 +00:00
riordanp
df1c2782f1
Use cargo-chef for dependency caching in docker build ( #278 )
...
* Try cargo chef for caching build deps in docker
* Run docker build on pan/cargo-chef
* Replace before cheffing
* Fix serum_dex conflict
* Only build what's needed and only once
* Fix typo
* Force liquidator rebuild
* Upgrade vulnerable package lz4-sys
* Revert "Force liquidator rebuild"
This reverts commit c169779542
.
* Revert "Temporarily run docker build on branch"
This reverts commit 63ee27eb1e
.
2022-11-04 14:30:31 +00:00
silas
7ae8d47e82
update versions
2022-10-18 19:44:14 +01:00
silas
384370ed21
add deps scanning for yarn
2022-10-18 19:40:43 +01:00
silas
9f108ab784
add deps scanning for cargo
2022-10-18 19:36:59 +01:00
silas
a5e5851dc1
update file name to harmonise
2022-10-18 19:35:15 +01:00
silas
0ee6157dd0
update action versions, paths and naming
2022-10-18 19:34:28 +01:00
silas
c46c219448
add typescript review jobs
2022-10-18 19:29:25 +01:00
silas
423ac1f8a9
remove and replace with trivy
2022-10-18 19:27:52 +01:00
riordanp
4919364d67
Fix keeper dockerfile path
2022-08-31 12:52:30 +01:00
riordanp
3cca63c735
Docker CI Improvements ( #195 )
...
* Push separate images for binaries to GCR
* Add base image version arg to heroku deployment
* Test docker build
* Try setting mode
* Fix tags
* switch back to dev
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
Co-authored-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-31 11:37:58 +02:00