Commit graph

68 commits

Author SHA1 Message Date
Gerald Pinder
abedf4fc6b
fix: Use leniency for semver parsing (#184) 2024-05-16 20:15:14 -04:00
Gerald Pinder
eddbcb48f7 chore: Release 2024-05-14 10:14:54 -04:00
Gerald Pinder
5786ce40bf chore: Release 2024-05-05 01:18:08 -04:00
Gerald Pinder
c2abf3fcb8
fix: Git sha not present during cargo install (#176) 2024-05-05 00:44:22 -04:00
Gerald Pinder
cfc39817fc chore: Release 2024-04-28 21:56:24 -04:00
Gerald Pinder
fbbd2d220a chore: Release 2024-04-27 15:21:48 -04:00
Gerald Pinder
92150693d4
feat: Display full recipe with syntax highlighting (#166)
As I was re-arranging my recipe files, I needed a way to ensure that the
order of my recipe is correct without having to read through the
generated `Containerfile`. So I added a `-d`/`--display-full-recipe` arg
to `template` that will print out all of your modules in the order
defined by following the `from-file` property.

```
$> bluebuild template --help
Generate a Containerfile from a recipe

Usage: bluebuild template [OPTIONS] [RECIPE]

Arguments:
  [RECIPE]
          The recipe file to create a template from

Options:
  -o, --output <OUTPUT>
          File to output to instead of STDOUT

      --registry <REGISTRY>
          The registry domain the image will be published to.

          This is used for modules that need to know where the image is being published (i.e. the signing module).

      --registry-namespace <REGISTRY_NAMESPACE>
          The registry namespace the image will be published to.

          This is used for modules that need to know where the image is being published (i.e. the signing module).

  -d, --display-full-recipe
          Instead of creating a Containerfile, display the full recipe after traversing all `from-file` properties.

          This can be used to help debug the order you defined your recipe.

  -t, --syntax-theme <SYNTAX_THEME>
          Choose a theme for the syntax highlighting for the Containerfile or Yaml.

          The default is `mocha-dark`.

          [possible values: mocha-dark, ocean-dark, ocean-light, eighties-dark, inspired-github, solarized-dark, solarized-light]

  -s, --squash
          Puts the build in a `squash-stage` and COPY's the results to the final stage as one layer.

          WARN: This doesn't work with the docker driver as it has been deprecated.

          NOTE: Squash has a performance benefit for the newer versions of podman and buildah.

  -B, --build-driver <BUILD_DRIVER>
          Select which driver to use to build your image

          [possible values: buildah, podman, docker]

  -v, --verbose...
          Increase logging verbosity

  -I, --inspect-driver <INSPECT_DRIVER>
          Select which driver to use to inspect images

          [possible values: skopeo, podman, docker]

  -q, --quiet...
          Decrease logging verbosity

  -h, --help
          Print help (see a summary with '-h')
```

Preview of Containerfile/Dockerfile syntax highlighting:

![image](https://github.com/blue-build/cli/assets/4626052/cf2c452e-94b1-44f3-97ca-162d50a5047f)

Preview of Yaml highlighting:

![image](https://github.com/blue-build/cli/assets/4626052/b7c48b82-3e9e-431c-a55b-679848cd1fa6)
2024-04-27 09:12:04 -04:00
Gerald Pinder
8f811200aa chore: Release 2024-04-22 16:50:07 -04:00
Gerald Pinder
8050ce73ee chore: Release 2024-03-27 19:46:03 -04:00
Gerald Pinder
189141924b
feat: Improve logging output (#139) 2024-03-26 12:23:10 -04:00
Gerald Pinder
da628db1ee chore: Remove builtin-podman code
This was not being worked on and was becoming too much trouble for our current goals
2024-03-23 15:54:15 -04:00
Gerald Pinder
5fc4096f0f
chore: Add version checks for upstream tools (#121) 2024-03-17 14:14:07 -04:00
Hikari
580c3d6ce7
fix: use container skopeo (#110)
the `os_version` is defaulting to the `image_tag` inside containers and
causing our template to use latest tag

---------

Co-authored-by: Gerald Pinder <gmpinder@gmail.com>
2024-03-11 23:23:42 +00:00
Gerald Pinder
8753e76eeb chore: Prepare for v0.8.2 release 2024-03-08 19:37:08 -05:00
Gerald Pinder
cf89a4bd6d Merge branch 'patch/v0.8.1' 2024-02-26 09:49:04 -05:00
Gerald Pinder
83c966b560 chore: Release blue-build version 0.8.1 2024-02-26 09:28:33 -05:00
Gerald Pinder
910e0434b6
refactor: Move templates to their own crate (#83)
This PR logically separates out parts of the code to their own crates. This will be useful for future Tauri App development.
2024-02-25 14:45:33 -06:00
Gerald Pinder
ce8f889dc2 chore: Release blue-build version 0.8.0 2024-02-25 12:11:05 -05:00
Gerald Pinder
98398788f7
feat(podman-api): Clean up working container for SIGINT and SIGTERM (#14)
Co-authored-by: Hikaru (ひかる, ヒカル) <lecoqjacob@gmail.com>
2024-02-14 15:04:47 -06:00
Gerald Pinder
9d242e7c59 chore: Release blue-build version 0.7.1 2024-02-13 16:35:07 -05:00
Gerald Pinder
87d2a6fc03 Prepare for 0.7.0 release 2024-02-07 16:26:01 -05:00
Gerald Pinder
7cfa191e2a chore: Prepare for 0.6.0 release 2024-02-05 23:09:40 -05:00
Gerald Pinder
c47f80232b chore: Switch back to crate format_serde_error 2024-02-05 22:01:47 -05:00
Gerald Pinder
b70da3aa34 chore: Set version to 0.5.6-dev.0 to prepare for first release 2024-02-05 21:04:26 -05:00
Hikari
8f44bf4ea0
fix: output better serde::yaml errors (#47)
Co-authored-by: Gerald Pinder <gmpinder@gmail.com>
2024-02-04 21:50:00 -05:00
Hikari
e069346e15
feat: Bugreport command (#28)
Add a bug report + completions command(not complete yet) so that new
users can easily submit bugs to us, and I wanted completions for bb
(super easy with clap)

---------

Co-authored-by: Gerald Pinder <gmpinder@gmail.com>
2024-01-31 09:51:13 -05:00
Gerald Pinder
000baae067 chore: Bumb version 2024-01-26 16:15:52 -05:00
Gerald Pinder
f27475ca39 chore: Bump version 2024-01-24 18:31:49 -05:00
Gerald Pinder
56ab314a44 chore: Bump version 2024-01-24 18:13:04 -05:00
Gerald Pinder
dbea80c945 chore: Manual bump of version 2024-01-22 18:05:43 -05:00
Gitlab
5ece8aa747 Release blue-build v0.5.1 2024-01-22 00:47:57 +00:00
Gitlab
e2608b93ed Release blue-build v0.5.0 2024-01-21 23:28:27 +00:00
Gerald Pinder
b547a326fd feat!: Upgrade and Rebase commands 2024-01-21 23:23:36 +00:00
Gerald Pinder
c70d78c57c Release blue-build v0.4.3 2024-01-19 14:15:57 -05:00
Gerald Pinder
1b950b08dc nightly(podman-api): Use podman-api crate for building images 2024-01-19 18:55:26 +00:00
Gitlab
d142ed77ab Release blue-build v0.4.2 2024-01-14 03:57:13 +00:00
Gitlab
27d04e232e Release blue-build v0.4.1 2024-01-14 03:45:18 +00:00
Gitlab
bf0479cc48 Release blue-build v0.4.0 2024-01-14 03:28:32 +00:00
Gitlab
0611cea4f5 Release blue-build v0.3.13 2024-01-14 03:11:11 +00:00
Gerald Pinder
eaeb79f329 feat: Local image rebasing 2024-01-14 03:02:35 +00:00
Gitlab
7829ea6fe3 Release blue-build v0.3.12 2024-01-06 18:37:44 +00:00
Gitlab
c13637ca88 Release blue-build v0.3.11 2024-01-04 05:20:33 +00:00
Gitlab
7ae8dcd273 Release blue-build v0.3.10 2024-01-04 04:54:09 +00:00
Gerald Pinder
d663b7574b refactor: Use askama crate for compile-time template type checking 2024-01-03 23:39:57 -05:00
Gitlab
039c5f9659 Release blue-build v0.3.9 2024-01-01 18:43:20 +00:00
Gerald Pinder
d3ff4eed93 fix: rename ublue-rs to blue-build 2023-12-30 15:35:34 -05:00
Gerald Pinder
8047702582 fix: update README to point to new project 2023-12-30 15:08:18 -05:00
Gerald Pinder
88cc37529a fix: bump version 2023-12-30 11:50:03 -05:00
Gitlab
386308f649 Release ublue-rs v0.3.5 2023-12-28 23:41:02 +00:00
Gerald Pinder
aa86f48a5d chore: Switch to using typed builders 2023-12-18 23:36:53 -05:00