debian-forge-composer/cmd
Tom Gundersen c3d66b5a33 cmd/composer: gracefully shut down on SIG{INT,TERM}
Call `Shutdown()` on all http servers. This means we will finish processing
any pending requests (including depsolving), but we will not listen to new
ones.

In particular, we will not answer to the readiness probe, so no new traffic
will be routed to this container.

Once all pending requests have been handled composer will shut down
gracefully and the liveness probe will return failure.

Note that in order for this to work correctly no requests should ever take longer
than the shutdown timeout (by default 30s).
2022-03-22 14:17:37 +01:00
..
cloud-cleaner ci/tests: scheduled cloud-cleaner for Azure 2021-08-19 09:04:28 +02:00
osbuild-auth-tests osbuild-auth-tests: add a build constraint also to certificates.go 2021-12-18 11:56:17 +00:00
osbuild-composer cmd/composer: gracefully shut down on SIG{INT,TERM} 2022-03-22 14:17:37 +01:00
osbuild-composer-cli-tests gosec: G204 - Subproccess launched as function arg 2021-12-13 12:17:30 +02:00
osbuild-composer-dbjobqueue-tests jobqueue: introduce the concept of channels 2022-03-08 12:07:00 +01:00
osbuild-composer-manifest-tests Test all manifests with depsolved package sets 2021-11-19 19:50:25 +01:00
osbuild-dnf-json-tests .gitlabci.yml: Add fedora-35 testing 2022-02-03 14:51:07 +01:00
osbuild-image-tests osbuild-image-tests: skip Openstack boot testing on aarch64 2021-11-18 16:24:36 +01:00
osbuild-koji koji: add HTTP retries for uploads & init/finalize 2022-03-06 11:04:37 +01:00
osbuild-koji-tests gosec: G204 - Subproccess launched as function arg 2021-12-13 12:17:30 +02:00
osbuild-mock-openid-provider osbuild-mock-openid-provider: use offline token as org id 2022-03-08 12:07:00 +01:00
osbuild-pipeline osbuild-pipeline: use repo name from the request if provided 2022-03-12 08:36:40 +01:00
osbuild-service-maintenance cmd/osbuild-service-maintenance: Log aws error 2022-03-02 12:36:09 +01:00
osbuild-store-dump distro/fedora: implementation cleanups for newer releases 2022-02-03 14:51:07 +01:00
osbuild-upload-aws osbuild-service-maintenance: Clean up expired images 2021-12-03 00:14:09 +00:00
osbuild-upload-azure cmd/upload-azure: set storage account 2021-03-06 15:40:48 +00:00
osbuild-upload-gcp internal/worker: Use logrus for logging 2021-12-16 11:58:41 +00:00
osbuild-upload-oci Add support for OCI upload provider 2022-01-28 15:16:47 +01:00
osbuild-worker worker: Support client_credentials grant type in client 2022-03-21 09:43:43 +01:00