This repository was archived by the owner on Feb 3, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-9
lines changed
Expand file tree Collapse file tree 2 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ pull_docker_container () {
6262 docker login $DOCKER_ENDPOINT --username $DOCKER_USERNAME --password $DOCKER_PASSWORD
6363 fi
6464
65-
6665 for i in {1..5}; do
6766 docker pull $docker_repo_name && break ||
6867 echo " ERROR: docker pull $docker_repo_name failed ... retrying after $( $i ** 2) seconds" &&
@@ -106,20 +105,14 @@ run_docker_container () {
106105 ln -s $docker_log $AZ_BATCH_TASK_WORKING_DIR /logs/docker.log
107106 fi
108107 echo " Finished running docker container"
109-
110108}
111109
112110
113-
114-
115-
116111main () {
117-
118112 time(
119113 install_prerequisites
120114 ) 2>&1
121115
122-
123116 # set hostname in /etc/hosts if dns cannot resolve
124117 if ! host $HOSTNAME ; then
125118 echo $( hostname -I | awk ' {print $1}' ) $HOSTNAME >> /etc/hosts
@@ -149,7 +142,11 @@ main () {
149142 # set up aztk python environment
150143 export LC_ALL=C.UTF-8
151144 export LANG=C.UTF-8
152- # ensure these packages are compatibile before upgrading
145+ # pin pipenv dependencies (and transitive dependencies) since pipenv does not
146+ python3 -m pip install setuptools==" 42.0.2"
147+ python3 -m pip install zipp==" 1.1.0"
148+ python3 -m pip install virtualenv==" 20.0.0"
149+ # ensure these packages (pip, pipenv) are compatibile before upgrading
153150 python3 -m pip install pip==" 18.0" pipenv==" 2018.7.1"
154151 mkdir -p $AZTK_WORKING_DIR /.aztk-env
155152 cp $AZTK_WORKING_DIR /aztk/node_scripts/Pipfile $AZTK_WORKING_DIR /.aztk-env
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ paramiko~=2.4.2
1111# Development
1212yapf == 0.22.0
1313pylint == 2.1.1
14- pytest == 3.1.3
14+ pytest == 5.3.5
1515pytest-xdist == 1.22.0
1616twine == 1.11.0
1717docker == 3.2.1
You can’t perform that action at this time.
0 commit comments