509fd4 osbuild-composer-26 base

Authored and Committed by Packit Service 3 years ago
328 files changed. 422334 lines added. 1866 lines removed.
.github/PULL_REQUEST_TEMPLATE.md
file added
+13
.github/workflows/tests.yml
file modified
+32 -51
.gitignore
file modified
+2 -9
DEPLOYING.md
file added
+53
HACKING.md
file added
+44
Makefile
file modified
+59 -44
NEWS.md
file modified
+172 -4
README.md
file modified
+3 -3
Schutzfile
file added
+21
cmd/cloud-cleaner/main.go
file added
+54
cmd/osbuild-auth-tests/certificates.go
file added
+187
cmd/osbuild-auth-tests/main_test.go
file added
+174
cmd/osbuild-composer-cli-tests/main_test.go
file added
+372
cmd/osbuild-composer/composer.go
file added
+293
cmd/osbuild-composer/config.go
file added
+31
cmd/osbuild-composer/config_test.go
file added
+37
cmd/osbuild-composer/main.go
file modified
+61 -125
cmd/osbuild-composer/testdata/empty-config.toml
file added
+0
cmd/osbuild-composer/testdata/test.toml
file added
+7
cmd/osbuild-dnf-json-tests/main_test.go
file modified
+2 -2
cmd/osbuild-image-tests/constants/constants.go
file modified
+4 -4
cmd/osbuild-image-tests/main_test.go
file modified
+67 -55
cmd/osbuild-koji-tests/main_test.go
file added
+215
cmd/osbuild-koji/main.go
file modified
+22 -16
cmd/osbuild-pipeline/main.go
file modified
+7 -3
cmd/osbuild-store-dump/main.go
file modified
+1 -1
cmd/osbuild-upload-aws/main.go
file modified
+9 -1
cmd/osbuild-worker/jobimpl-koji-finalize.go
file added
+215
cmd/osbuild-worker/jobimpl-koji-init.go
file added
+74
cmd/osbuild-worker/jobimpl-osbuild-koji.go
file added
+111
cmd/osbuild-worker/jobimpl-osbuild.go
file added
+318
cmd/osbuild-worker/main.go
file modified
+86 -191
cmd/osbuild-worker/main_test.go
file added
+101
cmd/osbuild-worker/osbuild.go
file modified
+23 -23
distribution/osbuild-composer-api.socket
file added
+9
distribution/osbuild-composer.service
file modified
+4 -1
distribution/osbuild-composer.socket
file modified
+1 -2
distribution/osbuild-local-worker.socket
file added
+9
distribution/osbuild-remote-worker.socket
file modified
+1 -1
distribution/osbuild-remote-worker@.service
file modified
+3 -0
distribution/osbuild-worker@.service
file modified
+2 -2
go.mod
file modified
+8 -4
go.sum
file modified
+46 -7
internal/boot/aws.go
file added
+276
internal/boot/azuretest/azure.go
file added
+341
internal/boot/azuretest/deployment.go
file added
+56
internal/boot/context-managers.go
file added
+271
internal/boot/helpers.go
file added
+52
internal/boot/netns.go
file added
+148
internal/boot/openstacktest/openstack.go
file added
+133
internal/boot/vmwaretest/vmware.go
file added
+228
internal/cloudapi/openapi.gen.go
file added
+533
internal/cloudapi/openapi.yml
file added
+256
internal/cloudapi/server.go
file added
+283
internal/common/states.go
file modified
+0 -28
internal/common/states_test.go
file modified
+4 -6
internal/disk/disk.go
file added
+127
internal/distro/distro.go
file modified
+34 -4
internal/distro/distro_test.go
file modified
+7 -5
internal/distro/distro_test_common/distro_test_common.go
file modified
+13 -2
internal/distro/fedora32/distro.go
file modified
+2 -1
internal/distro/fedora32/distro_test.go
file modified
+1 -1
internal/distro/fedora33/distro.go
file added
+839
internal/distro/fedora33/distro_test.go
file added
+344
internal/distro/fedoratest/distro.go
file modified
+2 -1
internal/distro/rhel8/distro.go
file modified
+17 -1
internal/distro/rhel8/distro_test.go
file modified
+1 -1
internal/distro/rhel84/distro.go
file added
+1187
internal/distro/rhel84/distro_test.go
file added
+409
internal/distro/test_distro/distro.go
file modified
+1 -1
internal/jobqueue/fsjobqueue/fsjobqueue.go
file modified
+34 -59
internal/jobqueue/fsjobqueue/fsjobqueue_test.go
file modified
+77 -36
internal/jobqueue/jobqueue.go
file modified
+8 -7
internal/jobqueue/testjobqueue/testjobqueue.go
file modified
+10 -45
internal/kojiapi/api/api.gen.go
file added
+177
internal/kojiapi/api/api.go
file added
+3
internal/kojiapi/api/openapi.yml
file added
+256
internal/kojiapi/server.go
file added
+406
internal/kojiapi/server_internal_test.go
file added
+24
internal/kojiapi/server_test.go
file added
+383
internal/osbuild/first_boot_stage.go
file added
+15
internal/osbuild/first_boot_stage_test.go
file added
+16
internal/osbuild/osbuild_test.go
file modified
+4 -4
internal/osbuild/result.go
file added
+125
internal/osbuild/result_test.go
file added
+163
internal/osbuild/rpm_stage.go
file modified
+19 -0
internal/store/fixtures.go
file modified
+2 -2
internal/store/store_test.go
file modified
+1 -1
internal/target/aws_target.go
file modified
+7 -6
internal/target/koji_target.go
file added
+20
internal/target/target.go
file modified
+2 -0
internal/test/helpers.go
file modified
+27 -9
internal/upload/awsupload/awsupload.go
file modified
+87 -9
internal/upload/koji/koji.go
file modified
+219 -100
internal/upload/koji/xmlrpc-response-oldapi.go
file added
+33
internal/upload/koji/xmlrpc-response.go
file added
+34
internal/upload/vmware/vmware.go
file added
+23
internal/weldr/api.go
file modified
+95 -35
internal/weldr/api_test.go
file modified
+7 -18
internal/weldr/compose.go
file modified
+4 -4
internal/weldr/upload.go
file modified
+5 -5
internal/worker/api/api.gen.go
file added
+162
internal/worker/api/api.go
file added
+5
internal/worker/api/openapi.yml
file added
+208
internal/worker/client.go
file modified
+178 -67
internal/worker/json.go
file modified
+65 -21
internal/worker/server.go
file modified
+236 -167
internal/worker/server_test.go
file modified
+74 -72
krb5.conf
file added
+7
osbuild-composer.spec
file modified
+148 -35
repositories/fedora-33.json
file added
+58
schutzbot/Jenkinsfile
file modified
+346 -47
schutzbot/ci_details.sh
file modified
+9 -0
schutzbot/deploy.sh
file modified
+55 -35
schutzbot/mockbuild.sh
file modified
+58 -90
schutzbot/prepare-rhel-nightly.sh
file added
+54
schutzbot/run_cloud_cleaner.sh
file added
+7
schutzbot/team_ssh_keys.txt
file modified
+5 -3
test/README.md
file modified
+81 -33
test/cases/api.sh
file added
+196
test/cases/aws.sh
file added
+286
test/cases/base_tests.sh
file added
+67
test/cases/image_tests.sh
file added
+107
test/cases/koji.sh
file added
+84
test/cases/libvirt.sh
file added
+18
test/cases/ostree.sh
file added
+476
test/data/ansible/check_ostree.yaml
file added
+522
test/data/azure/deployment-template.json
file added
+198
test/data/cloud-init/meta-data
file added
+2
test/data/cloud-init/network-config
file added
+14
test/data/cloud-init/user-data
file added
+11
test/data/composer/osbuild-composer.toml
file added
+7
test/data/composer/osbuild-worker.toml
file added
+3
test/data/kerberos/krb5-local.conf
file added
+8
test/data/keyring/id_rsa
file added
+27
test/data/keyring/id_rsa.pub
file added
+1
test/data/koji/koji.conf
file added
+70
test/data/manifests/fedora_32-aarch64-ami-boot.json
file added
+9479
test/data/manifests/fedora_32-aarch64-openstack-boot.json
file added
+9851
test/data/manifests/fedora_32-aarch64-qcow2-boot.json
file added
+9326
test/data/manifests/fedora_32-x86_64-ami-boot.json
file added
+9711
test/data/manifests/fedora_32-x86_64-fedora_iot_commit-boot.json
file added
+10744
test/data/manifests/fedora_32-x86_64-openstack-boot.json
file added
+10083
test/data/manifests/fedora_32-x86_64-qcow2-boot.json
file added
+9666
test/data/manifests/fedora_32-x86_64-qcow2-customize.json
file added
+9774
test/data/manifests/fedora_32-x86_64-vhd-boot.json
file added
+9286
test/data/manifests/fedora_32-x86_64-vmdk-boot.json
file added
+9400
test/data/manifests/fedora_33-aarch64-ami-boot.json
file added
+10422
test/data/manifests/fedora_33-x86_64-ami-boot.json
file added
+9954
test/data/manifests/fedora_33-x86_64-fedora_iot_commit-boot.json
file added
+11202
test/data/manifests/fedora_33-x86_64-openstack-boot.json
file added
+10289
test/data/manifests/fedora_33-x86_64-qcow2-boot.json
file added
+9842
test/data/manifests/fedora_33-x86_64-qcow2-customize.json
file added
+9944
test/data/manifests/fedora_33-x86_64-vhd-boot.json
file added
+9529
test/data/manifests/fedora_33-x86_64-vmdk-boot.json
file added
+9842
test/data/manifests/rhel_8-aarch64-ami-boot.json
file added
+9355
test/data/manifests/rhel_8-aarch64-openstack-boot.json
file added
+9967
test/data/manifests/rhel_8-aarch64-qcow2-boot.json
file added
+10199
test/data/manifests/rhel_8-aarch64-rhel_edge_commit-boot.json
file added
+8755
test/data/manifests/rhel_8-aarch64-tar-boot.json
file added
+5653
test/data/manifests/rhel_8-ppc64le-qcow2-boot.json
file added
+10990
test/data/manifests/rhel_8-ppc64le-tar-boot.json
file added
+5756
test/data/manifests/rhel_8-s390x-qcow2-boot.json
file added
+10910
test/data/manifests/rhel_8-s390x-tar-boot.json
file added
+6304
test/data/manifests/rhel_8-x86_64-ami-boot.json
file added
+9333
test/data/manifests/rhel_8-x86_64-openstack-boot.json
file added
+9972
test/data/manifests/rhel_8-x86_64-qcow2-boot.json
file added
+10172
test/data/manifests/rhel_8-x86_64-qcow2-customize.json
file added
+10264
test/data/manifests/rhel_8-x86_64-rhel_edge_commit-boot.json
file added
+9066
test/data/manifests/rhel_8-x86_64-tar-boot.json
file added
+5728
test/data/manifests/rhel_8-x86_64-vhd-boot.json
file added
+9882
test/data/manifests/rhel_8-x86_64-vmdk-boot.json
file added
+9587
test/data/manifests/rhel_84-x86_64-ami-boot.json
file added
+9221
test/data/manifests/rhel_84-x86_64-openstack-boot.json
file added
+9849
test/data/manifests/rhel_84-x86_64-qcow2-boot.json
file added
+10222
test/data/manifests/rhel_84-x86_64-qcow2-customize.json
file added
+10336
test/data/manifests/rhel_84-x86_64-vhd-boot.json
file added
+9759
test/data/manifests/rhel_84-x86_64-vmdk-boot.json
file added
+9368
test/data/repositories/fedora-32.json
file added
+24
test/data/repositories/fedora-33.json
file added
+52
test/data/repositories/rhel-8-beta.json
file added
+14
test/data/repositories/rhel-8.json
file added
+50
test/data/repositories/rhel-84.json
file added
+51
test/data/vendor/87-podman-bridge.conflist
file added
+41
test/data/vendor/README.md
file added
+9
test/data/vendor/dnsname
file added
+0
test/data/x509/openssl.cnf
file added
+85
tools/deploy-openstack
file added
+70
tools/deploy-qemu
file added
+73
tools/deploy/test/files/run/provision-scripts/deploy.sh
file added
+5
tools/deploy/test/user-data.yml
file added
+19
tools/gen-user-data
file added
+72
tools/koji-compose.py
file added
+106
tools/libvirt_test.sh
file added
+338
tools/prepare-source.sh
file modified
+7 -2
tools/provision.sh
file added
+123
tools/run-koji-container.sh
file added
+148
tools/test-case-generators/format-request-map.json
file modified
+167 -1
tools/test-case-generators/generate-test-cases
file modified
+11 -6
tools/test-case-generators/repos.json
file modified
+62 -12
vendor/github.com/davecgh/go-spew/LICENSE
file modified
+1 -1
vendor/github.com/davecgh/go-spew/spew/bypass.go
file modified
+90 -97
vendor/github.com/davecgh/go-spew/spew/bypasssafe.go
file modified
+1 -1
vendor/github.com/davecgh/go-spew/spew/common.go
file modified
+1 -1
vendor/github.com/davecgh/go-spew/spew/dump.go
file modified
+5 -5
vendor/github.com/davecgh/go-spew/spew/format.go
file modified
+2 -2
vendor/github.com/deepmap/oapi-codegen/LICENSE
file added
+201
vendor/github.com/deepmap/oapi-codegen/pkg/runtime/bindparam.go
file added
+447
vendor/github.com/deepmap/oapi-codegen/pkg/runtime/bindstring.go
file added
+116
vendor/github.com/deepmap/oapi-codegen/pkg/runtime/deepobject.go
file added
+332
vendor/github.com/deepmap/oapi-codegen/pkg/runtime/styleparam.go
file added
+337
vendor/github.com/deepmap/oapi-codegen/pkg/types/date.go
file added
+30
vendor/github.com/deepmap/oapi-codegen/pkg/types/email.go
file added
+27
vendor/github.com/deepmap/oapi-codegen/pkg/types/regexes.go
file added
+11
vendor/github.com/go-chi/chi/.gitignore
file added
+3
vendor/github.com/go-chi/chi/.travis.yml
file added
+18
vendor/github.com/go-chi/chi/CHANGELOG.md
file added
+139
vendor/github.com/go-chi/chi/CONTRIBUTING.md
file added
+31
vendor/github.com/go-chi/chi/LICENSE
file added
+20
vendor/github.com/go-chi/chi/README.md
file added
+438
vendor/github.com/go-chi/chi/chain.go
file added
+49
vendor/github.com/go-chi/chi/chi.go
file added
+134
vendor/github.com/go-chi/chi/context.go
file added
+161
vendor/github.com/go-chi/chi/mux.go
file added
+460
vendor/github.com/go-chi/chi/tree.go
file added
+846
vendor/github.com/kolo/xmlrpc/README.md
file modified
+2 -1
vendor/github.com/kolo/xmlrpc/encoder.go
file modified
+17 -10
vendor/github.com/kolo/xmlrpc/is_zero.go
file added
+44
vendor/github.com/labstack/echo/v4/.editorconfig
file added
+25
vendor/github.com/labstack/echo/v4/.gitattributes
file added
+20
vendor/github.com/labstack/echo/v4/.gitignore
file added
+7
vendor/github.com/labstack/echo/v4/.travis.yml
file added
+17
vendor/github.com/labstack/echo/v4/LICENSE
file added
+21
vendor/github.com/labstack/echo/v4/Makefile
file added
+3
vendor/github.com/labstack/echo/v4/README.md
file added
+113
vendor/github.com/labstack/echo/v4/bind.go
file added
+311
vendor/github.com/labstack/echo/v4/context.go
file added
+613
vendor/github.com/labstack/echo/v4/echo.go
file added
+844
vendor/github.com/labstack/echo/v4/go.mod
file added
+11
vendor/github.com/labstack/echo/v4/go.sum
file added
+34
vendor/github.com/labstack/echo/v4/group.go
file added
+124
vendor/github.com/labstack/echo/v4/log.go
file added
+41
vendor/github.com/labstack/echo/v4/response.go
file added
+104
vendor/github.com/labstack/echo/v4/router.go
file added
+443
vendor/github.com/labstack/gommon/LICENSE
file added
+22
vendor/github.com/labstack/gommon/color/README.md
file added
+86
vendor/github.com/labstack/gommon/color/color.go
file added
+407
vendor/github.com/labstack/gommon/log/README.md
file added
+5
vendor/github.com/labstack/gommon/log/color.go
file added
+13
vendor/github.com/labstack/gommon/log/log.go
file added
+416
vendor/github.com/labstack/gommon/log/white.go
file added
+12
vendor/github.com/mattn/go-colorable/.travis.yml
file added
+9
vendor/github.com/mattn/go-colorable/LICENSE
file added
+21
vendor/github.com/mattn/go-colorable/README.md
file added
+48
vendor/github.com/mattn/go-colorable/colorable_appengine.go
file added
+29
vendor/github.com/mattn/go-colorable/colorable_others.go
file added
+30
vendor/github.com/mattn/go-colorable/colorable_windows.go
file added
+1005
vendor/github.com/mattn/go-colorable/go.mod
file added
+3
vendor/github.com/mattn/go-colorable/go.sum
file added
+4
vendor/github.com/mattn/go-colorable/noncolorable.go
file added
+55
vendor/github.com/mattn/go-isatty/.travis.yml
file added
+13
vendor/github.com/mattn/go-isatty/LICENSE
file added
+9
vendor/github.com/mattn/go-isatty/README.md
file added
+50
vendor/github.com/mattn/go-isatty/doc.go
file added
+2
vendor/github.com/mattn/go-isatty/go.mod
file added
+5
vendor/github.com/mattn/go-isatty/go.sum
file added
+4
vendor/github.com/mattn/go-isatty/isatty_android.go
file added
+23
vendor/github.com/mattn/go-isatty/isatty_bsd.go
file added
+24
vendor/github.com/mattn/go-isatty/isatty_others.go
file added
+15
vendor/github.com/mattn/go-isatty/isatty_plan9.go
file added
+22
vendor/github.com/mattn/go-isatty/isatty_solaris.go
file added
+22
vendor/github.com/mattn/go-isatty/isatty_tcgets.go
file added
+19
vendor/github.com/mattn/go-isatty/isatty_windows.go
file added
+125
vendor/github.com/pkg/errors/.gitignore
file added
+24
vendor/github.com/pkg/errors/.travis.yml
file added
+10
vendor/github.com/pkg/errors/LICENSE
file added
+23
vendor/github.com/pkg/errors/Makefile
file added
+44
vendor/github.com/pkg/errors/README.md
file added
+59
vendor/github.com/pkg/errors/appveyor.yml
file added
+32
vendor/github.com/pkg/errors/errors.go
file added
+288
vendor/github.com/pkg/errors/go113.go
file added
+38
vendor/github.com/pkg/errors/stack.go
file added
+177
vendor/github.com/stretchr/testify/assert/assertion_format.go
file modified
+67 -11
vendor/github.com/stretchr/testify/assert/assertion_forward.go
file modified
+134 -22
vendor/github.com/stretchr/testify/assert/assertions.go
file modified
+173 -45
vendor/github.com/stretchr/testify/assert/forward_assertions.go
file modified
+1 -1
vendor/github.com/stretchr/testify/require/forward_requirements.go
file modified
+1 -1
vendor/github.com/stretchr/testify/require/require.go
file modified
+176 -34
vendor/github.com/stretchr/testify/require/require_forward.go
file modified
+134 -22
vendor/github.com/stretchr/testify/require/requirements.go
file modified
+1 -1
vendor/github.com/stretchr/testify/suite/suite.go
file modified
+6 -1
vendor/github.com/ubccr/kerby/.gitignore
file added
+1
vendor/github.com/ubccr/kerby/LICENSE
file added
+202
vendor/github.com/ubccr/kerby/README.rst
file added
+136
vendor/github.com/ubccr/kerby/base64.c
file added
+125
vendor/github.com/ubccr/kerby/base64.h
file added
+20
vendor/github.com/ubccr/kerby/kerberosgss.c
file added
+461
vendor/github.com/ubccr/kerby/kerberosgss.h
file added
+86
vendor/github.com/ubccr/kerby/kerby.go
file added
+268
vendor/github.com/ubccr/kerby/khttp/handler.go
file added
+39
vendor/github.com/ubccr/kerby/khttp/http.go
file added
+97
vendor/github.com/valyala/bytebufferpool/.travis.yml
file added
+15
vendor/github.com/valyala/bytebufferpool/LICENSE
file added
+22
vendor/github.com/valyala/bytebufferpool/README.md
file added
+21
vendor/github.com/valyala/bytebufferpool/bytebuffer.go
file added
+111
vendor/github.com/valyala/bytebufferpool/doc.go
file added
+7
vendor/github.com/valyala/bytebufferpool/pool.go
file added
+151
vendor/github.com/valyala/fasttemplate/LICENSE
file added
+22
vendor/github.com/valyala/fasttemplate/README.md
file added
+85
vendor/github.com/valyala/fasttemplate/go.mod
file added
+3
vendor/github.com/valyala/fasttemplate/go.sum
file added
+2
vendor/github.com/valyala/fasttemplate/template.go
file added
+317
vendor/github.com/valyala/fasttemplate/unsafe.go
file added
+22
vendor/github.com/valyala/fasttemplate/unsafe_gae.go
file added
+11
vendor/golang.org/x/crypto/acme/acme.go
file added
+1097
vendor/golang.org/x/crypto/acme/autocert/autocert.go
file added
+1249
vendor/golang.org/x/crypto/acme/autocert/cache.go
file added
+136
vendor/golang.org/x/crypto/acme/autocert/listener.go
file added
+157
vendor/golang.org/x/crypto/acme/autocert/renewal.go
file added
+141
vendor/golang.org/x/crypto/acme/http.go
file added
+321
vendor/golang.org/x/crypto/acme/jws.go
file added
+187
vendor/golang.org/x/crypto/acme/rfc8555.go
file added
+392
vendor/golang.org/x/crypto/acme/types.go
file added
+548
vendor/golang.org/x/crypto/acme/version_go112.go
file added
+27
vendor/gopkg.in/yaml.v2/apic.go
file modified
+1 -0
vendor/gopkg.in/yaml.v2/scannerc.go
file modified
+20 -27
vendor/gopkg.in/yaml.v2/yamlh.go
file modified
+1 -0
vendor/modules.txt
file modified
+77 -52
    osbuild-composer-26 base
    
        
file modified
+32 -51
file modified
+2 -9
file added
+53
file added
+44
file modified
+59 -44
file modified
+172 -4
file modified
+3 -3
file added
+21
file modified
+61 -125
empty file added
file modified
+22 -16
file modified
+7 -3
file modified
+86 -191
file modified
+23 -23
file modified
+8 -4
file modified
+46 -7
file added
+276
file added
+148
file modified
+0 -28
file added
+127
file modified
+34 -4
file modified
+19 -0
file modified
+2 -2
file modified
+1 -1
file modified
+2 -0
file modified
+27 -9
file modified
+219 -100
file modified
+95 -35
file modified
+7 -18
file modified
+4 -4
file modified
+5 -5
file modified
+178 -67
file modified
+65 -21
file modified
+236 -167
file modified
+74 -72
file added
+7
file modified
+148 -35
file modified
+346 -47
file modified
+9 -0
file modified
+55 -35
file modified
+58 -90
file modified
+5 -3
file modified
+81 -33
file added
+196
file added
+286
file added
+84
file added
+476
empty file added
file added
+73
file added
+72
file added
+106
file added
+338
file modified
+7 -2
file added
+123
file modified
+77 -52