debian-forge-composer/internal
Achilleas Koutsou 0eb999d510 cloudapi: remove ostree from imageRequest
Use ostree.ImageOptions for the request parameters instead of a
SourceSpec on the imageRequest.

When preparing the image request, add the ostree values from the API's
compose request to the ostree options on the image options of the image
request.

It's not necessary to create a source spec and it's also not necessary
to add the default ref when it's not specified in the request for an
ostree-based image type.  Both of these will be handled by the Manifest
generation based on the ostree options (imageOptions.OSTree).  The image
functions will take care of setting any missing parameters or returning
errors if any required parameters are missing.
2023-06-14 11:19:29 +02:00
..
artifact artifact: this represents the artifacts a manifest exports 2022-07-22 16:04:07 +02:00
auth Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
blueprint internal/rpmmd: change ignoressl to pointer 2023-05-31 16:24:36 +02:00
boot distro: remove architecture names and use platform enum 2023-05-31 16:40:07 +02:00
client tests: Add a test for freezing a blueprint with globs 2023-05-19 08:14:33 -07:00
cloud internal/GCP: remove all remaining uses of cloudbuild 2023-05-24 19:28:06 +02:00
cloudapi cloudapi: remove ostree from imageRequest 2023-06-14 11:19:29 +02:00
common upload/azure: migrate from azure-storage-blob-go to azure-sdk-for-go 2023-04-04 09:09:43 +02:00
container container: create a SourceSpec for the resolve parameters 2023-05-31 16:40:07 +02:00
crypt Remove old build tag comments 2023-03-07 09:22:23 -08:00
disk internal/disk: Remove RequiredSizes property. 2023-03-20 11:04:14 +01:00
distro ostree: rewrite Resolve() to take SourceSpec and return CommitSpec 2023-06-14 11:19:29 +02:00
distroregistry fedora: f36 went EOL 2023-06-05 18:14:34 +02:00
dnfjson fedora: f36 went EOL 2023-06-05 18:14:34 +02:00
environment environment: encapsulate the environment images are deployed to 2022-07-07 12:00:56 +01:00
fdo New package: fdo 2022-12-11 12:37:37 +00:00
fsnode internal/fsnode: add API for custom directories and files 2023-02-22 12:17:36 +01:00
ignition ignition: drop embedded provisioning url 2023-02-07 13:30:22 +01:00
image image: add ostree commit source when initialising manifest 2023-06-14 11:19:29 +02:00
jobqueue worker/server: requeue unresponsive jobs 2022-11-02 15:26:00 +01:00
jsondb Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
manifest manifest: add a Distro enum to the Manifest 2023-06-14 11:19:29 +02:00
mocks internal/rpmmd: change ignoressl to pointer 2023-05-31 16:24:36 +02:00
osbuild osbuild: Add validation error logging 2023-06-09 11:38:29 +02:00
oscap oscap: add oscap package 2022-08-04 18:19:06 +02:00
ostree ostree: rewrite Resolve() to take SourceSpec and return CommitSpec 2023-06-14 11:19:29 +02:00
pathpolicy distro: add dir / files customizations policy check 2023-02-22 12:17:36 +01:00
platform distro: remove architecture names and use platform enum 2023-05-31 16:40:07 +02:00
prometheus prometheus:: add arch label to dequeue metrics 2023-03-09 18:47:57 +01:00
remotefile remotefile: Use io.ReadAll not ioutil.ReadAll 2023-03-22 08:14:01 -07:00
reporegistry internal/rpmmd: RepoConfig baseurl change 2023-04-21 17:40:00 +02:00
rhsm rhsm: move FactsImageOptions to the rhsm/facts package 2023-05-31 16:40:07 +02:00
rpmmd internal/rpmmd: change ignoressl to pointer 2023-05-31 16:24:36 +02:00
runner runner: add platform-python only for RHEL 8+ 2023-01-25 20:37:12 +01:00
shell shell: new package for representing shell init configs internally 2023-03-30 18:40:12 +02:00
store manifest: add resolved commit specs to Serialize() 2023-06-14 11:19:29 +02:00
subscription subscription: new package for subscription options 2023-05-31 16:40:07 +02:00
target internal/vmware: add support for the GOVC_FOLDER option 2023-05-25 10:14:32 +02:00
test Update deprecated io/ioutil functions 2023-03-07 09:22:23 -08:00
upload internal/vmware: add support for the GOVC_FOLDER option 2023-05-25 10:14:32 +02:00
users users: convenience functions for converting from BP 2022-09-13 16:06:19 +01:00
weldr ostree: rewrite Resolve() to take SourceSpec and return CommitSpec 2023-06-14 11:19:29 +02:00
worker worker: update ostree job structs 2023-06-14 11:19:29 +02:00
workload workload: introduce abstraction to encapsulate image workloads 2022-07-07 12:00:56 +01:00
tools.go Remove old build tag comments 2023-03-07 09:22:23 -08:00