Skip to content

Commit

Permalink
Release - Fixed the deprecated component image build (#2063)
Browse files Browse the repository at this point in the history
* Release - Fixed the deprecated component image build

* Trigger postsubmit
  • Loading branch information
Ark-kun authored and k8s-ci-robot committed Sep 9, 2019
1 parent 570141d commit 4e21c76
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions components/deprecated/dataflow/base/build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ rsync -arvp "../tfdv/src"/ ./build/
rsync -arvp "../tft/src"/ ./build/
rsync -arvp "../tfma/src"/ ./build/
rsync -arvp "../predict/src"/ ./build/
cp ../../license.sh ./build
cp ../../third_party_licenses.csv ./build
cp ../../../license.sh ./build
cp ../../../third_party_licenses.csv ./build

docker build -t ml-pipeline-dataflow-base .
rm -rf ./build
Expand Down
2 changes: 1 addition & 1 deletion components/deprecated/dataflow/predict/build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ pushd ../base
./build_image.sh
popd

../../build_image.sh -l ml-pipeline-dataflow-tf-predict "$@"
../../../build_image.sh -l ml-pipeline-dataflow-tf-predict "$@"
2 changes: 1 addition & 1 deletion components/deprecated/dataflow/tfdv/build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ pushd ../base
./build_image.sh
popd

../../build_image.sh -l ml-pipeline-dataflow-tfdv "$@"
../../../build_image.sh -l ml-pipeline-dataflow-tfdv "$@"
2 changes: 1 addition & 1 deletion components/deprecated/dataflow/tfma/build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ pushd ../base
./build_image.sh
popd

../../build_image.sh -l ml-pipeline-dataflow-tfma "$@"
../../../build_image.sh -l ml-pipeline-dataflow-tfma "$@"
2 changes: 1 addition & 1 deletion components/deprecated/dataflow/tft/build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ pushd ../base
./build_image.sh
popd

../../build_image.sh -l ml-pipeline-dataflow-tft "$@"
../../../build_image.sh -l ml-pipeline-dataflow-tft "$@"
2 changes: 1 addition & 1 deletion components/deprecated/dataproc/analyze/build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ pushd ../base
./build_image.sh
popd

../../build_image.sh -l ml-pipeline-dataproc-analyze "$@"
../../../build_image.sh -l ml-pipeline-dataproc-analyze "$@"
4 changes: 2 additions & 2 deletions components/deprecated/dataproc/base/build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ rsync -arvp "../delete_cluster/src"/ ./build/
rsync -arvp "../transform/src"/ ./build/
rsync -arvp "../common"/ ./build/common/

cp ../../license.sh ./build
cp ../../third_party_licenses.csv ./build
cp ../../../license.sh ./build
cp ../../../third_party_licenses.csv ./build

docker build -t ml-pipeline-dataproc-base .
rm -rf ./build
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ pushd ../base
./build_image.sh
popd

../../build_image.sh -l ml-pipeline-dataproc-create-cluster "$@"
../../../build_image.sh -l ml-pipeline-dataproc-create-cluster "$@"
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ pushd ../base
./build_image.sh
popd

../../build_image.sh -l ml-pipeline-dataproc-delete-cluster "$@"
../../../build_image.sh -l ml-pipeline-dataproc-delete-cluster "$@"
2 changes: 1 addition & 1 deletion components/deprecated/dataproc/predict/build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ pushd ../base
./build_image.sh
popd

../../build_image.sh -l ml-pipeline-dataproc-predict "$@"
../../../build_image.sh -l ml-pipeline-dataproc-predict "$@"
2 changes: 1 addition & 1 deletion components/deprecated/dataproc/train/build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ pushd ../base
./build_image.sh
popd

../../build_image.sh -l ml-pipeline-dataproc-train "$@"
../../../build_image.sh -l ml-pipeline-dataproc-train "$@"
2 changes: 1 addition & 1 deletion components/deprecated/dataproc/transform/build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ pushd ../base
./build_image.sh
popd

../../build_image.sh -l ml-pipeline-dataproc-transform "$@"
../../../build_image.sh -l ml-pipeline-dataproc-transform "$@"

0 comments on commit 4e21c76

Please sign in to comment.