Commit Graph

199 Commits

Author SHA1 Message Date
benbierens ca7258ef28
async dispatches sending of event overview to discord channel 2024-04-11 13:14:21 +02:00
benbierens 1dbb749732
Removes ChangedEvents field from chain-state, not necessary 2024-04-11 08:50:03 +02:00
benbierens 4a0885cf2d
Check for marketplace contract up-to-date 2024-04-11 07:46:00 +02:00
benbierens bbc975141f
Creates events overview in rewarder bot 2024-04-08 16:07:52 +02:00
benbierens 0b2dcef57e
Sets up showing of chain events in discord bot 2024-04-08 13:55:39 +02:00
benbierens 9f7e95c515
Applies async/await to getbalance and mint commands 2024-04-08 13:36:55 +02:00
benbierens 9c8151bdb7
Adds Market command 2024-04-07 14:04:31 +02:00
Ben b805c5f004
Prevents duplicate addresses to be sent in the same reward request 2024-04-03 09:21:10 +02:00
Ben 5511f8ed32
Extra logging for discordbot reward API 2024-04-02 13:32:06 +02:00
benbierens 362040bd3c
Sets up docker image and CI 2024-04-01 21:29:02 +02:00
benbierens 40393c3a5b
Using raw version of purchase-status call. API doesn't line up 2024-04-01 21:09:24 +02:00
benbierens 7f972bac85
Mvoes autoclient 2024-04-01 20:47:56 +02:00
benbierens 4cd22f3719
Rather embarrasing mistake in rewarderbot interval config param. 2024-04-01 15:55:47 +02:00
benbierens 2ab84e2a61
Time handling for rewarder 2024-04-01 13:56:07 +02:00
benbierens 8c64352acf
Merge branch 'master' into feature/bot-upgrade 2024-04-01 11:07:16 +02:00
Ben Bierens fd38cc336b
Merge pull request #101 from codex-storage/feat/multi-stage-builds-for-rewarder
Use multi-stage builds for Rewarder
2024-04-01 11:06:52 +02:00
benbierens f5429b9c14
Merge branch 'master' into feature/bot-upgrade
# Conflicts:
#	Tests/CodexTests/BasicTests/ExampleTests.cs
2024-04-01 11:06:06 +02:00
benbierens 9a2e889ef9
Fixes convert issue in mapper. Removes CodexPlugin from discord bot dependencies. 2024-04-01 10:11:44 +02:00
Slava a58c9aba59
Use multi-stage builds for BiblioTech 2024-04-01 11:05:17 +03:00
Slava 0a8083d4d5
Use multi-stage builds for Rewarder 2024-03-31 22:18:48 +03:00
Ben 8bc63c1fdb
Configurable testtoken and eth amounts for mint command 2024-03-29 11:24:11 +01:00
Ben 01d6b8f227
Applies blockInterval 2024-03-27 15:39:42 +01:00
Ben 330552563c
Merge branch 'master' into feature/bot-upgrade
# Conflicts:
#	Tests/CodexTests/BasicTests/ExampleTests.cs
2024-03-27 15:25:58 +01:00
Ben f6edf6cbd5
Overdue readme updates 2024-03-27 15:01:32 +01:00
Ben 9e9773f45d
Merge branch 'master' into feature/codex-openapi
# Conflicts:
#	ProjectPlugins/CodexPlugin/CodexContainerRecipe.cs
2024-03-26 16:16:39 +01:00
Ben a53d2de13b
Moves ethAccount to Geth plugin. Enables setting ethAccount when Codex starts. 2024-03-26 15:35:26 +01:00
Ben b69059fd37
restoring debug-info 2024-03-26 08:58:16 +01:00
Ben 0a4c4c60c5
Merge branch 'master' into feature/bot-upgrade
# Conflicts:
#	Framework/NethereumWorkflow/BlockTimeFinder.cs
#	Framework/NethereumWorkflow/NethereumInteraction.cs
2024-03-22 10:59:57 +01:00
Ben a6c2bf5230
Cleanup marketplace-access methods 2024-03-20 11:11:41 +01:00
benbierens 8c8b1748ee
Merge branch 'master' into feature/bot-upgrade
# Conflicts:
#	Tests/CodexTests/BasicTests/ExampleTests.cs
2024-03-15 09:35:27 +01:00
Ben 90b90be3cb
Updates usages of EnableMarketplace 2024-03-13 10:29:26 +01:00
Giuliano Mega ec0f7a6790
Remove run ID and introduce deploy ID (#93)
This PR removes the notion of a run id and replaces it with a deploy id in continuous tests. Deploy ids can be set at deploy time only (duh), and will be picked up by the test runner from the deploy file on subsequent runs of the continuous test runner. As a consequence, the deploy id becomes a deployer parameter, and can no longer be overridden at the runner. For non-continuous tests, the deploy ID is created on-the-fly.
2024-02-22 10:41:07 -03:00
benbierens a6fce1084d
Check connection no more than once every 30 seconds 2024-02-19 15:59:49 +01:00
benbierens 23b7bbd548
Fixes sending of rewards to bot 2024-02-19 15:57:28 +01:00
benbierens 42d3c5cd2c
debugging rewards 2024-02-19 15:41:48 +01:00
benbierens da4101a042
Debugging time segmenter 2024-02-19 14:56:49 +01:00
benbierens 3c210f96fc
debugging reward api 2024-02-19 09:11:36 +01:00
benbierens dd5baeda46
Adds reward api port to bot config 2024-02-01 17:02:10 -05:00
benbierens cb259a9086
Setting up docker for rewarder bot 2024-01-31 11:30:29 -05:00
benbierens 9d8ec6f794
loads up reward-repo with test server roles 2024-01-31 11:18:22 -05:00
benbierens acc9526cd5
Extracts reward config from bot and rewarder 2024-01-29 11:02:47 -05:00
benbierens 1b7c11b849
Setting up rewards 2024-01-22 10:27:07 +01:00
benbierens c6a7489f11
wip 2024-01-20 13:07:56 +01:00
benbierens 2f10b30283
Sets up rewards api and handling. 2023-12-20 15:56:03 +01:00
Slava 974fc460c4
Remove preview from MintCommand explorer link (#89) 2023-12-18 16:38:16 +02:00
benbierens 87e84ae90d
Adds method for checking of codex contracts are deployed 2023-12-18 13:32:58 +01:00
benbierens 2c026f99ca
Merge branch 'feature/bot-upgrade' 2023-12-18 11:28:22 +01:00
benbierens 6298744918
Better logging 2023-12-18 11:27:28 +01:00
Slava fd540a53b1
Add Discordbot docker builds (#87)
* Add BiblioTech Docker builds

https://github.com/codex-storage/infra-codex/issues/113

* Organize workflows

https://github.com/codex-storage/infra-codex/issues/113
2023-12-15 14:07:52 +02:00
benbierens 03283414cb
Adds transaction ID to record of user activity 2023-12-15 11:09:15 +01:00
benbierens beaa67c280
Adds transaction links to mint output 2023-12-15 11:02:06 +01:00
benbierens 2b21722cf3
forgot to hook up getSPR command 2023-12-11 11:19:05 +01:00
benbierens c3fb7384e3
Sets up deploying discordbot with geth env vars 2023-12-11 11:09:29 +01:00
benbierens fde19383df
Removes deployment.json from discord bot. 2023-12-11 11:01:12 +01:00
benbierens 777e414f0a
Prevents duplicate deployments. 2023-12-11 09:59:09 +01:00
benbierens 6d7309cc9c
Update bot for deployment without codex nodes. 2023-12-11 08:51:46 +01:00
benbierens 55811b20da
Fixes validation for not deploying codex nodes 2023-12-11 08:30:05 +01:00
benbierens a84d6a3c22
Replaces debug/info fetching with list of known SPRs, settable via admin commands. 2023-11-21 09:38:58 +01:00
benbierens 54471d41d5
Allows for deployment without codex nodes 2023-11-21 09:03:52 +01:00
benbierens b90c47a994
Switches to automatic public IP address for codex and geth containers. 2023-11-15 14:53:25 +01:00
benbierens a81f0b9145
Merge branch 'master' into feature/public-testnet-deploying 2023-11-13 13:15:23 +01:00
benbierens 96ff3c38bb
Adds test for routing table checks. 2023-11-12 10:36:48 +01:00
benbierens ed56d9edcc
Cleanup of kubernetesWorkflow assembly. 2023-11-12 10:07:23 +01:00
benbierens 84382b4ab4
Removes server-admin requirement for admin commands 2023-11-09 11:14:17 +01:00
benbierens 26ec841db1
locks out default permissions for admin commands 2023-11-09 10:45:28 +01:00
benbierens 1ed93bbdde
Adds required admin permission for admin commands. 2023-11-09 10:37:57 +01:00
benbierens ef83441b2f
Correct chunking of long messages 2023-11-09 10:13:34 +01:00
benbierens 180bf3fd35
Fixes debugPeer response formatting 2023-11-08 13:33:48 +01:00
benbierens 8d12bc45a1
Loops in kubeconfig and namespace for discord bot. 2023-11-08 11:49:21 +01:00
benbierens 9f0f7c374a
port update 2023-11-08 10:19:06 +01:00
benbierens b8ce4c49d6
Merge branch 'master' into deployment-json-rework
# Conflicts:
#	Tests/CodexContinuousTests/run.sh
#	Tools/CodexNetDeployer/deploy-continuous-testnet.sh
2023-11-08 09:29:22 +01:00
benbierens 3e500e8346
Unknown runner location option. 2023-11-07 12:42:01 +01:00
benbierens 655f4895d0
Fixes serialization issue for running containers for discord bot and metrics container 2023-11-07 11:17:20 +01:00
benbierens dc9f3ab090
removes dependency on static pod name and address info 2023-11-06 14:33:47 +01:00
Veaceslav Doina ead1ff7ec6
Automate Continuous Tests using GitHub Actions (#69) 2023-11-06 15:09:51 +02:00
benbierens f9408ab3b5
Merge branch 'feature/public-testnet-deploying' into automated-teststarter 2023-11-03 14:46:17 +01:00
benbierens 438c4271e1
Updates response message instead of deleting it. 2023-11-02 15:04:53 +01:00
benbierens fe11a97458
Fixes initialization issue for deployments monitor 2023-11-02 14:25:17 +01:00
benbierens b8774e7273
Adds SPR-fetching command. 2023-11-02 12:30:48 +01:00
benbierens ac07327d77
Upgrades volume support for use with deploy-and-run container 2023-10-31 14:20:50 +01:00
benbierens c348ca9849
sets up test starter tool 2023-10-31 11:22:59 +01:00
benbierens 85ad0b414f
Cleans up some gethnode arguments. 2023-10-30 13:30:14 +01:00
benbierens 901259d0fa
Adds debug-peer command 2023-10-29 10:40:01 +01:00
benbierens 62cc9e0587
Formats the json response 2023-10-29 10:02:51 +01:00
benbierens d7827a4531
Forgot to connect command handler. 2023-10-29 09:47:34 +01:00
benbierens f17d123af8
Adds netinfo command 2023-10-29 09:25:50 +01:00
benbierens 529f923595
Sleep before fetching debug info. 2023-10-27 10:56:30 +02:00
benbierens a362eb1e96
Separate port for geth listening 2023-10-27 08:33:07 +02:00
benbierens 4102ce0a04
Moves discord bot datafiles to volume 2023-10-25 11:53:33 +02:00
benbierens 69296577f8
adds Whois command 2023-10-25 11:25:27 +02:00
benbierens bd9fc3a3cf
Ephemeral messages. 2023-10-25 10:54:26 +02:00
benbierens f148598a21
Restrict admin commands to admin channel 2023-10-25 10:38:21 +02:00
benbierens 6e82d6b1e6
Disallow duplicate eth addresses 2023-10-25 10:25:00 +02:00
benbierens 6d44a0ccfc
Important user feedback message update 2023-10-25 09:54:08 +02:00
benbierens fb70daa2e9
Adds discord bot to deploy script 2023-10-25 09:40:47 +02:00
benbierens 14e8222dfe
Adds codex debug-info to deployment json. Needed for bootstrapping later on. 2023-10-25 09:14:35 +02:00
benbierens b8b9e6b997
Successful deployment add and remove. 2023-10-24 15:45:40 +02:00
benbierens 29672ece68
remove command 2023-10-24 15:43:07 +02:00
benbierens a0461a446e
cleanup of admin commands 2023-10-24 15:25:45 +02:00
benbierens 5aff8c6f6d
setting up subcommands. 2023-10-24 14:07:15 +02:00