ci: use docker-compose pull -q
This commit is contained in:
parent
8859806d64
commit
3b6e414d0f
|
@ -141,7 +141,7 @@ jobs:
|
||||||
- name: Setup test containers and run tests
|
- name: Setup test containers and run tests
|
||||||
run: |
|
run: |
|
||||||
cd e2e
|
cd e2e
|
||||||
docker-compose pull
|
docker-compose pull -q
|
||||||
docker-compose up -d
|
docker-compose up -d
|
||||||
docker-compose exec -T passbook bash -c "pip install -r /app/requirements-dev.txt"
|
docker-compose exec -T passbook bash -c "pip install -r /app/requirements-dev.txt"
|
||||||
# This is temporary as we don't have selenium as a dependency yet
|
# This is temporary as we don't have selenium as a dependency yet
|
||||||
|
|
|
@ -82,7 +82,7 @@ jobs:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Run test suite in final docker images
|
- name: Run test suite in final docker images
|
||||||
run: |
|
run: |
|
||||||
docker-compose pull
|
docker-compose pull -q
|
||||||
docker-compose up --no-start
|
docker-compose up --no-start
|
||||||
docker-compose start postgresql redis
|
docker-compose start postgresql redis
|
||||||
docker-compose run -u root server bash -c "pip install --no-cache -r requirements-dev.txt && ./manage.py test"
|
docker-compose run -u root server bash -c "pip install --no-cache -r requirements-dev.txt && ./manage.py test"
|
||||||
|
|
|
@ -13,7 +13,7 @@ jobs:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- name: Pre-release test
|
- name: Pre-release test
|
||||||
run: |
|
run: |
|
||||||
docker-compose pull
|
docker-compose pull -q
|
||||||
docker build \
|
docker build \
|
||||||
--no-cache \
|
--no-cache \
|
||||||
-t beryju/passbook:latest \
|
-t beryju/passbook:latest \
|
||||||
|
|
Reference in New Issue