From 7fe26856e905c172d537f3d35a9390755d8a9fbd Mon Sep 17 00:00:00 2001 From: Tim McGilchrist Date: Fri, 17 Jun 2022 16:51:39 +1000 Subject: [PATCH] [new release] obuilder and obuilder-spec (0.4) 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) --- packages/obuilder-spec/obuilder-spec.0.4/opam | 43 +++++++++++++++ packages/obuilder/obuilder.0.4/opam | 52 +++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 packages/obuilder-spec/obuilder-spec.0.4/opam create mode 100644 packages/obuilder/obuilder.0.4/opam diff --git a/packages/obuilder-spec/obuilder-spec.0.4/opam b/packages/obuilder-spec/obuilder-spec.0.4/opam new file mode 100644 index 00000000000..27c5cbe6bba --- /dev/null +++ b/packages/obuilder-spec/obuilder-spec.0.4/opam @@ -0,0 +1,43 @@ +opam-version: "2.0" +synopsis: "Build specification format" +description: + "A library for constructing, reading and writing OBuilder build specification files." +maintainer: ["talex5@gmail.com"] +authors: ["talex5@gmail.com"] +homepage: "https://github.com/ocurrent/obuilder" +doc: "https://ocurrent.github.io/obuilder/" +bug-reports: "https://github.com/ocurrent/obuilder/issues" +depends: [ + "dune" {>= "2.7"} + "fmt" {>= "0.8.9"} + "sexplib" + "astring" + "ppx_deriving" + "ppx_sexp_conv" + "ocaml" {>= "4.10.0"} + "odoc" {with-doc} +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/ocurrent/obuilder.git" +url { + src: + "https://github.com/ocurrent/obuilder/releases/download/v0.4/obuilder-0.4.tbz" + checksum: [ + "sha256=b50d35dac6fe69cbb6a07bd82e922cb0fd842d7d70c60d74001491becdb18b13" + "sha512=1eb006a9bba83bf1f6006082cf313b03d1b9f6af6ee1faecdcb987731809e7e8f301f8373a02158c81017411f6d18f917b77b320ce78c7a9357175003c77d5d5" + ] +} +x-commit-hash: "ad84405ec45ed79a4b3a52051a2981068d992768" diff --git a/packages/obuilder/obuilder.0.4/opam b/packages/obuilder/obuilder.0.4/opam new file mode 100644 index 00000000000..1c444fb64f3 --- /dev/null +++ b/packages/obuilder/obuilder.0.4/opam @@ -0,0 +1,52 @@ +opam-version: "2.0" +synopsis: "Run build scripts for CI" +description: + "OBuilder takes a build script (similar to a Dockerfile) and performs the steps in it in a sandboxed environment." +maintainer: ["talex5@gmail.com"] +authors: ["talex5@gmail.com"] +homepage: "https://github.com/ocurrent/obuilder" +doc: "https://ocurrent.github.io/obuilder/" +bug-reports: "https://github.com/ocurrent/obuilder/issues" +depends: [ + "dune" {>= "2.7"} + "lwt" {>= "5.5.0"} + "astring" + "fmt" {>= "0.8.9"} + "logs" + "cmdliner" {>= "1.1.0"} + "tar-unix" {>= "2.0.0"} + "yojson" + "sexplib" + "ppx_deriving" + "ppx_sexp_conv" + "sha" + "sqlite3" + "obuilder-spec" {= version} + "ocaml" {>= "4.10.0"} + "alcotest-lwt" {with-test} + "odoc" {with-doc} +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/ocurrent/obuilder.git" +url { + src: + "https://github.com/ocurrent/obuilder/releases/download/v0.4/obuilder-0.4.tbz" + checksum: [ + "sha256=b50d35dac6fe69cbb6a07bd82e922cb0fd842d7d70c60d74001491becdb18b13" + "sha512=1eb006a9bba83bf1f6006082cf313b03d1b9f6af6ee1faecdcb987731809e7e8f301f8373a02158c81017411f6d18f917b77b320ce78c7a9357175003c77d5d5" + ] +} +x-commit-hash: "ad84405ec45ed79a4b3a52051a2981068d992768"