Integrate SP auctions in webapp deployment flow #950

Merged
ashwin merged 25 commits from deep-stack/stack-orchestrator:pm-integrate-sp-auctions into main 2024-10-21 07:02:07 +00:00
Showing only changes of commit ffa06df17c - Show all commits

View File

@ -24,8 +24,8 @@ import requests
import yaml
from stack_orchestrator.deploy.webapp.util import (
AUCTION_STATUS_COMPLETED,
AUCTION_KIND_PROVIDER,
AuctionStatus,
LaconicRegistryClient,
)
from dotenv import dotenv_values
@ -117,7 +117,7 @@ def command( # noqa: C901
fatal(f"Auction kind needs to be ${AUCTION_KIND_PROVIDER}, got {auction.kind}")
# Check auction status
if auction.status != AUCTION_STATUS_COMPLETED:
if auction.status != AuctionStatus.COMPLETED:
fatal(f"Auction {auction_id} not completed yet, status {auction.status}")
# Check that winner list is not empty