diff --git a/.circleci/config.yml b/.circleci/config.yml index d421058..081ce27 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,7 +8,7 @@ jobs: working_directory: /home/circleci/mriqcwebapi machine: - image: ubuntu-2004:202104-01 + image: ubuntu-2204:2023.02.1 docker_layer_caching: true environment: @@ -28,12 +28,6 @@ jobs: fi - checkout - - run: - name: Install dependencies - command: | - python3 -m pip install --upgrade pip - python3 -m pip install docker-compose - python3 -m pip install requests - run: name: Set-up dockereve command: | @@ -69,6 +63,12 @@ jobs: - store_artifacts: path: /tmp/log/ + - run: + name: Install dependencies + command: | + python3 -m pip install --upgrade pip + python3 -m pip install requests + - run: name: Test MRIQC WebAPI command: python3 test/testGetPost.py diff --git a/dockereve-master/docker-compose.yml b/dockereve-master/docker-compose.yml index e6297f6..1587001 100644 --- a/dockereve-master/docker-compose.yml +++ b/dockereve-master/docker-compose.yml @@ -42,7 +42,6 @@ services: - ./eve-app/settings.py:/usr/src/app/settings.py - ./log/:/var/log/ - eve:/usr/src/app/static - # - /usr/src/app/static command: /usr/local/bin/gunicorn -w 2 --access-logfile /var/log/gunicorn.log -b :5000 app:app depends_on: - mongodb @@ -52,8 +51,8 @@ services: mongodb: image: mongo:latest container_name: mongodb - command: mongod --verbose --bind_ip_all hostname: mongodb + command: mongod --bind_ip_all ports: - "27017:27017" networks: