Skip to content

Commit

Permalink
Update test Image building (Azure#5784)
Browse files Browse the repository at this point in the history
* Stop downloading a01droid or a01dispatcher
* Copy private build in build script
  • Loading branch information
troydai authored Mar 12, 2018
1 parent 859ba56 commit 28cf7cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
6 changes: 6 additions & 0 deletions scripts/ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ for setup_file in $(find src -name 'setup.py'); do
popd >/dev/null
done

##############################################
# copy private packages
if [ -z ./privates ]; then
cp ./privates/*.whl $output_dir
fi

##############################################
# build test packages
title 'Build Azure CLI tests package'
Expand Down
10 changes: 0 additions & 10 deletions scripts/ci/build_droid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,6 @@ cp $dp0/a01/dockerfiles/py36/Dockerfile artifacts/
# Move other scripts for docker
cp -R $dp0/a01/* artifacts/

title 'Downloading applications'

curl -L https://a01tools.blob.core.windows.net/droid/latest/linux/a01droid \
-o artifacts/docker_app/a01droid
chmod +x artifacts/docker_app/a01droid

curl -L https://a01tools.blob.core.windows.net/droid/latest/linux/a01dispatcher \
-o artifacts/docker_app/a01dispatcher
chmod +x artifacts/docker_app/a01dispatcher

#############################################
# for travis repo slug, remove the suffix to reveal the owner
# - the offical repo will generate image: azurecli-test-Azure
Expand Down

0 comments on commit 28cf7cd

Please sign in to comment.