stack-orchestrator/stack_orchestrator/deploy/webapp
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
..
__init__.py Webapp deploy (#662) 2023-11-27 22:02:16 -07:00
deploy_webapp_from_registry.py Require payment for app deployment requests. (#928) 2024-08-21 14:39:20 +00:00
deploy_webapp.py Fix default webapp port number. (#740) 2024-02-09 01:20:41 +00:00
run_webapp.py Support other webapp types (react, static). (#721) 2024-02-02 18:04:06 -06:00
undeploy_webapp_from_registry.py Require payment for app deployment requests. (#928) 2024-08-21 14:39:20 +00:00
util.py Require payment for app deployment requests. (#928) 2024-08-21 14:39:20 +00:00