-
Notifications
You must be signed in to change notification settings - Fork 36
[do not merge] Simpletest ci/cd #963
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| # Topics | ||
| # Topicstest | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
|
||
| - [Topics](#topics) | ||
| - [QM is a containerized environment for running functional safety Quality Management software](#qm-is-a-containerized-environment-for-running-functional-safety-quality-management-software) | ||
|
|
||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -251,7 +251,7 @@ EOF | |||||
| fi | ||||||
| fi | ||||||
|
|
||||||
| cmd_dnf_install="dnf -y install --releasever=${VERSION_ID} --setopt=reposdir=${ROOTFS}/etc/yum.repos.d --installroot ${ROOTFS} libkrun crun-krun bluechi-agent ${EXTRA_FLAG}" | ||||||
| cmd_dnf_install="dnf -y install --releasever=${VERSION_ID} --setopt=reposdir=${ROOTFS}/etc/yum.repos.d --installroot ${ROOTFS} bluechi-agent ${EXTRA_FLAG}" | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The
Suggested change
|
||||||
| ${cmd_dnf_install} | ||||||
|
|
||||||
| dnf -y update --installroot "${ROOTFS}" | ||||||
|
|
||||||
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -11,7 +11,15 @@ enable_repo() { | |||||||||||||
|
|
||||||||||||||
| install_libkrun() { | ||||||||||||||
| info_message "install_libkrun(): install libkrun and crun-krun" | ||||||||||||||
| exec_cmd "dnf install --setopt=reposdir=/etc/yum.repos.d --installroot=/usr/lib/qm/rootfs -y libkrun crun-krun" | ||||||||||||||
| # Adding rawhide as 1.17 fixes Internal(Vm(SetMemoryAttributes(Error(22)))) | ||||||||||||||
| # See-Also: https://github.com/containers/qm/pull/959 | ||||||||||||||
| if grep -qi "^ID=fedora" /etc/os-release; then | ||||||||||||||
| # Need the remove as soon the land in stable channel | ||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||||||||||||||
| exec_cmd "dnf install --installroot=/usr/lib/qm/rootfs -y fedora-repos-rawhide" | ||||||||||||||
| fi | ||||||||||||||
| exec_cmd "cat /usr/lib/qm/rootfs/etc/yum.repos.d/*" | ||||||||||||||
| exec_cmd "dnf repolist --all --setopt=reposdir=/etc/yum.repos.d" | ||||||||||||||
| exec_cmd "dnf install --use-host-config --releasever=rawhide --enablerepo=rawhide --setopt=reposdir=/etc/yum.repos.d --installroot=/usr/lib/qm/rootfs -y libkrun crun-krun libkrunfw" | ||||||||||||||
| } | ||||||||||||||
|
|
||||||||||||||
| check_libkrun() { | ||||||||||||||
|
|
@@ -20,6 +28,10 @@ check_libkrun() { | |||||||||||||
| info_message "PASS: libkrun runs successfully." | ||||||||||||||
| } | ||||||||||||||
|
|
||||||||||||||
| #if grep -qi "^ID=centos" /etc/os-release; then | ||||||||||||||
| # enable_repo | ||||||||||||||
| #fi | ||||||||||||||
|
Comment on lines
+31
to
+33
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The conditional block for enabling the CentOS-specific
Suggested change
|
||||||||||||||
|
|
||||||||||||||
| enable_repo | ||||||||||||||
| install_libkrun | ||||||||||||||
| check_libkrun | ||||||||||||||
|
|
||||||||||||||
Uh oh!
There was an error while loading. Please reload this page.