Skip to content
Snippets Groups Projects
Commit 385c7eb1 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

More file removal and tweaks to gitlab-ci

parent 3cb2b31f
No related branches found
No related tags found
No related merge requests found
image: docker:latest
stages:
- test
- build
- test
test_api:
stage: test
script:
before_script:
- docker-compose -f api/test.yml build
script:
- docker-compose -f api/test.yml run test
after_script:
- docker-compose -f api/test.yml run rm -rf api/funkwhale_api/media/*
tags:
- dind
build_front:
stage: build
before_script:
- docker-compose -f dev.yml run front rm dist/*
- docker-compose -f dev.yml build front
script:
- docker-compose -f dev.yml front rm dist/*
- docker-compose -f dev.yml front npm run build
- docker-compose -f dev.yml run front npm run build
artifacts:
paths:
- front/dist
......
test:
dockerfile: docker/Dockerfile.test
build: .
entrypoint: python manage.py test
command: python manage.py test
volumes:
- .:/app
environment:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment