Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
funkwhale
funkwhale
Commits
385c7eb1
Commit
385c7eb1
authored
Jun 25, 2017
by
Eliot Berriot
Browse files
More file removal and tweaks to gitlab-ci
parent
3cb2b31f
Pipeline
#46
canceled with stages
in 15 minutes and 16 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
385c7eb1
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
...
...
api/test.yml
View file @
385c7eb1
test
:
dockerfile
:
docker/Dockerfile.test
build
:
.
entrypoint
:
python manage.py test
command
:
python manage.py test
volumes
:
-
.:/app
environment
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment