osbuild-composer: merge cloud API into main binary
This removes the osbuild-composer-cloud package, binary, systemd units, the (unused) test binary, and the (only-run-on-RHEL) test in aws.sh. Instead, move the cloud API into the main package, using the same socket as the koji API, osbuild-composer-api.socket. Expose it next to the koji API on route `/api/composer/v1`. This is a backwards incompatible change, but only of the -cloud parts, which have been marked as subject to change.
This commit is contained in:
parent
835b556db7
commit
b25a350502
14 changed files with 50 additions and 428 deletions
3
Makefile
3
Makefile
|
|
@ -110,7 +110,6 @@ man: $(MANPAGES_TROFF)
|
|||
build:
|
||||
- mkdir bin
|
||||
go build -o bin/osbuild-composer ./cmd/osbuild-composer/
|
||||
go build -o bin/osbuild-composer-cloud ./cmd/osbuild-composer-cloud/
|
||||
go build -o bin/osbuild-worker ./cmd/osbuild-worker/
|
||||
go build -o bin/osbuild-pipeline ./cmd/osbuild-pipeline/
|
||||
go build -o bin/osbuild-upload-azure ./cmd/osbuild-upload-azure/
|
||||
|
|
@ -119,7 +118,6 @@ build:
|
|||
go test -c -tags=integration -o bin/osbuild-weldr-tests ./internal/client/
|
||||
go test -c -tags=integration -o bin/osbuild-dnf-json-tests ./cmd/osbuild-dnf-json-tests/main_test.go
|
||||
go test -c -tags=integration -o bin/osbuild-image-tests ./cmd/osbuild-image-tests/
|
||||
go test -c -tags=integration -o bin/osbuild-composer-cloud-tests ./cmd/osbuild-composer-cloud-tests/main_test.go
|
||||
go test -c -tags=integration -o bin/osbuild-auth-tests ./cmd/osbuild-auth-tests/
|
||||
|
||||
.PHONY: install
|
||||
|
|
@ -127,7 +125,6 @@ install:
|
|||
- mkdir -p /usr/libexec/osbuild-composer
|
||||
cp bin/osbuild-composer /usr/libexec/osbuild-composer/
|
||||
cp bin/osbuild-worker /usr/libexec/osbuild-composer/
|
||||
cp bin/osbuild-composer-cloud /usr/libexec/osbuild-composer/
|
||||
cp dnf-json /usr/libexec/osbuild-composer/
|
||||
- mkdir -p /usr/share/osbuild-composer/repositories
|
||||
cp repositories/* /usr/share/osbuild-composer/repositories
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue