Skip checks on requests we've already seen (#805)
Publish / Build and publish (push) Failing after 6s
Details
Deploy Test / Run deploy test suite (push) Failing after 3s
Details
Webapp Test / Run webapp test suite (push) Failing after 3s
Details
Smoke Test / Run basic test suite (push) Failing after 3s
Details
Lint Checks / Run linter (push) Failing after 4s
Details
Publish / Build and publish (push) Failing after 6s
Details
Deploy Test / Run deploy test suite (push) Failing after 3s
Details
Webapp Test / Run webapp test suite (push) Failing after 3s
Details
Smoke Test / Run basic test suite (push) Failing after 3s
Details
Lint Checks / Run linter (push) Failing after 4s
Details
Reviewed-on: https://git.vdb.to/cerc-io/stack-orchestrator/pulls/805 Co-authored-by: Thomas E Lackey <telackey@bozemanpass.com> Co-committed-by: Thomas E Lackey <telackey@bozemanpass.com>roysc/fix-eth-stacks v1.1.0-9043a67-202404152029
parent
7f84a45cfd
commit
9043a67c7c
|
|
@ -256,7 +256,10 @@ def command(ctx, kube_config, laconic_config, image_registry, deployment_parent_
|
||||||
requests_by_name = {}
|
requests_by_name = {}
|
||||||
skipped_by_name = {}
|
skipped_by_name = {}
|
||||||
for r in requests:
|
for r in requests:
|
||||||
# TODO: Do this _after_ filtering deployments and cancellations to minimize round trips.
|
if r.id in previous_requests and previous_requests[r.id].get("status", "") != "RETRY":
|
||||||
|
print(f"Skipping request {r.id}, we've already seen it.")
|
||||||
|
continue
|
||||||
|
|
||||||
app = laconic.get_record(r.attributes.application)
|
app = laconic.get_record(r.attributes.application)
|
||||||
if not app:
|
if not app:
|
||||||
print("Skipping request %s, cannot locate app." % r.id)
|
print("Skipping request %s, cannot locate app." % r.id)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue