Skip to content

Instantly share code, notes, and snippets.

View pvalena's full-sized avatar

Pavel Valena pvalena

View GitHub Profile
Running bootupctl to install bootloader
> bootupctl backend install --write-uuid --device /dev/loop0 /run/bootc/mounts/rootfs
Installed: grub.cfg
Installed: "centos/grub.cfg"
Trimming rootfs
/run/bootc/mounts/rootfs: 8 GiB (8601161728 bytes) trimmed
Finalizing filesystem rootfs
Unmounting filesystems
Installation complete!
Booting the VM...
Executing `bootc install to-disk` from container image quay.io/cgwalters/run-image-mode:multi to create disk image
Installing image: docker://quay.io/cgwalters/run-image-mode:multi
Digest: sha256:731711824fdacd2d9db1fec6265b21f2f78d8509a970c88b87720e6693ba118a
ignoring: --direct-io=off
Block setup: direct
Size: 10737418240
Serial: <unknown>
Model: <unknown>
Checking that no-one is using this disk right now ... OK
@pvalena
pvalena / tmt_virtual_help.txt
Last active September 23, 2024 14:03
TMT: get specific info about virtual provisioner using --help
$ tmt -c distro=fedora-rawhide run -vv --all provision -h virtual --help -i fedora:rawhide plans --default
Usage: tmt run provision [OPTIONS]
Local virtual machine using testcloud library.
Minimal config which uses the latest Fedora image:
provision:
how: virtual
#!/usr/bin/zsh
#
# ./fix.sh [options] RHEL_VERSION JIRA_ISSUE DRACUT_PR [COMMIT_COUNT [COMMITS_ORIGIN_REPO]]
#
set -xe
zsh -n "$0"
[[ -z "$EDITOR" ]] && EDITOR=nano
.distro/dracut.spec | 9 ++-
.distro/source-git.yaml | 6 +-
.github/labeler.yml | 20 +++++
.github/workflows/container.yml | 16 ++--
.github/workflows/integration.yml | 157 +++++++++++++++++++++++++++++++-------
.github/workflows/manualtest.yml | 4 +-
.packit.yml | 2 +-
modules.d/90crypt/parse-crypt.sh | 2 +-
8 files changed, 173 insertions(+), 43 deletions(-)
.distro/.gitignore | 2 +
.distro/dracut.spec | 1981 +++++++++++++++++++++++++
.distro/lgpl-2.1.txt | 502 +++++++
.distro/source-git.yaml | 22 +
.github/labeler.yml | 4 +
.github/pull_request_template.md | 11 +-
.github/workflows/container.yml | 42 +-
.github/workflows/differential-shellcheck.yml | 19 +
.github/workflows/integration.yml | 37 +-
.github/workflows/manualtest.yml | 10 +-
@pvalena
pvalena / test_ubi_rails-ex-2024-02-12.log
Last active February 14, 2024 01:47
Added Ruby 3.3 test as well.
+ ruby -v
ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-linux]
+ cp -r /my-app/ /tmp
+ cd /tmp/my-app
+ bundle config --local deployment true
+ bundle config --local without development:test
+ bundle install --path vendor
[DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set path 'vendor'`, and stop using this flag
Fetching gem metadata from https://rubygems.org/..........
--- rubygem-chef-utils/.generated.spec 2024-01-24 15:39:45.516548486 +0100
+++ rubygem-chef-utils/rubygem-chef-utils.spec 2023-06-25 14:58:58.060964650 +0200
@@ -1,9 +1,8 @@
-Downloaded chef-utils-18.3.0
-# Generated from chef-utils-18.3.0.gem by gem2rpm -*- rpm-spec -*-
+# Generated from chef-utils-18.2.7.gem by gem2rpm -*- rpm-spec -*-
%global gem_name chef-utils
Name: rubygem-%{gem_name}
-Version: 18.3.0
grep: warning: stray \ before /
+ [[ -n '' ]]
+ section SRPM
+ local l=###############################
+ : '############################### SRPM ###############################'
+ max=32
++ seq 32
+ for x in $(seq ${max})
+ [[ -z 1 ]]
--> Please check the gem compare output bellow: !
grep: warning: stray \ before :
WARNING: Unsupported version specification: , skipping.
ERROR: Only one version specified. Specify at lease two versions.
commit 8d627fd0e9c328e7b1c905f5cfa4fafafc8c86ed
Author: Pavel Valena <[email protected]>
Date: Fri Jun 23 17:10:30 2023 +0200