stack-orchestrator/stack_orchestrator
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
..
build Fixes for external stack deployment (#851) 2024-07-09 15:37:35 +00:00
data Use Laconic version of ping-pub (#930) 2024-08-20 17:44:00 +00:00
deploy Require payment for app deployment requests. (#928) 2024-08-21 14:39:20 +00:00
repos Fixes for external stack deployment (#851) 2024-07-09 15:37:35 +00:00
__init__.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
__main__.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
base.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
command_types.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
constants.py Add support for k8s pod to node affinity and taint toleration (#917) 2024-08-15 20:32:58 +00:00
main.py Add external stack support (#806) 2024-04-18 21:22:47 +00:00
opts.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
update.py Rename app -> stack_orchestrator (#625) 2023-11-07 00:06:55 -07:00
util.py Fix stack path check (#877) 2024-07-19 17:16:40 +00:00
version.py Fixes for external stack deployment (#851) 2024-07-09 15:37:35 +00:00