Commit 7db4e2cb authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Attempt

parent 270eab46
Pipeline #58 passed with stages
in 27 seconds
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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment