forked from osbuild/bootc-image-builder
-
Notifications
You must be signed in to change notification settings - Fork 1
[pull] main from osbuild:main #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
pull
wants to merge
222
commits into
centos-workstation:main
Choose a base branch
from
osbuild:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+2,019
−5,500
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Wei Shi <[email protected]>
Bumps the go-deps group with 2 updates in the /bib directory: [github.com/cheggaaa/pb/v3](https://github.com/cheggaaa/pb) and [github.com/osbuild/images](https://github.com/osbuild/images). Updates `github.com/cheggaaa/pb/v3` from 3.1.6 to 3.1.7 - [Commits](cheggaaa/pb@v3.1.6...v3.1.7) Updates `github.com/osbuild/images` from 0.120.0 to 0.121.0 - [Release notes](https://github.com/osbuild/images/releases) - [Commits](osbuild/images@v0.120.0...v0.121.0) --- updated-dependencies: - dependency-name: github.com/cheggaaa/pb/v3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: go-deps - dependency-name: github.com/osbuild/images dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-deps ... Signed-off-by: dependabot[bot] <[email protected]>
This commit adds support for files/directories in blueprint customizations. This needs osbuild/images#1227 Closes: #834
This commit adds a full integration test for the files/dir blueprint customizations.
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Add clarity about how when using a kickstart customization, other customization blocks are not supported. This is discussed here: #528
This release includes a fix for the issue that custom unmarshaled toml was marked in the metadata as "Undecoded()" [0]. With that we can enable strict checking for blueprint configuration again. [0] BurntSushi/toml#425
This reverts the relevant parts of commit f2ecdec.
When building the anaconda-iso from centos or fedora there is a high chance to hit a bad mirror. The libcurl method is not able to fallback to different mirrors so the user experience is bad. Switch to librepo by default therefore. Closes: #835
This reverts commit c4c3470.
A major part of this update is the ability to use mount units instead of defining mountpoints in /etc/fstab. For bootc disk images, this is always enabled [1] and requires no further configuration. Closes #756 [1] osbuild/images@43f1a32
We need to import the fixtures and use them indirectly, which makes it appear like an unused import. Instead of disabling the linter on the line, let's suppress the warning by using _ as the import name. I find this nicer.
Some tests rely on reading the fstab options from the manifest to verify that filesystems and swap partitions generate the right options. These have been changed to instead look for org.osbuild.systemd.unit.create stages with filenames ending in .mount and .swap.
Some packages have been moved to `image-builder-cli`. Add this dependency and move the import paths over. Signed-off-by: Simon de Vlieger <[email protected]>
This commit adds support for more debug for `qemu-user` options. When settings: ``` $ sudo IMAGE_BUILDER_EXPERIMENAL=debug-qemu-user bootc-image-builder ... ``` extra debug from qemu-user will be printed. This hopefully helps to track down the root cause of podman-desktop/extension-bootc#1475
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6 to 7. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](golangci/golangci-lint-action@v6...v7) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps the go-deps group in /bib with 1 update: [github.com/osbuild/images](https://github.com/osbuild/images). Updates `github.com/osbuild/images` from 0.129.0 to 0.130.0 - [Release notes](https://github.com/osbuild/images/releases) - [Commits](osbuild/images@v0.129.0...v0.130.0) --- updated-dependencies: - dependency-name: github.com/osbuild/images dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-deps ... Signed-off-by: dependabot[bot] <[email protected]>
20.04 is EOL soon.
This commit converts bib to use the new blueprint package from github.com/osbuild/blueprint for better compatibility with composer and our documentation. It also bumps the version of the TOML library so that we get PR#440.
This reverts commit f2c16ad.
By moving the LVM disk customization test to TOML we will catch issues with our TOML parsing early, i.e. we can catch the regression we encountered when applying strict TOML parsing. This is also tested in osbuild/blueprint#12 but having it here again for good measure is a good idea.
Bumps the go-deps group in /bib with 1 update: [github.com/osbuild/blueprint](https://github.com/osbuild/blueprint). Updates `github.com/osbuild/blueprint` from 1.5.0 to 1.6.0 - [Release notes](https://github.com/osbuild/blueprint/releases) - [Commits](osbuild/blueprint@v1.5.0...v1.6.0) --- updated-dependencies: - dependency-name: github.com/osbuild/blueprint dependency-version: 1.6.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: go-deps ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [sclorg/testing-farm-as-github-action](https://github.com/sclorg/testing-farm-as-github-action) from 3 to 4. - [Release notes](https://github.com/sclorg/testing-farm-as-github-action/releases) - [Commits](sclorg/testing-farm-as-github-action@v3...v4) --- updated-dependencies: - dependency-name: sclorg/testing-farm-as-github-action dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
This commit enables testing for centos10 based installer images. The fix https://gitlab.com/libosinfo/osinfo-db/-/commit/fc811ba5a792967e22a0108de5a245b23da3cc66 is now released.
The rtl8139 prints a lot of ``` qemu: Slirp: Failed to send packet, ret: -1 ... ``` while booting. This is a bit silly, it just means the system is not ready yet. By switching to the emulated e1000 NIC this won't happen.
Now that this is used elsewhere to import vmtest we need to add the vmtest depdencies here.
The images tests run custom script on the generated image so we need a way to copy things into the images. Use scp() for that.
The images test tooling gets quite unhappy if files are created in the image directory so lets move things to /tmp.
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
…stargz to v0.18.1 Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
…v1.3.0 Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v5...v6) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
This is a workaround for the fact that paramiko has issue with the private key loading. Try to manually load all supported paramiko key classes and instanciate a private key from them.
…s to v0.9.4 Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
This integrates the new checks for the blueprint options that we have in the bootc image type. Show them to stderr as warnings by default to not break existing workflows (in ibcli they are a hard error unless --ignore-warnings is given).
Just use os.WriteFile() intead of reimplementing it.
And replace with ssh/scp binaries. This is probably more robust than paramiko and more "standard". As a side effect we do no longer request an explicit tty. We could force that with "-t" in ssh but we did that with paramiko and that caused issues that e.g. "systemctl" would detect a tty and go into pager mode. So lets start without and we can always add "-t" to our ssh invocation to force it.
Small helper to retry ssh to avoid flakyness when a VM closes the connection too early.
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
This will pull in osbuild/images#2037 to fix a selinux label issue. Thanks to Alex for fixing this in images.
Now that the "images" library contains the vmtest testing helpers we use that and remove ouuse that and remove our own copy..
This ports the existing code to the new vmtest.vm.run() code as proposed in images PR#2036.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )