Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
funkwhale.audio
Manage
Activity
Members
Labels
Plan
Issues
8
Issue boards
Milestones
Wiki
Code
Merge requests
8
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
funkwhale
funkwhale.audio
Commits
11001ff9
Verified
Commit
11001ff9
authored
5 years ago
by
Eliot Berriot
Browse files
Options
Downloads
Patches
Plain Diff
Review app
parent
c82f7330
No related branches found
No related tags found
1 merge request
!5
Review app
Pipeline
#4548
passed with stage
in 1 minute and 30 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+34
-0
34 additions, 0 deletions
.gitlab-ci.yml
src/router.js
+1
-1
1 addition, 1 deletion
src/router.js
vue.config.js
+1
-0
1 addition, 0 deletions
vue.config.js
with
36 additions
and
1 deletion
.gitlab-ci.yml
+
34
−
0
View file @
11001ff9
stages
:
-
review
-
build
review
:
stage
:
review
image
:
buildkite/puppeteer
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
-
yarn install
script
:
-
yarn lint
-
yarn i18n-compile
-
yarn build
-
rm -rf review
-
mv dist review
cache
:
key
:
front_node_modules
paths
:
-
"
node_modules"
artifacts
:
expire_in
:
2 weeks
paths
:
-
review
only
:
-
branches
except
:
-
master@funkwhale/funkwhale.audio
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
pages
:
stage
:
build
...
...
This diff is collapsed.
Click to expand it.
src/router.js
+
1
−
1
View file @
11001ff9
...
...
@@ -7,7 +7,7 @@ Vue.use(Router);
export
default
new
Router
({
mode
:
"
history
"
,
base
:
process
.
env
.
BASE_URL
,
base
:
process
.
env
.
BASE_URL
||
'
/
'
,
scrollBehavior
(
to
,
from
,
savedPosition
)
{
return
new
Promise
((
resolve
)
=>
{
setTimeout
(()
=>
{
...
...
This diff is collapsed.
Click to expand it.
vue.config.js
+
1
−
0
View file @
11001ff9
...
...
@@ -3,6 +3,7 @@ const path = require("path");
const
PrerenderSPAPlugin
=
require
(
"
prerender-spa-plugin
"
);
module
.
exports
=
{
baseUrl
:
process
.
env
.
VUE_APP_ROUTER_BASE_URL
||
'
/
'
,
chainWebpack
:
(
config
)
=>
{
config
.
plugins
.
delete
(
'
prefetch
'
);
},
...
...
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