Skip to content

[new release] obuilder and obuilder-spec (0.4)#21553

Merged
kit-ty-kate merged 3 commits intoocaml:masterfrom
tmcgilchrist:release-obuilder-v0.4
Jun 18, 2022
Merged

[new release] obuilder and obuilder-spec (0.4)#21553
kit-ty-kate merged 3 commits intoocaml:masterfrom
tmcgilchrist:release-obuilder-v0.4

Conversation

@tmcgilchrist
Copy link
Copy Markdown
Contributor

Run build scripts for CI

CHANGES:

CHANGES:

- Use GNU tar format instead of UStar for `copy` operations (@TheLortex ocurrent/obuilder#82, reviewed @dra27).
  This enables copying from sources containing long file names (>100 characters).

- Add support for secrets (@TheLortex ocurrent/obuilder#63, reviewed by @talex5).
  The obuilder spec's `run` command supports a new `secrets` fields, which allows to temporarily
  mount secret files in an user-specified location. The sandbox build context has an additional
  `secrets` parameter to provide values for the requested keys.

- Limit permissions on temporary directories (@talex5 ocurrent/obuilder#67)

- Check Linux kernel version support for btrfs (@kit-ty-kate ocurrent/obuilder#68)

- Generalise obuilder sandbox, removing runc/linux specifc pieces and
  making the S.SANDBOX interface more general
  (@patricoferris ocurrent/obuilder#58, reviewed by @talex5, @avsm, @MisterDA)

- Convert --fast-sync back to a flag (@talex5 ocurrent/obuilder#72)

- Support Fmt.cli and Logs.cli flags. (@MisterDA ocurrent/obuilder#74, reviewed by @talex5)
  For Fmt the new options are --color=always|never|auto
  For Log the new options are:
    -v, --verbose Increase verbosity
    --verbosity=LEVEL (absent=warning)
        Be more or less verbose. LEVEL must be one of quiet, error,
        warning, info or debug. Takes over -v.

- Minor cleanup changes (@talex5 ocurrent/obuilder#76)

- Fix deprecations in Fmt 0.8.10 (@tmcgilchrist ocurrent/obuilder#80)

- Remove travis-ci and replace with Github Actions (@MisterDA ocurrent/obuilder#84)

- Add RSync store backend for obuilder to support macOS builders (@patricoferris ocurrent/obuilder#88, reviewed @talex5)

- Fixes for ZFS tests in CI (@patricoferris ocurrent/obuilder#91)
Comment thread packages/obuilder/obuilder.0.4/opam Outdated
Comment thread packages/obuilder/obuilder.0.4/opam
@mseri
Copy link
Copy Markdown
Member

mseri commented Jun 17, 2022

ocluster.0.1 fails with

- File "bin/worker.ml", line 130, characters 33-38:
- 130 |     Term.pure make $ fast_sync $ store
-                                        ^^^^^
- Error: This expression has type
-          [ `Btrfs of string | `Rsync of string | `Zfs of string ] option
-          Cmdliner.Term.t
-        but an expression was expected of type
-          [ `Btrfs of string | `Zfs of string ] option Cmdliner.Term.t
-        The second variant type does not allow tag(s) `Rsync

Does it need an upper bound on obuilder?

@mseri
Copy link
Copy Markdown
Member

mseri commented Jun 17, 2022

Can you please add a license field to both packages?

Comment thread packages/obuilder-spec/obuilder-spec.0.4/opam
Comment thread packages/obuilder/obuilder.0.4/opam
kit-ty-kate and others added 2 commits June 18, 2022 16:04
Co-authored-by: Marcello Seri <mseri@users.noreply.github.com>
@kit-ty-kate kit-ty-kate merged commit f369d4a into ocaml:master Jun 18, 2022
@kit-ty-kate
Copy link
Copy Markdown
Member

Thanks! Could you return the fixes to the opam files in the source repository upstream?

@tmcgilchrist tmcgilchrist deleted the release-obuilder-v0.4 branch June 21, 2022 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants