Releases: Azure/dalec
v0.9.1
v0.9.0
Major Changes
Ubuntu Jammy
Support for building deb packages using Ubuntu Jammy
We don't yet support building distroless images for this, but there is a build target for generating a container from the base Ubuntu Jammy image.
Supported build targets:
jammy/deb
which outputs the deb package and all source package artifacts (dsc, source tarballs, etc)jammy/dsc
which just outputs the source package filesjammy/testing/container
which outputs an Ubuntu Jammy image with the generated debian package installed.
New artifact types
Support for header files, symlinks, and library files were added, so these can now be included in packages.
Validation
When processing loading a build spec, if a variable substitution is found for a build argument that does not exist, the build will now error out instead of silently ignoring it.
This was done to help with typos and incorrect usage of built-in args such as TARGETARCH
where these variable substitutions just ended up in an empty string.
What's Changed
- Add subrequest for resolving spec by @cpuguy83 in #345
- Add spec load pass to check for undefined build args by @adamperlin in #281
- Add support for jammy by @cpuguy83 in #87
- fix: source: cmd: Persist rootfs state across steps by @cpuguy83 in #376
- Fix data race on
spec
in pinned build dependencies test by @adamperlin in #380 - source: context: Optimize fetch by path by @cpuguy83 in #352
- Update buildkit to 0.16 by @cpuguy83 in #381
- Add symlink and libs artifact types by @cpuguy83 in #377
- Support customizing git auth by @cpuguy83 in #386
- Add support for headers artifacts by @blanquicet in #385
- spec.image.postinstall.symlink: Add CreateDir option by @burak-ok in #384
- docs: add search by @sozercan in #389
New Contributors
- @blanquicet made their first contribution in #385
- @burak-ok made their first contribution in #384
Full Changelog: v0.8.1...v0.9.0
v0.8.1
What's Changed
- docs: Fix edit URL by @mauriciovasquezbernal in #351
- Use Separate Build Script for RPM Targets by @adamperlin in #350
- azlinux3: use images from mcr by @cpuguy83 in #353
New Contributors
- @mauriciovasquezbernal made their first contribution in #351
Full Changelog: v0.8.0...v0.8.1
v0.8.0
What's Changed
- feat: provide signing config separately from the main spec by @pmengelbert in #326
- Allow custom worker images by @cpuguy83 in #328
- azlinux: Make sure we install /etc/os-release by @cpuguy83 in #342
- Properly Version Build Dependencies for Azlinux by @adamperlin in #337
Full Changelog: v0.7.1...v0.8.0
v0.7.1
v0.7.0
What's Changed
- Allow patches to include a subpath to a file, enabling directory-backed sources to be used as a patch.
- Add new artifact type to inject content into /usr/share
- Fix: Generated RPM specs no longer include unset fields for non-required fields (e.g.
Website
,Packager
,Vendor
) - Fix: Replace use of systemd prerun files with post-install scripts
- Add support for a build arg (
DALEC_SKIP_SIGNING=1
) to disable signing when signing is included in the spec
Breaking change
- Package constraints have changed from a
[]string
to a struct withversion
andarch
fields so constraints can be applied to specific arches. This may be extended further in the future.
Full Changelog: v0.6.1...v0.7.0
v0.6.1
What's Changed
This release has some internal refactoring, the main thing changed in it is the mariner rpm and container targets no longer reach out to dockerhub.
Full Changelog: v0.6.0...v0.6.1
v0.6.0
This is mostly a bug fix update with one new feature:
- The signer spec now supports build args
What's Changed
- delete unused test function parameter by @DannyBrito in #288
- rpm: Fix use of inccorrect field for runtime constraints by @cpuguy83 in #290
- Bump the actions-all group across 1 directory with 5 updates by @dependabot in #289
- Bump oss/go/microsoft/golang from
ac43b1e
tob2768e5
by @dependabot in #284 - Add support for passing build args to signers by @cpuguy83 in #275
- Fix cmd mounts by @cpuguy83 in #300
- Bump oss/go/microsoft/golang from
b2768e5
toa7b0651
by @dependabot in #293 - fix: Don't emit rpm spec fields if empty in dalec spec by @pmengelbert in #299
Full Changelog: v0.5.0...v0.5.1
v0.5.0
What's Changed
- Support SystemD Drop Ins by @jeremyrickard in #272
- fix false run on fs.walkdir test by @DannyBrito in #273
- tests: Allow test suite to run on mac by @cpuguy83 in #248
- ci: Add test output formatter by @cpuguy83 in #264
Full Changelog: v0.4.1...v0.5.0
v0.4.1
What's Changed
- Fix filepath handling for a few types by @jeremyrickard in #266
Full Changelog: v0.4.0...v0.4.1