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

Jbaublitz metadata rework #3441

Closed
Closed
Changes from 1 commit
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
Prev Previous commit
Fix up tests plan and tests for legacy pool script
Signed-off-by: mulhern <[email protected]>
mulkieran committed Sep 25, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit a6b2d533ca833dc6759f0e0f60bf70f88aa9e2b5
18 changes: 17 additions & 1 deletion plans/all.fmf
Original file line number Diff line number Diff line change
@@ -3,14 +3,30 @@ prepare:
- name: Install packages
how: install
package:
- tang
- cargo
- clang
- cryptsetup-devel
- curl
- dbus-devel
- device-mapper-devel
- libblkid-devel
- make
- ncurses
- rust
- systemd
- systemd-devel
- tang
- name: Start tang server
how: shell
script: systemctl enable tangd.socket --now
- name: Reload udev
how: shell
script: udevadm control --reload
- name: Build and install legacy pool script
how: shell
script:
- PROFILEDIR=debug make build-test-extras
- mv target/debug/stratis-legacy-pool /usr/local/bin
discover:
how: fmf
execute:
2 changes: 1 addition & 1 deletion test/loop/main.fmf
Original file line number Diff line number Diff line change
@@ -8,5 +8,5 @@ require:
- python3-dbus-python-client-gen
- python3-psutil
- python3-pyudev
test: TANG_URL=localhost RUST_LOG=stratisd=debug STRATISD=/usr/libexec/stratisd STRATIS_DUMPMETADATA=/usr/bin/stratis-dumpmetadata PYTHONPATH=./src make -f Makefile tang-tests dump-metadata-tests
test: TANG_URL=localhost RUST_LOG=stratisd=debug STRATISD=/usr/libexec/stratisd STRATIS_DUMPMETADATA=/usr/bin/stratis-dumpmetadata LEGACY_POOL=/usr/local/bin/stratis-legacy-pool PYTHONPATH=./src make -f Makefile tang-tests dump-metadata-tests
path: /tests/client-dbus
2 changes: 1 addition & 1 deletion test/udev/main.fmf
Original file line number Diff line number Diff line change
@@ -8,5 +8,5 @@ require:
- python3-dbus-python-client-gen
- python3-psutil
- python3-pyudev
test: TANG_URL=localhost RUST_LOG=stratisd=debug STRATISD=/usr/libexec/stratisd STRATIS_DUMPMETADATA=/usr/bin/stratis-dumpmetadata PYTHONPATH=./src make -f Makefile udev-tests
test: TANG_URL=localhost RUST_LOG=stratisd=debug STRATISD=/usr/libexec/stratisd STRATIS_DUMPMETADATA=/usr/bin/stratis-dumpmetadata LEGACY_POOL=/usr/local/bin/stratis-legacy-pool PYTHONPATH=./src make -f Makefile udev-tests
path: /tests/client-dbus