debian-forge-composer/cmd
Brian C. Lane ea05f400e6 cloudapi: Listen on /run/cloudapi/api.socket
Add a local socket for communicating with the cloudapi. It is started by
osbuild-composer.socket and is located at /run/cloudapi/api.socket

cloudapi requests can be passed to it using curl like this:

curl -k --unix-socket /run/cloudapi/api.socket --header 'Content-Type: application/json' \
--data request.json http://localhost/api/image-builder-composer/v2/compose

A simple request.json looks like this:

{
  "distribution": "fedora-38",
  "image_request":
    {
      "architecture": "x86_64",
      "image_type": "guest-image",
      "upload_options": {},
      "repositories": [
          {
            "name": "fedora",
            "metalink": "https://mirrors.fedoraproject.org/metalink?repo=fedora-38&arch=x86_64",
            "check_gpg": false
          },
          {
            "name": "updates",
            "metalink": "https://mirrors.fedoraproject.org/metalink?repo=updates-released-f38&arch=x86_64",
            "check_gpg": false
          }
      ]
    }
}
2024-01-15 11:48:35 +01:00
..
gen-manifests cmd/gen-manifests: fix compilation with the latest images 2023-10-10 08:17:49 +02:00
mock-dnf-json mock-dnf-json: Add support for search command 2022-08-23 22:47:46 +01:00
osbuild-auth-tests Remove old build tag comments 2023-03-07 09:22:23 -08:00
osbuild-composer cloudapi: Listen on /run/cloudapi/api.socket 2024-01-15 11:48:35 +01:00
osbuild-composer-cli-tests Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
osbuild-composer-dbjobqueue-tests Remove old build tag comments 2023-03-07 09:22:23 -08:00
osbuild-composer-image-definitions split: replace internal packages with images library 2023-07-10 21:11:19 +02:00
osbuild-dnf-json-tests Adjust code to new version of osbuild/images 2023-12-06 17:32:18 +01:00
osbuild-image-tests Adjust code to new version of osbuild/images 2023-12-06 17:32:18 +01:00
osbuild-koji Worker/koji-finalize: import osbuild manifest and log to Koji build 2023-09-27 12:39:28 +02:00
osbuild-koji-tests Worker/koji-finalize: import osbuild manifest and log to Koji build 2023-09-27 12:39:28 +02:00
osbuild-mock-openid-provider Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
osbuild-package-sets split: replace internal packages with images library 2023-07-10 21:11:19 +02:00
osbuild-pipeline cloudapi: Add module_hotfixes flag 2023-12-20 09:02:06 +01:00
osbuild-playground deps: update images to v0.24.0 2023-12-14 22:21:09 +01:00
osbuild-service-maintenance jobqueue: add ability to track workers 2023-12-06 17:22:36 +01:00
osbuild-store-dump Adjust code to new version of osbuild/images 2023-12-06 17:32:18 +01:00
osbuild-upload-aws AWS: extend target options with the AMI boot mode 2023-05-19 13:24:39 +02:00
osbuild-upload-azure azure: add an option to tag page blobs 2022-06-13 21:06:01 +02:00
osbuild-upload-container split: replace internal packages with images library 2023-07-10 21:11:19 +02:00
osbuild-upload-gcp build(deps): bump cloud.google.com/go/compute from 1.10.0 to 1.19.3 2023-05-22 11:51:42 +02:00
osbuild-upload-generic-s3 awscloud: add option to mark S3 object as public 2022-09-19 22:56:36 +02:00
osbuild-upload-oci internal/target: add OCI object storage target 2023-09-19 22:57:06 +02:00
osbuild-upload-pulp-ostree cmd: update the final message in osbuild-upload-pulp-ostree 2023-10-18 21:14:46 +02:00
osbuild-worker osbuild-worker: add pulp configuration 2023-10-18 21:14:46 +02:00