Commit Graph

37 Commits

Author SHA1 Message Date
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
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 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
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
riordanp e4bcb218a2
Add branch labels to docker images (#441) 2023-02-07 15:48:44 +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
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
Riordan Panayides f94c7c3bed Update trigger branch 2022-08-09 12:14:48 +01:00
Riordan Panayides 442b6a6ff0 Fix yaml 2022-08-08 20:14:07 +01:00
Riordan Panayides 2353e94d12 Add heroku deploy workflow 2022-08-08 20:06:27 +01:00
Riordan Panayides bddb0f363e Add bin dockerfiles to subdirectories 2022-08-05 17:50:43 +01:00
Riordan Panayides 74e05d41f8 Fix registry path 2022-08-05 15:51:31 +01:00
Riordan Panayides 4050d0ed4e Fix registry path 2022-08-05 15:50:32 +01:00
Riordan Panayides 69094f4286 Try a different registry path 2022-08-05 15:03:42 +01:00
Riordan Panayides f452b08462 Login to Google Cloud and generate oauth token 2022-08-05 13:49:14 +01:00
Riordan Panayides a7e58ea99d Use artifact repository 2022-08-04 17:05:52 +01:00
Riordan Panayides 74e8827e05 Log debug 2022-08-04 16:59:40 +01:00
Riordan Panayides b364d04447 Try registry buildcache 2022-08-04 16:08:48 +01:00
Riordan Panayides 8a8d8a456c Try different caching action 2022-08-04 15:24:25 +01:00
Riordan Panayides 6d582ba937 Try different cache action 2022-08-04 14:20:47 +01:00
Riordan Panayides ea7c7c7060 Fix tags 2022-08-02 20:16:48 +01:00
Riordan Panayides 40cfce432c Fix tag names 2022-08-02 19:54:59 +01:00
Riordan Panayides 6698841a7d Use caching in docker build 2022-08-02 19:52:07 +01:00
Riordan Panayides 5a722d2bc1 Pull submodules 2022-08-02 17:59:59 +01:00
Riordan Panayides 6c2d0bb957 Fix typo 2022-08-02 16:51:25 +01:00
Riordan Panayides e353d41add Add build step to dockerfile, publish to gcr action, heroku procfile for keeper 2022-08-02 16:46:22 +01:00