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
7db4e2cb
Commit
7db4e2cb
authored
Jun 25, 2017
by
Eliot Berriot
Browse files
Attempt
parent
270eab46
Pipeline
#58
passed with stages
in 27 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
7db4e2cb
test_api
:
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
:
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
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
pages
:
stage
:
test
image
:
alpine
before_script
:
-
cd docs
...
...
@@ -42,7 +48,7 @@ pages:
-
pip install sphinx
-
apk --no-cache add make
-
make html
-
mv _build/html/ public
/
-
mv _build/html/
../
public
artifacts
:
paths
:
-
public
...
...
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