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

Version 3.6.8 #3638

Merged
merged 33 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
5554c02
Regression test for key set in stratis-min
jbaublitz Apr 3, 2024
69b0c73
Add PROFILE_FLAGS to profileable targets
mulkieran Nov 13, 2023
f52b6b5
github actions: ignore only pushes to tests/client-dbus dir
bgurney-rh Apr 11, 2024
56f094a
github actions: update recommended Rust to 1.77.2
bgurney-rh Apr 11, 2024
2eea253
Use once_cell instead of lazy_static for lazy statics
mulkieran Apr 26, 2024
11ffac5
Fix unnecessary-get-then-check with contains_key()
bgurney-rh May 2, 2024
89487e2
Put timestamp management in a separate implementation
mulkieran May 2, 2024
52b984d
Re-load the BDA after writing pool-level metadata
mulkieran May 2, 2024
f1f8736
Add stratis-min tests for missing subcommands
bgurney-rh Apr 30, 2024
1778c08
test_fs_size_limit: Run fs_check after increasing limit
mulkieran May 6, 2024
e4cce5a
github actions: update recommended Rust to 1.78.0
bgurney-rh May 6, 2024
445dc1e
Change deprecated use of default_features
jbaublitz May 7, 2024
74251a0
Advance current development environment to Fedora 40
bgurney-rh May 7, 2024
585ef9e
Revert "test_fs_size_limit: Run fs_check after increasing limit"
mulkieran May 6, 2024
fe0fce9
test_fs_size_limit: Increase sizes by a factor of 2
mulkieran May 6, 2024
e9874a1
ci: Adjust Cockpit test plans
martinpitt May 29, 2024
0a320cb
Increase itertools dependency lower bound to 0.13.0
mulkieran Jun 3, 2024
48f264e
Clarify conversion for set up pool to stopped pool
jbaublitz Jun 4, 2024
b22256f
Remove legacy std::u64::MAX constant
bgurney-rh Jun 13, 2024
bb6ae58
Add test_stratis_min_pool_clevis_pin()
bgurney-rh Jun 14, 2024
0853413
Add stratis_min_key_set_empty()
bgurney-rh Jun 14, 2024
0f9060b
Add .gitignore entries for LLVM profiler traces
bgurney-rh Jun 14, 2024
f0bfd1b
Do software emulation of a TPM2 module
mulkieran May 13, 2024
c50218f
github actions: update recommended Rust to 1.79.0
bgurney-rh Jun 18, 2024
6c7881b
Move to TMT with TPM2
jbaublitz Jun 18, 2024
ad28491
Increase nix dependency lower bound to 0.29.0
mulkieran May 28, 2024
51f5244
Fix a typo in an error string
mulkieran Jun 24, 2024
0dc2876
Remove early exit
mulkieran Jun 26, 2024
dbc8772
Add a clarifying comment
mulkieran Jun 26, 2024
44b2c16
Change handle_extension to handle_fs_changes
mulkieran Jun 26, 2024
b65e8d6
Merge invocation of should_extend and extend_size
mulkieran Jun 26, 2024
0558ef7
Increase libc dependency lower bound to 0.2.155
mulkieran Jul 2, 2024
212e2ff
version 3.6.8
mulkieran Jul 2, 2024
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
4 changes: 2 additions & 2 deletions .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
checks-with-ci-repo:
runs-on: ubuntu-22.04
container:
image: fedora:39 # CURRENT DEVELOPMENT ENVIRONMENT
image: fedora:40 # CURRENT DEVELOPMENT ENVIRONMENT
steps:
- uses: actions/checkout@v4
- name: Install dependencies for Fedora
Expand All @@ -51,7 +51,7 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
components: cargo
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
- name: Check out ci repo
run: git clone https://github.com/stratis-storage/ci.git
- name: Run comparisons of version specs with available Fedora packages
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/fedora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,49 +40,49 @@ jobs:
matrix:
include:
- task: make -f Makefile clippy
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: clippy
- task: PROFILEDIR=debug make -f Makefile build
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: cargo
- task: PROFILEDIR=debug make -f Makefile build-min
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: cargo
- task: PROFILEDIR=debug make -f Makefile build-min-no-systemd
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: cargo
- task: PROFILEDIR=debug make -f Makefile build-utils
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: cargo
- task: PROFILEDIR=debug make -f Makefile build-no-ipc
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: cargo
- task: PROFILEDIR=debug make -f Makefile stratisd-tools
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: cargo
- task: make -f Makefile docs-ci
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: cargo
- task: make -f Makefile test
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: cargo
- task: >-
TANG_URL=localhost
make -f Makefile test-clevis-loop-should-fail
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: cargo
- task: make -f Makefile build
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: cargo
- task: make -f Makefile build-min
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: cargo
- task: make -f Makefile build-no-ipc
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: cargo
runs-on: ubuntu-22.04
container:
image: fedora:39 # CURRENT DEVELOPMENT ENVIRONMENT
image: fedora:40 # CURRENT DEVELOPMENT ENVIRONMENT
options: --privileged -v /dev:/dev -v /run/udev:/run/udev -v /usr/lib/udev:/usr/lib/udev
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -113,11 +113,11 @@ jobs:
matrix:
include:
- task: RUST_LOG=stratisd=debug make -f Makefile test-loop
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: cargo
runs-on: ubuntu-22.04
container:
image: fedora:39 # CURRENT DEVELOPMENT ENVIRONMENT
image: fedora:40 # CURRENT DEVELOPMENT ENVIRONMENT
options: --privileged -v /dev:/dev -v /run/udev:/run/udev -v /usr/lib/udev:/usr/lib/udev --ipc=host
steps:
- uses: actions/checkout@v4
Expand Down
74 changes: 10 additions & 64 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- 'CHANGES.txt'
- '**/README.md'
- 'README_tests.md'
- 'tests/**'
- 'tests/client-dbus/**'
- '.packit.yaml'
- 'plans/**'
- 'tests-fmf/**'
Expand All @@ -21,7 +21,7 @@ on:
- 'CHANGES.txt'
- '**/README.md'
- 'README_tests.md'
- 'tests/**'
- 'tests/client-dbus/**'
- '.packit.yaml'
- 'plans/**'
- 'tests-fmf/**'
Expand All @@ -40,14 +40,14 @@ jobs:
matrix:
include:
- task: make -f Makefile fmt-ci
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: rustfmt
- task: make -f Makefile check-typos
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: cargo
runs-on: ubuntu-22.04
container:
image: fedora:39 # CURRENT DEVELOPMENT ENVIRONMENT
image: fedora:40 # CURRENT DEVELOPMENT ENVIRONMENT
options: --privileged -v /dev:/dev
steps:
- uses: actions/checkout@v4
Expand All @@ -73,60 +73,6 @@ jobs:
- name: Test ${{ matrix.task }} on ${{ matrix.toolchain }} toolchain
run: ${{ matrix.task }}

# TESTS WITH TANG
checks_with_tang:
strategy:
matrix:
include:
# MANDATORY CHECKS USING CURRENT DEVELOPMENT COMPILER
- task: >-
TANG_URL=tang
RUST_LOG=stratisd=debug
make -f Makefile test-clevis-loop
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: cargo
image: fedora:39 # CURRENT DEVELOPMENT ENVIRONMENT
runs-on: ubuntu-22.04
container:
image: ${{ matrix.image }}
options: --privileged -v /dev:/dev -v /run/udev:/run/udev --ipc=host
services:
tang:
# yamllint disable rule:line-length
image: ghcr.io/stratis-storage/stratisd/tang:38
credentials:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
options: --privileged -p 80:80
steps:
- uses: actions/checkout@v4
- name: Install dependencies for Fedora
# cracklib-dicts: https://github.com/stratis-storage/project/issues/581
run: >
dnf install -y
clang
cryptsetup-devel
clevis
clevis-luks
cracklib-dicts
curl
dbus-devel
device-mapper-devel
device-mapper-persistent-data
libblkid-devel
make
ncurses
sudo
systemd-devel
systemd-udev
xfsprogs
- uses: dtolnay/rust-toolchain@master
with:
components: ${{ matrix.components }}
toolchain: ${{ matrix.toolchain }}
- name: Test ${{ matrix.task }} on ${{ matrix.toolchain }} toolchain
run: ${{ matrix.task }}

stratis-cli-checks:
runs-on: ubuntu-22.04
container:
Expand Down Expand Up @@ -184,7 +130,7 @@ jobs:
stratis-min-cli-checks:
runs-on: ubuntu-22.04
container:
image: fedora:39 # CURRENT DEVELOPMENT ENVIRONMENT
image: fedora:40 # CURRENT DEVELOPMENT ENVIRONMENT
options: --privileged --userns=host --ipc=host -v /dev:/dev -v /run/udev:/run/udev -v /usr/lib/udev:/usr/lib/udev -v /run/dbus/system_bus_socket:/run/dbus/system_bus_socket:ro -v /usr/share/dbus-1:/usr/share/dbus-1
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -217,7 +163,7 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
components: cargo
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
- name: Run stratisd-min cli tests
run: make test-stratisd-min
- name: Run stratis-min cli tests
Expand All @@ -226,7 +172,7 @@ jobs:
shell-checks:
runs-on: ubuntu-22.04
container:
image: fedora:39 # CURRENT DEVELOPMENT ENVIRONMENT
image: fedora:40 # CURRENT DEVELOPMENT ENVIRONMENT
steps:
- uses: actions/checkout@v4
- name: Install dependencies
Expand All @@ -241,7 +187,7 @@ jobs:
python-based-tests:
runs-on: ubuntu-22.04
container:
image: fedora:39 # CURRENT DEVELOPMENT ENVIRONMENT
image: fedora:40 # CURRENT DEVELOPMENT ENVIRONMENT
options: --privileged -v /dev:/dev
steps:
- uses: actions/checkout@v4
Expand All @@ -267,7 +213,7 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
components: cargo
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
- name: Build stratisd
run: PROFILEDIR=debug make -f Makefile build-all
- name: Install stratisd
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/support.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
task: make -f Makefile yamllint tmtlint
working-directory: .
runs-on: ubuntu-22.04
container: fedora:39 # CURRENT DEVELOPMENT ENVIRONMENT
container: fedora:40 # CURRENT DEVELOPMENT ENVIRONMENT
steps:
- uses: actions/checkout@v4
- name: Install dependencies
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,40 +40,40 @@ jobs:
matrix:
include:
- task: make -f Makefile clippy
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: clippy
- task: PROFILEDIR=debug make -f Makefile build
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: cargo
- task: PROFILEDIR=debug make -f Makefile build-min
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: cargo
- task: PROFILEDIR=debug make -f Makefile build-min-no-systemd
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: cargo
- task: PROFILEDIR=debug make -f Makefile build-utils
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: cargo
- task: PROFILEDIR=debug make -f Makefile build-no-ipc
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: cargo
- task: PROFILEDIR=debug make -f Makefile stratisd-tools
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: cargo
- task: make -f Makefile docs-ci
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: cargo
- task: make -f Makefile test
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: cargo
- task: make -f Makefile build
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: cargo
- task: make -f Makefile build-min
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: cargo
- task: make -f Makefile build-no-ipc
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: cargo
runs-on: ubuntu-22.04
container:
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
matrix:
include:
- task: RUST_LOG=stratisd=debug make -f Makefile test-loop
toolchain: 1.77.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
toolchain: 1.79.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
components: cargo
runs-on: ubuntu-22.04
container:
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,7 @@ stratisd_proc_macros/Cargo.lock

# packit
*.rpm

# LLVM profiler trace data
*.profraw
*.profdata
42 changes: 42 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,45 @@
stratisd 3.6.8
==============
Recommended Rust toolchain version: 1.79.0
Recommended development platform for Python development: Fedora 40

* New commits:
* Increase libc dependency lower bound to 0.2.155

* Cherry-picked commits:
* Regression test for key set in stratis-min
* Add PROFILE_FLAGS to profileable targets
* github actions: ignore only pushes to tests/client-dbus dir
* github actions: update recommended Rust to 1.77.2
* Use once_cell instead of lazy_static for lazy statics
* Fix unnecessary-get-then-check with contains_key()
* Put timestamp management in a separate implementation
* Re-load the BDA after writing pool-level metadata
* Add stratis-min tests for missing subcommands
* test_fs_size_limit: Run fs_check after increasing limit
* github actions: update recommended Rust to 1.78.0
* Change deprecated use of default_features
* Advance current development environment to Fedora 40
* Revert "test_fs_size_limit: Run fs_check after increasing limit"
* test_fs_size_limit: Increase sizes by a factor of 2
* ci: Adjust Cockpit test plans
* Increase itertools dependency lower bound to 0.13.0
* Clarify conversion for set up pool to stopped pool
* Remove legacy std::u64::MAX constant
* Add test_stratis_min_pool_clevis_pin()
* Add stratis_min_key_set_empty()
* Add .gitignore entries for LLVM profiler traces
* Do software emulation of a TPM2 module
* github actions: update recommended Rust to 1.79.0
* Move to TMT with TPM2
* Increase nix dependency lower bound to 0.29.0
* Fix a typo in an error string
* Remove early exit
* Add a clarifying comment
* Change handle_extension to handle_fs_changes
* Merge invocation of should_extend and extend_size


stratisd 3.6.7
==============
Recommended Rust toolchain version: 1.77.0
Expand Down
Loading
Loading