Commit Graph

318 Commits

Author SHA1 Message Date
Ben 376fd60974
debugging image 2024-03-29 12:09:01 +01: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 581cf2a813
Merge branch 'feature/codex-openapi' 2024-03-27 15:24:40 +01:00
Ben db6db4d38c
Fixes metrics tests 2024-03-27 09:41:12 +01:00
Ben 127b7daecc
Improves plugin log initialization 2024-03-27 08:41:18 +01:00
Ben 6597728e5c
Makes contract-clock log topic configurable 2024-03-27 08:13:36 +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 9fe97f5d40
Debugs compatibility check. 2024-03-26 16:10:50 +01:00
Ben a53d2de13b
Moves ethAccount to Geth plugin. Enables setting ethAccount when Codex starts. 2024-03-26 15:35:26 +01:00
Ben d9d8441b6e
compiletime checking of all map calls 2024-03-26 15:12:28 +01:00
Ben e72c1b037c
Implements api compatiblity checker 2024-03-26 14:42:47 +01:00
Ben bce9a2c124
Lines up new openAPI.yaml 2024-03-26 14:07:06 +01:00
Ben f57188914e
Restores marketplace access 2024-03-26 12:23:38 +01:00
Ben 3bd297a22d
restores connect-to-peer 2024-03-26 12:14:02 +01:00
Ben 85774847b7
Restoring marketplace types 2024-03-26 11:39:59 +01:00
Ben 8fcf351613
Restores debug/peer 2024-03-26 10:31:49 +01:00
Ben 05d28d1d0a
Restores debug info 2024-03-26 10:03:52 +01:00
Ben a3253b42d8
Introduces endpoint component from old http functionality 2024-03-26 09:10:06 +01:00
Ben b69059fd37
restoring debug-info 2024-03-26 08:58:16 +01:00
Ben c122aa9910
sets up http client 2024-03-25 15:46:45 +01:00
Ben 03a3ccb4de
prototype of pre-build yaml hash injection 2024-03-25 13:48:20 +01:00
Ben 87ec67778b
poc: upload and download streams working 2024-03-25 11:37:41 +01:00
Ben bd5fe0cae1
Sets up client generation with NSwag 2024-03-25 10:20:44 +01:00
Ben e8213b9515
Updates codex image 2024-03-25 10:17:32 +01:00
Ben 7d28b62206
new image 2024-03-22 13:36:33 +01:00
Ben a27b294031
Updates codex marketplace API types 2024-03-22 11:15:22 +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 db37143db6
cleanup 2024-03-20 13:36:06 +01:00
Ben 2a5b3e0eec
fixes marketplace test 2024-03-20 11:32:16 +01:00
Ben a6c2bf5230
Cleanup marketplace-access methods 2024-03-20 11:11:41 +01:00
Ben 32f56e8213
Marketplace test fails: submitted proof is invalid. 2024-03-15 16:07:10 +01:00
Ben f757e64ba4
wip 2024-03-15 13:50:39 +01:00
benbierens 188f765b5c
bash, not sh 2024-03-15 12:48:25 +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 db5c5444c5
Removes contract clock from logging 2024-03-14 14:29:28 +01:00
Ben 209eb31c58
fixes issue where kubernetes does not honor container entrypoints when command override is used 2024-03-13 12:09:25 +01:00
Ben 956cdbcfbe
sets contracts image to latest 2024-03-13 10:57:35 +01:00
Ben c5fb066c75
Allows for non-blocking stop of containers 2024-03-13 10:57:26 +01:00
Ben 90b90be3cb
Updates usages of EnableMarketplace 2024-03-13 10:29:26 +01:00
Ben a6a8c3f1e7
Update codex container recipe 2024-03-13 10:18:10 +01:00
Ben b7904f7ee0
Updates codexSetup and Marketplace configuration 2024-03-13 10:14:11 +01:00
benbierens b35cf3139d
Bumps contracts image to latest 2024-02-26 15:08:04 +01:00
benbierens 64ecf531bd
Adds missing error message check to marketplaceAccess 2024-02-26 09:02:46 +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 42d3c5cd2c
debugging rewards 2024-02-19 15:41:48 +01:00
benbierens 1bf693938c
Block range type 2024-02-19 15:20:12 +01:00
benbierens 3c210f96fc
debugging reward api 2024-02-19 09:11:36 +01:00
benbierens 7d33c1c113
Sets up rewarder bot container recipe 2024-01-31 11:52:02 -05:00
benbierens 255e08a301
Implements check classes 2024-01-26 17:29:57 -05:00
benbierens f25bca727d
Fixes crash in blocktime finder. Increases smart contract deploy timeout. 2024-01-26 11:27:37 -05:00
benbierens fb73312e80
Merge branch 'master' into feature/bot-upgrade 2024-01-26 08:47:23 -05:00
Slava 9a626b7260
Updates contracts image to latest working one (#92) 2024-01-25 19:10:49 +02:00
benbierens 00c720137a
Adds method for getting request state and receiving cancelled events 2024-01-22 16:27:32 +01:00
benbierens 890cff93d5
Adds method for getting request-fulfilled events 2024-01-22 16:05:04 +01:00
benbierens 678b719cef
wip 2024-01-22 11:47:28 +01:00
benbierens f7fcef56c7
upgrades log filtering 2024-01-18 10:24:59 +01:00
benbierens 29fa554146
Adds log topics for block exchange 2024-01-18 09:55:07 +01:00
benbierens 2f10b30283
Sets up rewards api and handling. 2023-12-20 15:56:03 +01:00
benbierens 391a2653d9
Sets up getting of slot filled and freed events 2023-12-20 13:21:53 +01:00
benbierens 55be07d711
Implements getting slot host address 2023-12-20 11:34:23 +01:00
benbierens 75757e37fb
Can fetch storage requests from chain 2023-12-20 10:55:29 +01:00
benbierens 4b74a9d5fe
working block time finder 2023-12-20 09:48:22 +01:00
benbierens 4f2539c59f
Adds marketplace generated code 2023-12-19 15:43:26 +01:00
benbierens 7df1f3da7b
block time finder 2023-12-19 15:30:46 +01:00
benbierens 87e84ae90d
Adds method for checking of codex contracts are deployed 2023-12-18 13:32:58 +01:00
benbierens beaa67c280
Adds transaction links to mint output 2023-12-15 11:02:06 +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 ec03be6936
Fixes initialization of geth node 2023-12-11 08:38:31 +01:00
benbierens 5dc918287c
Merge branch 'master' into feature/public-testnet-deploying 2023-12-11 08:30:25 +01:00
benbierens 09554da362
Adds transfer speeds to status logs. 2023-12-06 10:50:02 +01:00
benbierens 074f5ebfae
Sets up transferSpeed class 2023-12-06 09:59:45 +01:00
benbierens 260bc93414
Updates contracts image to latest 2023-12-06 09:34:22 +01:00
Slava 4c46a708ab
Change affinity label (#85)
https://github.com/codex-storage/infra-codex/issues/100
2023-11-27 19:06:04 +02:00
benbierens 3761e236a3
Sets node critical priority for codex and geth nodes 2023-11-23 14:50:54 +01:00
benbierens b61f5d835c
Fixes request-storage endpoint 2023-11-23 14:10:59 +01:00
benbierens 1a86d3459d
Fixes local files endpoint 2023-11-23 13:43:19 +01:00
benbierens 6bd7098cfe
Fixes download endpoint. 2023-11-23 13:32:58 +01:00
benbierens 46ab3b31ca
Checking that we can bootstrap geth nodes together. 2023-11-21 10:33:11 +01:00
benbierens 54471d41d5
Allows for deployment without codex nodes 2023-11-21 09:03:52 +01:00
benbierens 8b224f6922
Updates public ip to point to service 2023-11-20 11:19:10 +01:00
benbierens b90c47a994
Switches to automatic public IP address for codex and geth containers. 2023-11-15 14:53:25 +01:00
benbierens 485e3cf02e
Merge branch 'master' into feature/public-testnet-deploying 2023-11-14 10:50:41 +01:00
benbierens 7de0e5a1c4
Sets up tests-runners as avoided scheduling affinity. 2023-11-14 10:16:00 +01:00
benbierens a81f0b9145
Merge branch 'master' into feature/public-testnet-deploying 2023-11-13 13:15:23 +01:00
benbierens 960bef455a
Adds codex revision to metadata. 2023-11-13 09:37:45 +01:00
benbierens 71ad471958
Cleanup routing table tests. Adds retry. 2023-11-12 11:24:58 +01:00
benbierens ed56d9edcc
Cleanup of kubernetesWorkflow assembly. 2023-11-12 10:07:23 +01:00
benbierens 096282ae1a
Fixes debug/peer serialization. Adds retry for pod-finding. 2023-11-10 15:23:16 +01:00
benbierens c5cc15daa0
Updates endpoint to match latest Codex 2023-11-10 08:20:08 +01:00
benbierens d1403c04c4
updates bot secret name 2023-11-08 11:59:31 +01:00
benbierens 8d12bc45a1
Loops in kubeconfig and namespace for discord bot. 2023-11-08 11:49:21 +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 90070de028
Enable debug logging from single environment variable or static field. 2023-11-08 09:24:39 +01:00
benbierens ea66b5b408
debugging address selection in cluster 2023-11-07 12:02:17 +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 d0bed64c68
Disables resource limits 2023-11-07 09:25:51 +01:00
benbierens 6672427565
Restores marketplace test 2023-11-06 16:10:19 +01:00
benbierens 4f9c0e0ce7
Restores metrics 2023-11-06 15:27:23 +01:00
benbierens dc9f3ab090
removes dependency on static pod name and address info 2023-11-06 14:33:47 +01:00
benbierens ac07327d77
Upgrades volume support for use with deploy-and-run container 2023-10-31 14:20:50 +01:00
benbierens b5e5570145
Creates volume mount for kubeconfig file 2023-10-31 11:38:54 +01:00
benbierens bfdbebb36e
Adds deploy-and-run plugin 2023-10-31 11:15:08 +01:00
benbierens 85ad0b414f
Cleans up some gethnode arguments. 2023-10-30 13:30:14 +01:00
benbierens d5b87253ae
Explicitly turn off auto-nat. 2023-10-27 11:21:43 +02:00
benbierens a362eb1e96
Separate port for geth listening 2023-10-27 08:33:07 +02:00
benbierens 939eed544d
Fixes error where empty string is passed as datapath 2023-10-25 14:33:47 +02:00
benbierens 3914d58a6a
Sets up support for UDP ports and applies them to discovery ports. 2023-10-25 14:23:07 +02:00
benbierens 4102ce0a04
Moves discord bot datafiles to volume 2023-10-25 11:53:33 +02:00
benbierens f148598a21
Restrict admin commands to admin channel 2023-10-25 10:38:21 +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 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 cc8a860f41
First attempt to send deployment json into discord bot container. 2023-10-24 10:17:57 +02:00
benbierens d4522f0d9c
Sets up bot container recipe 2023-10-24 10:06:07 +02:00
benbierens b74349cc68
Setting up codex discord bot plugin 2023-10-24 09:51:29 +02:00
benbierens 49f6c7e37e
Merge branch 'master' into feature/public-testnet-deploying 2023-10-24 09:42:37 +02:00
benbierens e073f7a881
Fixes locking and retrying in http class 2023-10-24 09:41:37 +02:00
benbierens 3326c42f7a
Switching to ip + port internal addresses 2023-10-24 09:03:56 +02:00
benbierens eb70fe612b
trying with podIP for internal addresses. 2023-10-23 16:12:45 +02:00
benbierens b3ba39b2e5
Debug logging for nethereum interactions 2023-10-23 16:04:50 +02:00
benbierens abb9560b6d
Better logging of k8s exceptions 2023-10-23 15:49:14 +02:00
benbierens 2fae9505d6
attempt to fix contract deployment in testnet mode 2023-10-23 15:28:20 +02:00
benbierens b2b338d0a5
how did this not get commited? 2023-10-23 14:25:13 +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 bcb690d143
Adds option to deploy codex in a public test net. 2023-10-23 12:33:48 +02:00
benbierens 840e794761
wip: updating codex container recipe for public deployment 2023-10-23 11:30:54 +02:00
benbierens 854325f10c
Adds option to deploy geth for public testnet. 2023-10-23 11:23:44 +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 45fbd699a9
Disables calls to custom API endpoints. 2023-10-23 09:36:31 +02:00
benbierens 4aa4731480
setting up all the commands 2023-10-22 10:10:52 +02:00
benbierens 8910c7ff27
Stores contracts deployment as part of CodexDeployment json. 2023-10-20 10:15:38 +02:00
benbierens 991927b95f
Setting up balance-getting command 2023-10-20 09:49:23 +02:00
benbierens b1bd1de027
Merge branch 'feature/multiple-container-addresses' 2023-10-20 08:31:45 +02:00
benbierens 3b258c9e2e
Pins contract image to one compatible with current main codex 2023-10-20 08:31:23 +02:00
benbierens 45050c34e4
Implements GetAddress method for runningContainers. 2023-10-19 11:18:59 +02:00
benbierens 43fa57dc97
Mandatory port tags for exposed ports 2023-10-19 11:12:08 +02:00
benbierens 3a8bb760ef
Adding support for multiple exposed container ports 2023-10-19 11:08:30 +02:00
benbierens 8c82b4c527
defaults the codex log topics to warn 2023-10-17 13:52:04 +02:00
benbierens 8e4d43b73b
Adds start and finished times to deployment json. 2023-10-16 11:19:57 +02:00
benbierens 8f37b4cf38
Sets long timeouts for debug/repostore call. 2023-10-10 18:08:21 +02:00
benbierens 1a277ef1b5
Logging repostore content on twoclient test failure 2023-10-10 17:54:19 +02:00
benbierens b4a187f0b6
undo custom image 2023-10-09 16:35:09 +02:00
benbierens b3ab369dde
adds peer id 2023-10-09 12:59:05 +02:00
benbierens f08986f6c0
Setup call to debug blockexchange endpoint. 2023-10-09 12:33:35 +02:00
benbierens 24ba0b4f09
Adds missing libp2p topics 2023-10-08 08:04:04 +02:00
benbierens 1a48c40ad7
Example of setting codex log topics for libp2p and discv5 2023-10-07 09:48:12 +02:00
benbierens ce995b3df7
Adds log prefixer to local builder 2023-09-29 10:43:21 +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 10697f1047
Updates container location support 2023-09-25 08:47:19 +02:00
benbierens ea09605827
Reverts combining http and ws ports. Fixes runner location utils. 2023-09-22 09:52:30 +02:00
benbierens e0a734591f
Sets geth http and ws port to same number. 2023-09-22 09:17:56 +02:00
benbierens 100a9f15b8
Downloads container log when codex contract deployment fails. 2023-09-22 08:42:18 +02:00
benbierens d2854bb905
Cleanup 2023-09-22 07:43:46 +02:00
benbierens 418daf1e3f
Updates the docs 2023-09-21 14:39:41 +02:00
benbierens 01b2ff2181
Merge branch 'master' into plugin-refactor
# Conflicts:
#	DistTestCore/CodexStarter.cs
#	DistTestCore/GethStarter.cs
#	ProjectPlugins/CodexPlugin/CodexContainerRecipe.cs
#	ProjectPlugins/CodexPlugin/CodexSetup.cs
#	ProjectPlugins/CodexPlugin/CodexStartupConfig.cs
2023-09-21 11:07:27 +02:00
benbierens e4716b5471
Adds IHasContainer to geth objects. 2023-09-21 10:56:48 +02:00
benbierens 8cde69a483
Restores continuous test runner 2023-09-20 13:33:58 +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 bf4c8d8026
Restores project references. 2023-09-20 10:59:52 +02:00
benbierens 09670e00e9
Moves projects into folders 2023-09-20 10:51:47 +02:00