Skip to content

Commit

Permalink
Merge pull request #779 from dandi/rm-girder-envs
Browse files Browse the repository at this point in the history
Remove Girder envvars from Docker Compose setup
  • Loading branch information
yarikoptic authored Oct 1, 2021
2 parents fd0ee3c + 3cac647 commit 27dd3e7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
4 changes: 0 additions & 4 deletions dandi/tests/data/dandiarchive-docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ services:
DJANGO_CELERY_BROKER_URL: amqp://rabbitmq:5672/
DJANGO_CONFIGURATION: DevelopmentConfiguration
DJANGO_DANDI_DANDISETS_BUCKET_NAME: dandi-dandisets
DJANGO_DANDI_GIRDER_API_URL:
DJANGO_DANDI_GIRDER_API_KEY:
DJANGO_DATABASE_URL: postgres://postgres:postgres@postgres:5432/django
DJANGO_MINIO_STORAGE_ACCESS_KEY: minioAccessKey
DJANGO_MINIO_STORAGE_ENDPOINT: minio:9000
Expand Down Expand Up @@ -70,8 +68,6 @@ services:
DJANGO_CELERY_BROKER_URL: amqp://rabbitmq:5672/
DJANGO_CONFIGURATION: DevelopmentConfiguration
DJANGO_DANDI_DANDISETS_BUCKET_NAME: dandi-dandisets
DJANGO_DANDI_GIRDER_API_URL:
DJANGO_DANDI_GIRDER_API_KEY:
DJANGO_DATABASE_URL: postgres://postgres:postgres@postgres:5432/django
DJANGO_MINIO_STORAGE_ACCESS_KEY: minioAccessKey
DJANGO_MINIO_STORAGE_ENDPOINT: minio:9000
Expand Down
8 changes: 1 addition & 7 deletions dandi/tests/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,7 @@ def docker_compose_setup():
!= 0
)

# TODO: Delete this after <https://github.com/dandi/dandi-api/pull/251> is
# merged:
env = dict(os.environ)
env["DJANGO_DANDI_GIRDER_API_URL"] = "http://localhost:8080/api/v1"
env["DJANGO_DANDI_GIRDER_API_KEY"] = "abc123"
env["DJANGO_DANDI_SCHEMA_VERSION"] = DANDI_SCHEMA_VERSION

env = {**os.environ, "DJANGO_DANDI_SCHEMA_VERSION": DANDI_SCHEMA_VERSION}
try:
if create:
run(
Expand Down

0 comments on commit 27dd3e7

Please sign in to comment.