Skip to content

Commit

Permalink
Merge pull request #8 from IBM/FixWheelReleaseWithBuildx
Browse files Browse the repository at this point in the history
Fix wheel release with buildx
  • Loading branch information
gabe-l-hart authored Jan 30, 2024
2 parents e4c74fc + d81aba2 commit f940499
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ ARG RELEASE_DRY_RUN
COPY ./test /src/test
COPY ./ci/run-tests.sh /src/ci/run-tests.sh
RUN true && \
([ "$RELEASE_DRY_RUN" != "true" ] && sleep 90 || true) && \
([ "$RELEASE_DRY_RUN" != "true" ] && sleep 30 || true) && \
pip cache purge && \
pip install alchemy-config==${RELEASE_VERSION} && \
./ci/run-tests.sh && \
true
5 changes: 5 additions & 0 deletions ci/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ cd $(dirname ${BASH_SOURCE[0]})/..
# Get the tag for this release
tag=$(echo $REF | cut -d'/' -f3-)

# We explicitly don't want to run with buildkit so that the docker builds happen
# in a linear fashion since our `release_test` stages intentionally don't
# inherit from the stages where the publication happens.
export DOCKER_BUILDKIT=0

# Build the docker phase that will release and then test it
docker build . \
--target=release_test \
Expand Down

0 comments on commit f940499

Please sign in to comment.