debian-forge-composer/internal
Sanne Raymaekers d5912259a0 cloud/awscloud: rework create fleet retry logic
The current path sometimes launches two instances, which is problematic
because the rest of the secure instance code expects exactly one
instance. A security group could be attached to both instances, and
would block the worker from launching any more SIs, as it tries to
delete the old security group first, which is still held by one of the
surplus SIs which didn't get terminated.

Only retry if:
- on "UnfulfillableCapacity" or "InsufficientInstanceCapacity" error codes;
- there wasn't an instance launched anyway.

If either of these checks fail, do not try to launch another one, and
just fail the job.
2024-10-24 10:29:26 +02:00
..
auth internal/auth: add TenantChannelMiddleware 2023-06-28 15:08:37 +02:00
blueprint blueprint: add kickstart contents to conversion test 2024-10-22 22:08:39 +02:00
boot internal/boot: adapt to aws sdk v2 2024-08-20 15:32:40 +02:00
client client/compose_test: fix error message checked by the test 2024-08-23 13:10:53 +02:00
cloud cloud/awscloud: rework create fleet retry logic 2024-10-24 10:29:26 +02:00
cloudapi CloudAPI: test /sboms endpoint for Koji composes 2024-09-20 17:02:09 +02:00
common splunk_logger: move environment hook to splunk_logger pt2 2024-08-28 16:41:07 +02:00
fsnode internal/fsnode: add API for custom directories and files 2023-02-22 12:17:36 +01:00
jobqueue jobqueue: add channel to workers 2024-04-19 14:32:07 +02:00
jsondb jsondb: improve performance of list operation 2023-06-20 10:45:22 +02:00
mocks mocks/dnfjson: support new depsolve result 2024-04-17 10:27:08 +02:00
osbuildexecutor osbuildexecutor: show full osbuild exector on json decode errors 2024-08-05 14:51:40 +02:00
prometheus internal/prometheus: more human-readable time buckets 2024-07-04 11:19:25 +02:00
remotefile clienterrors: rename WorkerClientError to clienterrors.New 2024-07-31 17:04:58 +02:00
runner runner: add platform-python only for RHEL 8+ 2023-01-25 20:37:12 +01:00
store osbuild/images update: ignore repoconfigs where appropriate 2024-04-17 10:27:08 +02:00
target Target/koji: extend the result struct with SBOM docs 2024-09-20 17:02:09 +02:00
test Drop common.CurrentArch() in favor of osbuild/images 2024-01-26 11:32:34 +01:00
upload Worker/koji-finalize: import uploaded SBOM documents 2024-09-20 17:02:09 +02:00
weldr Update osbuild/images to v0.88.0 2024-09-20 17:02:09 +02:00
worker Worker/osbuild: depend on depsolve job for Koji composes 2024-09-20 17:02:09 +02:00
tools.go Remove old build tag comments 2023-03-07 09:22:23 -08:00