Require payment for app deployment requests. #928

Merged
dboreham merged 13 commits from telackey/924 into main 2024-08-21 14:39:22 +00:00
Member

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.

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.
telackey added 1 commit 2024-08-17 02:54:40 +00:00
WIP: Require payment for app deployment requests.
Some checks failed
Lint Checks / Run linter (pull_request) Failing after 42s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m29s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Successful in 7m30s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 9m26s
Smoke Test / Run basic test suite (pull_request) Successful in 4m23s
Webapp Test / Run webapp test suite (pull_request) Successful in 5m10s
0a9d68f4e8
telackey added 1 commit 2024-08-17 02:59:57 +00:00
get_tx()
Some checks failed
Lint Checks / Run linter (pull_request) Failing after 46s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m26s
Smoke Test / Run basic test suite (pull_request) Successful in 4m57s
Webapp Test / Run webapp test suite (pull_request) Successful in 5m12s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Successful in 7m4s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 8m4s
07030044ec
telackey added 1 commit 2024-08-17 03:33:29 +00:00
Include payment info in deployment record.
Some checks failed
Lint Checks / Run linter (pull_request) Failing after 35s
Smoke Test / Run basic test suite (pull_request) Successful in 4m31s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m54s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m6s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Successful in 7m10s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 8m37s
b449d88b6c
telackey added 1 commit 2024-08-20 00:35:50 +00:00
Update in re cerc-io/laconic-registry-cli#78
Some checks failed
Lint Checks / Run linter (pull_request) Failing after 42s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m16s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m58s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Successful in 7m5s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 8m11s
Smoke Test / Run basic test suite (pull_request) Successful in 4m36s
2f1cde16b7
telackey added 1 commit 2024-08-20 00:39:52 +00:00
log
Some checks failed
Lint Checks / Run linter (pull_request) Failing after 34s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m7s
Webapp Test / Run webapp test suite (pull_request) Successful in 5m5s
Smoke Test / Run basic test suite (pull_request) Successful in 4m16s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Successful in 5m52s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 8m35s
09c9214e4c
telackey added 1 commit 2024-08-20 16:41:42 +00:00
lint
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 40s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m5s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m48s
Smoke Test / Run basic test suite (pull_request) Successful in 3m53s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Successful in 10m3s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 12m21s
023a640252
telackey added 1 commit 2024-08-20 19:58:12 +00:00
Not a list
Some checks failed
Lint Checks / Run linter (pull_request) Failing after 36s
Smoke Test / Run basic test suite (pull_request) Successful in 4m24s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m56s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m14s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Failing after 14m38s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Failing after 15m2s
56b010f512
telackey added 2 commits 2024-08-20 21:58:42 +00:00
Undeploy
Some checks failed
Lint Checks / Run linter (pull_request) Failing after 32s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m2s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m46s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Successful in 6m48s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 7m55s
Smoke Test / Run basic test suite (pull_request) Successful in 4m15s
3205478878
telackey added 1 commit 2024-08-20 23:02:43 +00:00
Set payment address
Some checks failed
Lint Checks / Run linter (pull_request) Failing after 36s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m3s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 8m11s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Successful in 6m10s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m52s
Smoke Test / Run basic test suite (pull_request) Successful in 3m55s
6e64b60295
telackey added 1 commit 2024-08-20 23:19:28 +00:00
Include payment in removal record
Some checks failed
Lint Checks / Run linter (pull_request) Failing after 34s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m13s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m53s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Successful in 7m6s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 7m58s
Smoke Test / Run basic test suite (pull_request) Successful in 4m8s
e06de5f4b7
telackey added 1 commit 2024-08-21 00:02:06 +00:00
lint
Some checks failed
Lint Checks / Run linter (pull_request) Failing after 50s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m27s
Webapp Test / Run webapp test suite (pull_request) Successful in 5m35s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Successful in 7m16s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 8m12s
Smoke Test / Run basic test suite (pull_request) Successful in 4m16s
35d23ca858
telackey changed title from WIP: Require payment for app deployment requests. to Require payment for app deployment requests. 2024-08-21 00:02:24 +00:00
telackey requested review from dboreham 2024-08-21 00:09:02 +00:00
telackey added 1 commit 2024-08-21 00:10:34 +00:00
lint
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 40s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m45s
Smoke Test / Run basic test suite (pull_request) Successful in 4m23s
Deploy Test / Run deploy test suite (pull_request) Successful in 5m9s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Successful in 8m21s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 9m10s
578fd933a7
dboreham approved these changes 2024-08-21 01:24:47 +00:00
dboreham merged commit 75ff60752a into main 2024-08-21 14:39:22 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/stack-orchestrator#928
No description provided.