Skip to content
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

Adding fixes base on QC SoC #326

Merged
merged 1 commit into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions plans/e2e/ffi.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ summary: FFI - QM FreedomFromInterference

environment:
CONTROL_CONTAINER_NAME: host
FFI_SETUP_OPTIONS: none

discover:
how: fmf
Expand All @@ -10,24 +11,30 @@ discover:
provision:
how: local

prepare:
- name: Install rpms
how: install
package: podman

adjust:
- when: run == manual
environment+:
# Sample code to use manual packit repo
PACKIT_COPR_PROJECT: packit/containers-qm-291
- when: scenario == ffi and distro == centos-stream-9, fedora
prepare+:
- name: Install rpms
how: install
package: podman

- when: distro == centos-stream-9, fedora
environment+:
FFI_SETUP_OPTIONS: --set-qm-disk-part=yes

- when: scenario == ffi
prepare+:
- name: Set QM env
how: shell
# FIXME: On new QM release remove
# qm-setup-from-gh-url, branch-qm option
script: |
cd tests/e2e
./set-ffi-env-e2e --set-qm-disk-part=yes
./set-ffi-env-e2e "${FFI_SETUP_OPTIONS}"

execute:
how: tmt
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/set-ffi-env-e2e
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ install_qm_rpms() {
if [ -n "${USE_QM_COPR}" ]; then
dnf copr enable -y "${USE_QM_COPR}" centos-stream-9
fi
dnf install -y bluechi-ctl bluechi-agent bluechi-controller qm podman hostname
dnf install -y bluechi-ctl bluechi-agent bluechi-controller qm hostname
}

setup_qm_services() {
Expand Down
Loading