stack-orchestrator/stack_orchestrator/deploy
Thomas E Lackey 75ff60752a Require payment for app deployment requests. (#928)
Adds three new options for deployment/undeployment:

```
    "--min-required-payment",
    help="Requests must have a minimum payment to be processed",

    "--payment-address",
    help="The address to which payments should be made.  Default is the current laconic account.",

    "--all-requests",
    help="Handle requests addressed to anyone (by default only requests to my payment address are examined).",
```

In this mode, requests should be designated for a particular address with the attribute `to` and include a `payment` attribute which is the tx hash for the payment.

The deployer will confirm the payment (to the right account, right amount, not used before, etc.) and then proceed with the deployment or undeployment.

Reviewed-on: cerc-io/stack-orchestrator#928
Reviewed-by: David Boreham <dboreham@noreply.git.vdb.to>
Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com>
Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>
2024-08-21 14:39:20 +00:00
..
compose Allow to disable kind cluster management for testing (#915) 2024-08-13 17:48:14 +00:00
k8s Add support for k8s pod to node affinity and taint toleration (#917) 2024-08-15 20:32:58 +00:00
webapp Require payment for app deployment requests. (#928) 2024-08-21 14:39:20 +00:00
__init__.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
deploy_types.py Add stage 1 support 2024-08-07 11:28:10 -06:00
deploy_util.py Mainnet-laconic stack fixes for laconicd2 (#904) 2024-07-31 13:51:28 +00:00
deploy.py Allow to disable kind cluster management for testing (#915) 2024-08-13 17:48:14 +00:00
deployer_factory.py Add ConfigMap test. (#726) 2024-02-05 14:15:11 -06:00
deployer.py Allow to disable kind cluster management for testing (#915) 2024-08-13 17:48:14 +00:00
deployment_context.py Generate a unique deployment id for each deployment (#680) 2023-12-05 22:56:58 -07:00
deployment_create.py Copy config under a volume for Docker (similar to a ConfigMap for K8S). (#914) 2024-08-10 02:32:21 +00:00
deployment.py Allow to disable kind cluster management for testing (#915) 2024-08-13 17:48:14 +00:00
images.py Fix image tag name 2024-06-13 08:31:45 -06:00
spec.py Add support for k8s pod to node affinity and taint toleration (#917) 2024-08-15 20:32:58 +00:00
stack_state.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
stack.py kind test stack (#629) 2023-11-08 01:11:00 -07:00