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
b70d04eb
Commit
b70d04eb
authored
Jun 25, 2017
by
Eliot Berriot
Browse files
Should now build / publish front assets with runner
parent
76f98b74
Pipeline
#41
failed
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
b70d04eb
image
:
docker:latest
steps
:
-
test
-
build
test_api
:
stage
:
test
script
:
-
./api/runtests
tags
:
-
dind
build_front
:
stage
:
build
script
:
-
docker-compose -f dev.yml front rm dist/*
-
docker-compose -f dev.yml front npm run build
artifacts
:
paths
:
-
front/dist
tags
:
-
dind
# When using dind, it's wise to use the overlayfs driver for
# improved performance.
# variables:
...
...
dev.yml
View file @
b70d04eb
...
...
@@ -52,12 +52,12 @@ services:
-
redis
-
celeryworker
nginx
:
env_file
:
.env.dev
build
:
./api/compose/nginx
links
:
-
api
volumes
:
-
./api/funkwhale_api/media:/staticfiles/media
ports
:
-
"
0.0.0.0:6001:80"
#
nginx:
#
env_file: .env.dev
#
build: ./api/compose/nginx
#
links:
#
- api
#
volumes:
#
- ./api/funkwhale_api/media:/staticfiles/media
#
ports:
#
- "0.0.0.0:6001:80"
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