Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
funkwhale_OLD
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
Container Registry
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
jovuit
funkwhale_OLD
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
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
...
...
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