Skip to content

Commit

Permalink
rm deprecated --link
Browse files Browse the repository at this point in the history
  • Loading branch information
Miserlou committed Jan 10, 2019
1 parent 190848b commit e57f149
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 17 deletions.
2 changes: 0 additions & 2 deletions api/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,4 @@ docker run \
--add-host=nomad:$HOST_IP \
--add-host=elasticsearch:$ES_HOST_IP \
--env-file api/environments/test \
--link drdb:postgres \
--link dres:elasticsearch \
-it ccdlstaging/dr_api_local bash -c "$(run_tests_with_coverage $@)"
2 changes: 0 additions & 2 deletions api/serve.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,5 @@ docker run \
--add-host=nomad:$HOST_IP \
--add-host=elasticsearch:$ES_HOST_IP \
--env-file api/environments/local \
--link drdb:postgres \
--link dres:elasticsearch \
-p 8000:8000 \
-it ccdlstaging/dr_api_local python3.6 manage.py runserver 0.0.0.0:8000 "$@"
2 changes: 0 additions & 2 deletions common/make_migrations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,11 @@ docker run \
--add-host=nomad:$HOST_IP \
--env-file common/environments/local \
--interactive \
--link drdb:postgres\
ccdlstaging/dr_migrations python3.6 manage.py makemigrations data_refinery_common

docker run \
--volume $script_directory/data_refinery_common:/home/user/data_refinery_common \
--add-host=database:$DB_HOST_IP \
--add-host=nomad:$HOST_IP \
--env-file common/environments/local \
--link drdb:postgres \
ccdlstaging/dr_migrations python3.6 manage.py migrate
2 changes: 0 additions & 2 deletions common/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,4 @@ docker run \
--add-host=nomad:$HOST_IP \
--add-host=elasticsearch:$ES_HOST_IP \
--env-file api/environments/test \
--link drdb:postgres \
--link dres:elasticsearch \
-it ccdlstaging/dr_common_tests bash -c "$(run_tests_with_coverage $@)" --parallel
2 changes: 0 additions & 2 deletions foreman/run_surveyor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,4 @@ docker run -it \
--env AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \
--env AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \
--volume $volume_directory:/home/user/data_store \
--link drdb:postgres \
--link dres:elasticsearch \
ccdlstaging/dr_foreman python3 manage.py "$@"
2 changes: 0 additions & 2 deletions foreman/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,4 @@ docker run \
--add-host=nomad:$HOST_IP \
--add-host=elasticsearch:$ES_HOST_IP \
--env-file foreman/environments/test \
--link drdb:postgres \
--link dres:elasticsearch \
-it ccdlstaging/dr_foreman bash -c "$(run_tests_with_coverage $@)"
1 change: 0 additions & 1 deletion run_manage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ docker run -it \
--env AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID \
--env AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY \
--env-file api/environments/local \
--link dres:elasticsearch \
--volume /tmp:/tmp \
--volume $volume_directory:/home/user/data_store \
--interactive dr_shell python3 manage.py $@
2 changes: 0 additions & 2 deletions workers/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -438,8 +438,6 @@ for image in ${worker_images[*]}; do
--env AWS_ACCESS_KEY_ID \
--env AWS_SECRET_ACCESS_KEY \
--volume $volume_directory:/home/user/data_store \
--link drdb:postgres \
--link dres:elasticsearch \
-it $image_name bash -c "$test_command"
fi
done
2 changes: 0 additions & 2 deletions workers/tester.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,4 @@ docker run \
--env AWS_SECRET_ACCESS_KEY \
--entrypoint ./manage.py \
--volume $volume_directory:/home/user/data_store \
--link drdb:postgres \
--link dres:elasticsearch \
$image_name "${@: -3}" "${@: -2}" "${@: -1}"

0 comments on commit e57f149

Please sign in to comment.