Skip to content

Commit

Permalink
(hotfix) 0.33.1 (#139)
Browse files Browse the repository at this point in the history
* (hotfix) 0.33.1

* fix tests
  • Loading branch information
jmlopez-rod authored Mar 27, 2024
1 parent 40dbd80 commit 433320b
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ The format of this changelog is based on
## [Unreleased]

## [0.33.1] <a name="0.33.1" href="#0.33.1">-</a> March 27, 2024

- `use_buildx` is set to `true` by default. This flag will go away in the future
and the buildx command will be used by default.

## [0.33.0] <a name="0.33.0" href="#0.33.0">-</a> March 26, 2024

- Add `use_buildx` flag to `m` configuration to try use a buildx command when
Expand Down Expand Up @@ -535,7 +540,8 @@ latest on the `master` branch.
- Provides basic utilities to create a CI/CD flow via the m cli.
- As a library, it facilities the creation of clis similar to m.

[unreleased]: https://github.com/jmlopez-rod/m/compare/0.33.0...HEAD
[unreleased]: https://github.com/jmlopez-rod/m/compare/0.33.1...HEAD
[0.33.1]: https://github.com/jmlopez-rod/m/compare/0.33.0...0.33.1
[0.33.0]: https://github.com/jmlopez-rod/m/compare/0.32.1...0.33.0
[0.32.1]: https://github.com/jmlopez-rod/m/compare/0.32.0...0.32.1
[0.32.0]: https://github.com/jmlopez-rod/m/compare/0.31.1...0.32.0
Expand Down
2 changes: 1 addition & 1 deletion m/m.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
owner: jmlopez-rod
repo: m
version: 0.33.0
version: 0.33.1
workflow: m_flow
build_tag_with_version: true
3 changes: 1 addition & 2 deletions packages/python/m/ci/docker/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,8 @@ class DockerConfig(BaseModel):
# list of images to build
images: list[DockerImage]

# Opt in flag to use buildx imagetools to create multi-arch manifests.
# https://docs.docker.com/reference/cli/docker/buildx/imagetools/create/
use_buildx: bool = False
use_buildx: bool = True

def makefile_targets(self: 'DockerConfig', files: FileNames) -> str:
"""Create the Makefile targets to trigger the local builds.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ version: 0.100.0
workflow: m_flow
build_tag_with_version: true
docker_config:
use_buildx: true
architectures:
amd64: ubuntu-amd
arm64: ubuntu-arm
Expand Down
1 change: 1 addition & 0 deletions packages/python/tests/blueprints/multi-arch/m/m.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ docker_config:
base_path: packages/python/tests/blueprints/multi-arch/m/docker
docker_registry: 'ghcr.io/repo-owner'
max_parallel_manifests: 16
use_buildx: false
extra_build_steps:
- name: step
run: cmd
Expand Down
1 change: 1 addition & 0 deletions packages/python/tests/blueprints/single-arch/m/m.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ docker_config:
SOME_SECRET: ${{ secrets.SOME_SECRET }}
SOME_VAR: some_value
architectures: null
use_buildx: false
base_path: packages/python/tests/blueprints/single-arch/m/docker
docker_registry: 'ghcr.io/repo-owner'
extra_build_steps:
Expand Down

0 comments on commit 433320b

Please sign in to comment.