Skip to content

Commit

Permalink
Merge pull request #115 from duplocloud/DUPLO-26299-2-build-issue
Browse files Browse the repository at this point in the history
DUPLO-26299 Build fix
  • Loading branch information
kferrone authored Nov 14, 2024
2 parents 499f12c + 190053b commit c89a3fb
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 14 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Issue with wait breaking when a pod didn't have the `Name` key
- Jobs were not failing gracefully when waiting for completion but faults were present for pods on the job
- Removed potential cyclic dependencies in `docker-compose.yaml` by explicitly defining inherited sections

## [0.2.38] - 2024-10-28

Expand Down
29 changes: 16 additions & 13 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,38 +1,41 @@
services:

duploctl: &base
image: &image duplocloud/duploctl:latest
build:
duploctl:
image: duplocloud/duploctl:latest
container_name: duploctl
build:
target: runner
args: &args
args:
PY_VERSION: ${PY_VERSION:-3.12}
tags:
- *image
- duplocloud/duploctl:latest
- duplocloud/duploctl:${GIT_SHA:-latest}
- duplocloud/duploctl:${GIT_REF:-latest}
- duplocloud/duploctl:${GIT_TAG:-latest}
x-bake:
platforms: &platforms
x-bake:
platforms:
- linux/amd64
- linux/arm64
cache-to: type=gha,scope=runner,mode=max
cache-from: type=gha,scope=runner
container_name: duploctl
environment: &environment
environment:
DUPLO_HOST: ${DUPLO_HOST:-}
DUPLO_TOKEN: ${DUPLO_TOKEN:-}
DUPLO_TENANT: ${DUPLO_TENANT:-}
DUPLO_OUTPUT: yaml

duploctl-bin:
<<: *base
container_name: duploctl-bin
image: duplocloud/duploctl:bin
container_name: duploctl-bin
build:
target: bin
args: *args
args:
PY_VERSION: ${PY_VERSION:-3.12}
x-bake:
platforms: *platforms
platforms:
- linux/amd64
- linux/arm64
output: type=local,dest=./dist
cache-to: type=gha,scope=installer,mode=max
cache-from: type=gha,scope=installer

2 changes: 1 addition & 1 deletion wiki
Submodule wiki updated from 3f94af to e3b71b

0 comments on commit c89a3fb

Please sign in to comment.