Verified Commit bf95fce8 authored by Georg Krause's avatar Georg Krause
Browse files

Refactor review CI job

parent b917b137
Pipeline #19159 failed with stages
in 2 minutes and 46 seconds
......@@ -35,27 +35,19 @@ test_jsonld_ns:
review:
stage: review
image: buildkite/puppeteer:10.0.0
image: python:3.10-slim
interruptible: true
variables:
GIT_STRATEGY: clone
VUE_APP_ROUTER_BASE_URL: /-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/review/
before_script:
- apt-get update && apt-get install -y jq python2
- yarn install
- poetry install
script:
- yarn lint
- yarn build
- rm -rf review
- mv dist review
cache:
key: front_node_modules
paths:
- "node_modules"
- poetry run make html
artifacts:
expire_in: 2 weeks
paths:
- review
- public
only:
- branches
except:
......@@ -63,8 +55,8 @@ review:
tags:
- docker
environment:
name: review/front/$CI_COMMIT_REF_NAME
url: http://$CI_PROJECT_NAMESPACE.pages.funkwhale.audio/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/review/index.html
name: review/website/$CI_COMMIT_REF_NAME
url: http://$CI_PROJECT_NAMESPACE.pages.funkwhale.audio/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/public/index.html
pages:
......
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