dependabot[bot]
ea19341897
build(deps): bump actions/setup-go from 1 to 2.1.4
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 1 to 2.1.4.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v1...v2.1.4 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-04 12:13:36 +02:00
sanne
4a057bf3d5
auth: OpenID/OAUth2 middleware
...
2 configurations for the listeners are now possible:
- enableJWT=false with client ssl auth
- enableJWT=true with https
Actual verification of the tokens is handled by
https://github.com/openshift-online/ocm-sdk-go .
An authentication handler is run as the top level handler, before any
routing is done. Routes which do not require authentication should be
listed as exceptions.
Authentication can be restricted using an ACL file which allows
filtering based on JWT claims. For more information see the inline
comments in ocm-sdk/authentication.
As an added quirk the `-v` flag for the osbuild-composer executable was
changed to `-verbose` to avoid flag collision with glog which declares
the `-v` flag in the package `init()` function. The ocm-sdk depends on
glog and pulls it in.
2021-09-04 02:48:52 +02:00
sanne
58613788bc
composer: Move external import to the right place
2021-09-04 02:48:52 +02:00
sanne
5e72636331
Revert "cloudapi: Add x-rh-identity header filter"
...
This reverts commit 19db3ff1d4 .
2021-09-04 02:48:52 +02:00
sanne
7a0ea5b244
worker: Remove identity filter
...
Partially reverts "0ea31c39d5 "
2021-09-04 02:48:52 +02:00
yih
c6255b4fea
check greenboot log
...
Signed-off-by: Antonio Murdaca <runcom@linux.com>
2021-09-03 23:29:08 +02:00
Antonio Murdaca
806bb375ee
internal/distro/rhel85: move systemd logs kargs to the installer image
...
Signed-off-by: Antonio Murdaca <runcom@linux.com>
2021-09-03 23:29:08 +02:00
dependabot[bot]
23f1526160
build(deps): bump github.com/Azure/go-autorest/autorest
...
Bumps [github.com/Azure/go-autorest/autorest](https://github.com/Azure/go-autorest ) from 0.10.0 to 0.11.20.
- [Release notes](https://github.com/Azure/go-autorest/releases )
- [Changelog](https://github.com/Azure/go-autorest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Azure/go-autorest/compare/autorest/v0.10.0...autorest/v0.11.20 )
---
updated-dependencies:
- dependency-name: github.com/Azure/go-autorest/autorest
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 23:23:09 +02:00
dependabot[bot]
3ccdf85295
build(deps): bump github.com/golang/protobuf from 1.4.3 to 1.5.2
...
Bumps [github.com/golang/protobuf](https://github.com/golang/protobuf ) from 1.4.3 to 1.5.2.
- [Release notes](https://github.com/golang/protobuf/releases )
- [Commits](https://github.com/golang/protobuf/compare/v1.4.3...v1.5.2 )
---
updated-dependencies:
- dependency-name: github.com/golang/protobuf
dependency-type: direct:production
update-type: version-update:semver-minor
...
Ondřej: I also fixed a deprecated call.
Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2021-09-03 18:23:54 +02:00
Juan Abia
d7bdd0efba
schedule depandabot checks
...
schedule checks so they happen at 4:00am UTC. This way gitlab CI doesn't get
blocked during working hours.
2021-09-03 15:32:36 +02:00
Martin Sehnoutka
cd0d450c3a
distro: introduce Fedora 36 alias
...
Fedora 35 has been branched. Introduce an alias for Fedora 36 as it is
the current rawhide. Source of the GPG key:
https://raw.githubusercontent.com/xsuchy/distribution-gpg-keys/main/keys/fedora/RPM-GPG-KEY-fedora-36-primary
2021-09-03 15:05:00 +02:00
Jakub Rusz
437ba8cb33
ci: update terraform sha
...
This change enables to use newer rhel-9 openstack runners.
2021-09-03 11:15:32 +02:00
Diaa Sami
66a6e4de8c
rhel90: fix libvirt_test
...
Test was adapted to both weldr-client and composer-cli
2021-09-03 11:15:32 +02:00
dependabot[bot]
839a708755
build(deps): bump github.com/gophercloud/gophercloud
...
Bumps [github.com/gophercloud/gophercloud](https://github.com/gophercloud/gophercloud ) from 0.11.0 to 0.20.0.
- [Release notes](https://github.com/gophercloud/gophercloud/releases )
- [Changelog](https://github.com/gophercloud/gophercloud/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gophercloud/gophercloud/compare/v0.11.0...v0.20.0 )
---
updated-dependencies:
- dependency-name: github.com/gophercloud/gophercloud
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-03 09:18:42 +02:00
Alexander Todorov
24727bb2e3
Disable automatic rebase for Dependabot
2021-09-03 08:27:01 +02:00
Simon Steinbeiss
16be38ebf6
Add support for packit
...
This is based on the packit configuration of osbuild.
COPR builds are not enabled because we are building RPMs ourselves
already.
2021-09-02 23:06:51 +02:00
Ondřej Budai
7c328f7fbc
schutzbot: disable /tmp as tmpfs on RHEL 9
...
This should fix the randomly failing test. See the comment for more
information.
Fixes #1718
Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2021-09-02 19:35:08 +02:00
Diaa Sami
c35097fd52
Support for temporary credentials
...
Handle session token so that temporary credentials are supported
2021-09-02 15:13:42 +02:00
dependabot[bot]
96e79162fb
build(deps): bump ludeeus/action-shellcheck from 0.5.0 to 1.1.0
...
Bumps [ludeeus/action-shellcheck](https://github.com/ludeeus/action-shellcheck ) from 0.5.0 to 1.1.0.
- [Release notes](https://github.com/ludeeus/action-shellcheck/releases )
- [Commits](https://github.com/ludeeus/action-shellcheck/compare/0.5.0...1.1.0 )
---
updated-dependencies:
- dependency-name: ludeeus/action-shellcheck
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-02 14:58:01 +02:00
Tomas Hozza
79227bdf28
Test: use cloud-tools container in aws.sh
...
Signed-off-by: Tomas Hozza <thozza@redhat.com>
2021-09-02 11:55:25 +02:00
Tomas Hozza
8c9045a216
Test: use cloud-tools container in azure.sh
...
Signed-off-by: Tomas Hozza <thozza@redhat.com>
2021-09-02 11:55:25 +02:00
Jakub Rusz
d3cc8844c5
ci: run aws.sh and azure.sh tests on RHEL-9
2021-09-02 11:55:25 +02:00
Jakub Rusz
605a4ea80f
tests: workaround for terraform installation on RHEL-9
...
There is currently no hashicorp repository for RHEL-9 so fallback to
using RHEL-8 version instead.
2021-09-02 11:55:25 +02:00
Jakub Rusz
09a576ed07
tests: update azure.sh and aws.sh for use with weldr-client
...
This enables the tests to run with both original composer-cli and the new
weldr-client.
2021-09-02 11:55:25 +02:00
dependabot[bot]
d0bf28fbaf
build(deps): bump github.com/google/uuid from 1.1.2 to 1.3.0
...
Bumps [github.com/google/uuid](https://github.com/google/uuid ) from 1.1.2 to 1.3.0.
- [Release notes](https://github.com/google/uuid/releases )
- [Commits](https://github.com/google/uuid/compare/v1.1.2...v1.3.0 )
---
updated-dependencies:
- dependency-name: github.com/google/uuid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-02 10:25:43 +02:00
Chloe Kaubisch
86082c884d
cloudapi: fix compose return value
...
Correct compose successful return status from http.StatusOK to
http.StatusCreated. Mistakenly set to http.StatusOK in previous
commit.
2021-09-01 22:15:35 +02:00
Thomas Lavocat
8a6e0e2b75
cloudapi: correct format of error strings
...
Fixes bad formats for the error in the cloudapi.
2021-09-01 20:02:07 +02:00
dependabot[bot]
9ceeaa1dfd
build(deps): bump github.com/jackc/pgtype from 1.7.0 to 1.8.1
...
Bumps [github.com/jackc/pgtype](https://github.com/jackc/pgtype ) from 1.7.0 to 1.8.1.
- [Release notes](https://github.com/jackc/pgtype/releases )
- [Changelog](https://github.com/jackc/pgtype/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jackc/pgtype/compare/v1.7.0...v1.8.1 )
---
updated-dependencies:
- dependency-name: github.com/jackc/pgtype
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-09-01 16:17:14 +02:00
Ondřej Budai
97d6142609
ci: do not trigger gitlab CI on pushed to upstream branches
...
Dependabot pushes branches directly to the upstream repository. This causes
double-triggers of gitlab CI. Prevent it by running gitlab CI only for
the main branch.
Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2021-09-01 10:04:45 +02:00
Tomas Hozza
36dff5abe2
test/repos: update el9.0 rpmrepo snapshots used by CI to 20210827
...
Signed-off-by: Tomas Hozza <thozza@redhat.com>
2021-08-31 09:49:47 +02:00
Tomas Hozza
c479901a6b
test/repos: update el8.5 rpmrepo snapshots used by CI to 20210827
...
Signed-off-by: Tomas Hozza <thozza@redhat.com>
2021-08-31 09:49:47 +02:00
Tomas Hozza
b1d6466975
CI: enable API testing on RHEL-9
...
Signed-off-by: Tomas Hozza <thozza@redhat.com>
2021-08-31 09:49:47 +02:00
Tomas Hozza
1e2b9e3982
test/api.sh: run cloud CLI tools from a container
...
The 'google-cloud-sdk' RPM built by Google for RHEL, which provides
the 'gcloud' command, is built only with Python 2. Since Python 2.7
is already EOL in upstream and not available in CentOS Stream 9, we
can not use 'gcloud' from the 'google-cloud-sdk' RPM.
The 'awscli' is not available in RHEL-9 repositories.
The Azure CLI 'az' available in official upstream repositories has
broken dependencies on RHEL-9 and can not be successfully installed. To
workaround the issue, run the tool from the official container image
provided by Microsoft.
Use the `quay.io/osbuild/cloud-tools` F34-based container image instead
of locally installed cloud CLI tools.
Signed-off-by: Tomas Hozza <thozza@redhat.com>
2021-08-31 09:49:47 +02:00
Tomas Hozza
03127ded43
test/api.sh: use 'ec2-user' to log into RHEL-9 AMI images
...
The RHEL-8.5 and RHEL-9.0 `ami` images are now based on the official
RHEL EC2 images. As a result, they use a different default user -
`ec2-user`.
Fix the `api.sh` test case to use the correct user when testing RHEL-9
`ami` images.
Fix #1632
Signed-off-by: Tomas Hozza <thozza@redhat.com>
2021-08-31 09:49:47 +02:00
yih
e8c3fb94f0
add bios test for raw image
2021-08-31 09:32:23 +02:00
Ondřej Budai
8f21f0b873
33
...
Release osbuild-composer 33
Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2021-08-30 19:03:46 +02:00
Ondřej Budai
8dc316407c
docs/news: add an entry about fixing RHEL 9.0 edge images
...
Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2021-08-30 18:22:58 +02:00
Ondřej Budai
8893585e31
test/rhel90: use newer snapshot and regenerate test manifests
...
Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2021-08-30 18:22:58 +02:00
Ondřej Budai
c5fb118855
distro/rhel90: remove iwl6000-firmware from package sets
...
This package is no longer available in RHEL 9, let's drop it from our
definition.
Fixes #1696
Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2021-08-30 18:22:58 +02:00
Xiaofeng Wang
61f03a6018
test: Update ostreesetup url in kickstart to work with new change
...
New change "distro/rhel85: move payloads to iso root" changed
ostree repo path. Test shoud be updated accordingly.
2021-08-30 12:50:38 +02:00
Christian Kellner
3dfc997992
distro/rhel85: move payloads to iso root
...
Move the ostree repository and the tar image to the root of the
boot iso. This has several advantages: we do no longer have to
correctly guess the size of the anaconda image. Also we do not
need to compress the payload within the squashfs.
Update the image installer's test data. NB: the changes to the
package list were introduced earlier and should mostly affect
the build pipeline. Should have caught is in the corresponding
change, but was apparently not picked up by CI.
2021-08-30 12:50:38 +02:00
Simon Steinbeiss
63fe1c4c83
32
...
Release osbuild-composer 32
Signed-off-by: Simon Steinbeiss <simon.steinbeiss@redhat.com>
Co-Developed-by: Christian Kellner <christian@kellner.me>
Co-Developed-by: Tom Gundersen <teg@jklm.no>
2021-08-28 16:41:26 +02:00
Christian Kellner
230572c121
ci: unpin osbuild for RHEL 9.0
...
Take osbuild from the nightlies.
2021-08-28 09:20:19 +02:00
yih
68cfe2ee58
distro/rhel85: add tests for edge raw image
...
Test the newly added RHEL for Edge 8.5 raw images, based on
the existing OSTree tests.
2021-08-28 09:20:19 +02:00
Christian Kellner
1a063680b5
distro/rhel85: add support for edge raw images
...
OSBuild Composer can now build the RHEL 8.5 Raw Images. This images are
compressed raw images, i.e. a file that has a partition layout with an
deployed OSTree commit in it. It can be used to flash onto a hard drive
or booted in a virtual machine. An existing OSTree commit needs to
be provided.
The following image new types are supported: edge-raw-image.
2021-08-28 09:20:19 +02:00
Christian Kellner
c6b2d3009b
distro/rhel85: partition table for edge + aarch64
...
Define the partition layout for RHEL for Edge images on arm64.
2021-08-28 09:20:19 +02:00
Christian Kellner
1054eab392
distro/rhel85: extract edge image pipelines
...
Extract the pipelines that create the edge raw image so that we can
expose that as its own image type.
2021-08-28 09:20:19 +02:00
Christian Kellner
0612d14502
distro/rhel85: aarch64 support for edge installers
...
All RHEL for Edge installer should be supported on aarch64 now.
2021-08-28 09:20:19 +02:00
Christian Kellner
97b20ca0da
distro/rhel85: aarch64 support for bootiso mono
...
Add aarch64 support for the bootiso.mono stage: select the proper efi
architecture and include isolinux only on x86.
2021-08-28 09:20:19 +02:00
Christian Kellner
3e90d66f5c
distro/rhel85: no biosdevname on aarch64
...
Do not include the biosdevname dracut module on aarch64, where it
does not exist.
2021-08-28 09:20:19 +02:00