Commit Graph

231 Commits

Author SHA1 Message Date
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
benbierens dfe477d192
Removes codexdeployment from input of discord bot. 2023-10-24 13:48:24 +02:00
benbierens ade08a27fe
Wires codex bot into deployer. 2023-10-24 10:29:07 +02:00
benbierens 5a021a4bfe
Capture only first Geth account. 2023-10-23 13:36:20 +02:00
benbierens a68e849768
Wires up geth public IP and discovery port. 2023-10-23 13:19:57 +02:00
benbierens 020865f5c0
Wires up deployer config 2023-10-23 13:08:49 +02:00
benbierens 4280f910ae
Makes making storage available optional. 2023-10-23 12:52:47 +02:00
benbierens ec8a041257
Setting up deployer config for public testnet deploying. 2023-10-23 12:43:50 +02:00
benbierens 7a6d7d787b
Splits up metrics-scraper from metrics-endpoints configuration in deployer. 2023-10-23 10:57:59 +02:00
benbierens e11a7d1600
Gives deployments a name. 2023-10-23 10:19:52 +02:00
benbierens ad70394333
Merge branch 'master' into app/discord-bot 2023-10-23 10:13:23 +02:00
benbierens 50fbf0ad52
Replaces retry-time with maxNumberOfRetries in timesets. 2023-10-23 10:11:02 +02:00
benbierens 116f62e73e
Adds eth address validation. 2023-10-22 11:26:00 +02:00
benbierens 8ef2e6023e
All works 2023-10-22 11:10:45 +02:00
benbierens e16b1ce079
Sets up guild role checking 2023-10-22 10:38:46 +02:00
benbierens 4aa4731480
setting up all the commands 2023-10-22 10:10:52 +02:00
benbierens 8ad2dee67c
Adds user repo. 2023-10-22 09:32:03 +02:00
benbierens 869aeb9253
Deals with timeout for operations that may take a while. 2023-10-20 11:20:38 +02:00
benbierens 8910c7ff27
Stores contracts deployment as part of CodexDeployment json. 2023-10-20 10:15:38 +02:00
benbierens 2b10f2ec58
Adds mint command 2023-10-20 10:14:56 +02:00
benbierens 991927b95f
Setting up balance-getting command 2023-10-20 09:49:23 +02:00
benbierens 766e2f5c20
Very basic endpoint pinging that might not even work. 2023-10-18 14:59:39 +02:00
benbierens 888b19d8e5
working example of slash commands with arguments 2023-10-18 13:55:56 +02:00
benbierens f33866efc1
setting up slash commands 2023-10-18 13:48:15 +02:00
benbierens 8c7229504e
do not print token 2023-10-18 11:21:06 +02:00
benbierens bcb05cd0c9
Dockerizes discord bot 2023-10-18 11:01:24 +02:00
benbierens 7179c70463
Sets up an echo command 2023-10-18 09:10:04 +02:00
benbierens b3da42522f
Sets up project 2023-10-18 08:57:59 +02:00
benbierens 8e4d43b73b
Adds start and finished times to deployment json. 2023-10-16 11:19:57 +02:00
benbierens 4f764ac4c7
Wires up the codex log topics config options. 2023-10-08 07:29:55 +02:00
benbierens c653afa554
trying with script 2023-10-07 07:53:10 +02:00
benbierens b365d4c0ba
bumps timeout because cluster might need to start more nodes 2023-10-05 08:58:05 +02:00
benbierens 8fb63213bc
Trying deploy replication 2023-10-05 08:55:13 +02:00
benbierens ffe762f860
makes output deployment json configurable. 2023-10-05 08:46:59 +02:00
benbierens ac7fa4905d
Adds dockertag description 2023-09-29 10:40:48 +02:00
benbierens dcdcd110a1
Updates READMEs 2023-09-29 10:19:59 +02:00
benbierens 8d2ce8ae7a
Adds Readme to codex net deployer 2023-09-28 15:29:29 +02:00
benbierens b0f72cf453
Automated local docker build is working. 2023-09-28 12:22:35 +02:00
benbierens 0f12bcd086
Sets up local builder in codex plugin. 2023-09-28 11:31:09 +02:00
benbierens 0a2bca9f52
Restores pod labels in deployer. Adds metrics assert for twoclient continuous test. 2023-09-26 14:32:28 +02:00
benbierens e78659690b
Pod labels hook for containers deployed with CodexNetDeployer. 2023-09-22 11:10:22 +02:00
benbierens b8b59508aa
Nicens up the timeouts for the net deployer. 2023-09-22 10:02:16 +02:00
benbierens 192079f9c8
Adds name to geth container 2023-09-21 14:48:41 +02:00
benbierens dbf0ed714c
Restores continuous test runner. 2023-09-21 10:33:09 +02:00
benbierens b5e0c9bfe0
Console output alignment is important. 2023-09-21 08:49:09 +02:00
benbierens 5b2557b3f4
Set up loading of plugins. 2023-09-20 13:56:01 +02:00
benbierens 48da92c737
Removes codex net downloader 2023-09-20 12:56:02 +02:00
benbierens 3b6fdaa3bc
Restores CodexNetDeployer 2023-09-20 12:55:09 +02:00
benbierens 75369d68f7
Restores CodexNetDeployer 2023-09-20 12:02:32 +02:00
benbierens 09670e00e9
Moves projects into folders 2023-09-20 10:51:47 +02:00