[LOCAL-CI v2 3/3] scripts: Add local-tester.sh script to run local CI tests

2022-01-04 Thread Glenn Washburn
Signed-off-by: Glenn Washburn --- scripts/ci/functions.local.sh | 37 + scripts/local-tester.sh | 39 +++ 2 files changed, 76 insertions(+) create mode 100644 scripts/ci/functions.local.sh create mode 100755 scripts/local-tes

[LOCAL-CI v2 0/3] Add support for local automated testing

2022-01-04 Thread Glenn Washburn
Updates since v1: * update multipipe to return error code from children * fix bootstrap run cache file not written to correct location * fix run_test and run_build to properly return test and build error codes * fix functional test post-processing to recognize failures in any functional test, not

[LOCAL-CI v2 2/3] scripts: Add functions for CI stages and default variables to functions.sh

2022-01-04 Thread Glenn Washburn
Signed-off-by: Glenn Washburn --- scripts/ci/functions.sh | 923 +++- 1 file changed, 922 insertions(+), 1 deletion(-) diff --git a/scripts/ci/functions.sh b/scripts/ci/functions.sh index 2f4cecaa1..734b36d3f 100644 --- a/scripts/ci/functions.sh +++ b/scripts/

[LOCAL-CI v2 1/3] scripts: Add general scripts to aid automated testing

2022-01-04 Thread Glenn Washburn
Signed-off-by: Glenn Washburn --- scripts/ci/build.sh | 67 scripts/ci/functions.sh | 33 ++ scripts/ci/make-images.sh | 86 + scripts/ci/process-tests.sh | 111 + scripts/ci/test.sh | 1

Re: [PATCH v8 3/7] cryptodisk: enable the backends to implement detached headers

2022-01-04 Thread Glenn Washburn
This comes from Dmitry author of the previously submitted LUKS2 master key support. Since he's not on the list, I'm taking some of his response and re-posting it here (modified to be faithful to his original message) and will add him to future discussions on this. Glenn On Tue, 4 Jan 2022 21:25:1

Re: [PATCH v8 5/7] cryptodisk: enable the backends to implement key files

2022-01-04 Thread Glenn Washburn
Also from Dmitry. On Tue, 4 Jan 2022 21:25:14 +0300 Dmitry wrote: > From: John Lane > > Signed-off-by: John Lane > gnu...@cyberdimension.org: rebase, patch split, small fixes, commit message > Signed-off-by: Denis 'GNUtoo' Carikli > developm...@efficientek.com: rebase and rework to use crypt

Re: [PATCH v8 5/7] cryptodisk: enable the backends to implement key files

2022-01-04 Thread Glenn Washburn
On Tue, 4 Jan 2022 15:46:19 -0600 Glenn Washburn wrote: > Also from Dmitry. > > On Tue, 4 Jan 2022 21:25:14 +0300 > Dmitry wrote: > > > From: John Lane > > > > Signed-off-by: John Lane > > gnu...@cyberdimension.org: rebase, patch split, small fixes, commit message > > Signed-off-by: Denis '

Re: [PATCH v8 3/7] cryptodisk: enable the backends to implement detached headers

2022-01-04 Thread Glenn Washburn
On Tue, 4 Jan 2022 15:42:22 -0600 Glenn Washburn wrote: > This comes from Dmitry author of the previously submitted LUKS2 master > key support. Since he's not on the list, I'm taking some of his > response and re-posting it here (modified to be faithful to his > original message) and will add him

Re: [PATCH v8 3/7] cryptodisk: enable the backends to implement detached headers

2022-01-04 Thread Dmitry
ср, 5 янв. 2022 г. в 01:07, Glenn Washburn : > On Tue, 4 Jan 2022 15:42:22 -0600 > Glenn Washburn wrote: > > I'm generally very pro-flexibility, but I'm not sure I like this from a > user perspective. For the common case, which is detached headers in a > file, this will cause the user to do more

Re: [PATCH v8 3/7] cryptodisk: enable the backends to implement detached headers

2022-01-04 Thread Dmitry
ср, 5 янв. 2022 г. в 01:57, Dmitry : > > > ср, 5 янв. 2022 г. в 01:07, Glenn Washburn : > >> On Tue, 4 Jan 2022 15:42:22 -0600 >> Glenn Washburn wrote: >> >> I'm generally very pro-flexibility, but I'm not sure I like this from a >> user perspective. For the common case, which is detached headers

Re: [PATCH v8 3/7] cryptodisk: enable the backends to implement detached headers

2022-01-04 Thread Dmitry
ср, 5 янв. 2022 г. в 02:30, Dmitry : > > > ср, 5 янв. 2022 г. в 01:57, Dmitry : > >> >> >> ср, 5 янв. 2022 г. в 01:07, Glenn Washburn : >> >>> On Tue, 4 Jan 2022 15:42:22 -0600 >>> Glenn Washburn wrote: >>> >>> I'm generally very pro-flexibility, but I'm not sure I like this from a >>> user persp

Re: [PATCH v8 3/7] cryptodisk: enable the backends to implement detached headers

2022-01-04 Thread Glenn Washburn
On Wed, 5 Jan 2022 02:50:36 +0300 Dmitry wrote: > ср, 5 янв. 2022 г. в 02:30, Dmitry : > > > > > > > ср, 5 янв. 2022 г. в 01:57, Dmitry : > > > >> > >> > >> ср, 5 янв. 2022 г. в 01:07, Glenn Washburn : > >> > >>> On Tue, 4 Jan 2022 15:42:22 -0600 > >>> Glenn Washburn wrote: > >>> > >>> I'm gene