Commit Graph

293 Commits

Author SHA1 Message Date
Ben a20e9a30cf
bumps to image with proof support 2024-04-26 11:10:14 +02:00
Ben 52cec0e9f3
bump codex image 2024-04-26 10:43:36 +02:00
Ben c4c3f61a23
parameterizes tests 2024-04-19 11:52:39 +02:00
benbierens 015d8da21d
Better logging for Time.WaitUntil. 2024-04-14 09:22:55 +02:00
gmega 5ffe34bb83
stop crash watcher before stopping pod 2024-04-13 17:20:23 +03:00
gmega e3b16fd742
add ability to stop single containers 2024-04-13 17:12:14 +03:00
benbierens 581cc80d5d
Implements getting blockTimeEntries 2024-04-13 09:19:20 +02:00
benbierens 24cf6c70b8
Improve event logging 2024-04-13 08:57:46 +02:00
benbierens 525fdcf4a7
Merge branch 'master' into feature/bot-upgrade 2024-04-11 08:12:02 +02:00
benbierens 4a0885cf2d
Check for marketplace contract up-to-date 2024-04-11 07:46:00 +02:00
benbierens 0224f17733
fixes serialization of request state 2024-04-09 13:24:30 +02:00
benbierens 0182ce134f
Applies future container to existing plugins 2024-04-09 10:23:07 +02:00
benbierens 69666d3fee
Setting up future-containers 2024-04-09 09:30:45 +02:00
benbierens 605004286a
Merge branch 'feature/bot-upgrade' 2024-04-08 16:08:05 +02:00
benbierens bbc975141f
Creates events overview in rewarder bot 2024-04-08 16:07:52 +02:00
benbierens 43aaed225d
Updates codex image 2024-04-03 20:40:13 +02:00
Ben 29344451d6
workaround for getpurchases api call 2024-04-02 14:53:45 +02:00
benbierens 4cd22f3719
Rather embarrasing mistake in rewarderbot interval config param. 2024-04-01 15:55:47 +02:00
benbierens 6c4b9345cb
sensible time range for bot test 2024-04-01 14:08:30 +02:00
benbierens a6b0b16909
ready for bot test 2024-04-01 11:22:28 +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 1344a6e3d2
Cleanup 2024-04-01 11:01:21 +02:00
benbierens 9a2e889ef9
Fixes convert issue in mapper. Removes CodexPlugin from discord bot dependencies. 2024-04-01 10:11:44 +02:00
benbierens 0263cc4eff
Force rebuild of openapi client code each CodexPlugin build. 2024-04-01 10:04:32 +02:00
benbierens b40215dd36
Updates image and api 2024-04-01 08:58:45 +02:00
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