This repository has been archived by the owner on Jul 29, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change builder to use pypiserver and not copy wheels
- Loading branch information
1 parent
2c33072
commit 889ca5a
Showing
6 changed files
with
27 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,33 @@ | ||
#!/bin/bash | ||
|
||
# # Build wheels for all projects | ||
# export TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $THUMBOR_VERSION; fi` | ||
# echo "TAG: $TAG" | ||
# echo "TRAVIS_BRANCH: $TRAVIS_BRANCH" | ||
# echo "THUMBOR_VERSION: $THUMBOR_VERSION" | ||
|
||
echo "--> Wheelhousing requirements in /wheelhouse" | ||
docker build -t builder -f Dockerfile.build . | ||
mkdir -p wheelhouse | ||
docker run --rm -v "$(pwd)"/wheelhouse:/wheelhouse builder | ||
|
||
mv wheelhouse thumbor/wheelhouse | ||
echo "Launch Pypiserver" | ||
docker-compose -f docker-compose-travis.yml up -d pypiserver | ||
|
||
echo "--> BUILDING apsl/thumbor" | ||
docker build -f thumbor/Dockerfile -t apsl/thumbor thumbor/ | ||
echo "--> TAGGING apsl/thumbor:$THUMBOR_VERSION" | ||
docker tag apsl/thumbor apsl/thumbor:$THUMBOR_VERSION | ||
docker tag apsl/thumbor apsl/thumbor:latest | ||
mv thumbor/wheelhouse thumbor-multiprocess/wheelhouse | ||
|
||
echo "--> BUILDING apsl/thumbor-multiprocess" | ||
docker build -f thumbor-multiprocess/Dockerfile -t apsl/thumbor-multiprocess thumbor-multiprocess/ | ||
echo "--> TAGGING apsl/thumbor-multiprocess:$THUMBOR_VERSION" | ||
docker tag apsl/thumbor-multiprocess apsl/thumbor-multiprocess:$THUMBOR_VERSION | ||
docker tag apsl/thumbor-multiprocess apsl/thumbor-multiprocess:latest | ||
|
||
echo "--> BUILDING apsl/thumbor-nginx" | ||
docker build -f nginx/Dockerfile -t apsl/thumbor-nginx nginx/ | ||
echo "--> TAGGING apsl/thumbor-nginx:$THUMBOR_VERSION" | ||
docker tag apsl/thumbor-nginx apsl/thumbor-nginx:$THUMBOR_VERSION | ||
docker tag apsl/thumbor-nginx apsl/thumbor-nginx:latest | ||
mv thumbor-multiprocess/wheelhouse remotecv/wheelhouse | ||
|
||
echo "--> BUILDING apsl/remotecv" | ||
docker build -f remotecv/Dockerfile -t apsl/remotecv remotecv/ | ||
echo "--> TAGGING apsl/remotecv:$THUMBOR_VERSION" | ||
docker tag apsl/remotecv apsl/remotecv:$THUMBOR_VERSION | ||
docker tag apsl/remotecv apsl/remotecv:latest | ||
mv remotecv/wheelhouse wheelhouse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters