Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
move scripts/docker to scripts/images (#2672)
Browse files Browse the repository at this point in the history
* build docker images in build-artifacts.sh

* rename scripts/docker to scripts/images for building docker images
  • Loading branch information
kramasamy authored and cckellogg committed Jan 20, 2018
1 parent a78ef88 commit e2de6a4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/scripts/compile-platform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ bazel clean
echo "Creating packages"
bazel build -c opt --jobs 25 --config=$CONFIG_PLATFORM scripts/packages:tarpkgs
bazel build -c opt --jobs 25 --config=$CONFIG_PLATFORM scripts/packages:binpkgs
bazel build -c opt --jobs 25 --config=$CONFIG_PLATFORM scripts/docker:heron.tar
bazel build -c opt --jobs 25 --config=$CONFIG_PLATFORM scripts/images:heron.tar

echo "Moving packages to /$OUTPUT_DIRECTORY"
for file in ./bazel-bin/scripts/packages/*.tar.gz; do
Expand All @@ -66,7 +66,7 @@ for file in ./bazel-bin/scripts/packages/*.sh; do
done

echo "Moving docker image to /$OUTPUT_DIRECTORY"
for file in ./bazel-bin/scripts/docker/*.tar; do
for file in ./bazel-bin/scripts/images/*.tar; do
filename=$(basename $file)
dest=$OUTPUT_DIRECTORY/${filename/.tar/-$HERON_VERSION-$TARGET_PLATFORM.tar}

Expand Down
File renamed without changes.
8 changes: 8 additions & 0 deletions scripts/travis/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,12 @@ python ${UTILS}/save-logs.py "heron_build_binpkgs.txt" bazel\
--config=$PLATFORM scripts/packages:binpkgs
end_timer "$T"

T="heron build docker images"
start_timer "$T"
python ${UTILS}/save-logs.py "heron_build_binpkgs.txt" bazel\
--bazelrc=tools/travis/bazel.rc build\
--config=$PLATFORM scripts/images:heron.tar
end_timer "$T"


print_timer_summary

0 comments on commit e2de6a4

Please sign in to comment.