Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
funkwhale
funkwhale
Commits
5d7b1cb8
Commit
5d7b1cb8
authored
Jun 25, 2017
by
Eliot Berriot
Browse files
Should work now
parent
7db4e2cb
Pipeline
#59
passed with stages
in 2 minutes and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
5d7b1cb8
stages
:
-
test
#
- build
#
#
test_api:
#
stage: test
#
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 test rm -rf funkwhale_api/media/
#
#
tags:
#
- dind
#
#
build_front:
#
stage: build
#
image: node:6-alpine
#
before_script:
#
- cd front
#
#
script:
#
- npm install
#
- npm run build
#
cache:
#
key: "$CI_COMMIT_REF_NAME"
#
paths:
#
- front/node_modules
#
artifacts:
#
name: "front_${CI_COMMIT_REF_NAME}"
#
paths:
#
- front/dist/
#
only:
#
- master
#
- develop
#
tags:
#
- docker
-
build
test_api
:
stage
:
test
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 test rm -rf funkwhale_api/media/
tags
:
-
dind
build_front
:
stage
:
build
image
:
node:6-alpine
before_script
:
-
cd front
script
:
-
npm install
-
npm run build
cache
:
key
:
"
$CI_COMMIT_REF_NAME"
paths
:
-
front/node_modules
artifacts
:
name
:
"
front_${CI_COMMIT_REF_NAME}"
paths
:
-
front/dist/
only
:
-
master
-
develop
tags
:
-
docker
pages
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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