Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
funkwhale
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wxcafé
funkwhale
Commits
7db4e2cb
Commit
7db4e2cb
authored
7 years ago
by
Eliot Berriot
Browse files
Options
Downloads
Patches
Plain Diff
Attempt
parent
270eab46
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+40
-34
40 additions, 34 deletions
.gitlab-ci.yml
with
40 additions
and
34 deletions
.gitlab-ci.yml
+
40
−
34
View file @
7db4e2cb
stages
:
test_api
:
-
test
before_script
:
# - build
-
docker-compose -f api/test.yml build
#
script
:
# test_api:
-
docker-compose -f api/test.yml run test
# stage: test
after_script
:
# before_script:
-
docker-compose -f api/test.yml run test rm -rf funkwhale_api/media/
# - docker-compose -f api/test.yml build
# script:
tags
:
# - docker-compose -f api/test.yml run test
-
dind
# after_script:
# - docker-compose -f api/test.yml run test rm -rf funkwhale_api/media/
build_front
:
#
image
:
node:6-alpine
# tags:
before_script
:
# - dind
-
cd front
#
# build_front:
script
:
# stage: build
-
npm install
# image: node:6-alpine
-
npm run build
# before_script:
cache
:
# - cd front
key
:
"
$CI_COMMIT_REF_NAME"
#
paths
:
# script:
-
front/node_modules
# - npm install
artifacts
:
# - npm run build
name
:
"
front_${CI_COMMIT_REF_NAME}"
# cache:
paths
:
# key: "$CI_COMMIT_REF_NAME"
-
front/dist/
# paths:
only
:
# - front/node_modules
-
master
# artifacts:
-
develop
# name: "front_${CI_COMMIT_REF_NAME}"
tags
:
# paths:
-
docker
# - front/dist/
# only:
# - master
# - develop
# tags:
# - docker
pages
:
pages
:
stage
:
test
image
:
alpine
image
:
alpine
before_script
:
before_script
:
-
cd docs
-
cd docs
...
@@ -42,7 +48,7 @@ pages:
...
@@ -42,7 +48,7 @@ pages:
-
pip install sphinx
-
pip install sphinx
-
apk --no-cache add make
-
apk --no-cache add make
-
make html
-
make html
-
mv _build/html/ public
/
-
mv _build/html/
../
public
artifacts
:
artifacts
:
paths
:
paths
:
-
public
-
public
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment