Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F12551934
.gitlab-ci.yml
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
.gitlab-ci.yml
View Options
# This file is a template, and might need editing before it works on your project.
# Official framework image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/node/tags/
image
:
node:18
stages
:
-
check-changelog
-
lint
-
build
-
test
-
deploy
# https://git.pleroma.social/help/ci/yaml/workflow.md#switch-between-branch-pipelines-and-merge-request-pipelines
workflow
:
rules
:
-
if
:
$CI_PIPELINE_SOURCE == "merge_request_event"
-
if
:
$CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
when
:
never
-
if
:
$CI_COMMIT_BRANCH
check-changelog
:
stage
:
check-changelog
image
:
alpine
rules
:
-
if
:
$CI_MERGE_REQUEST_SOURCE_PROJECT_PATH == 'pleroma/pleroma-fe' && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME =~ /^renovate/
when
:
never
-
if
:
$CI_MERGE_REQUEST_SOURCE_PROJECT_PATH == 'pleroma/pleroma-fe' && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == 'weblate'
when
:
never
-
if
:
$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "develop"
before_script
:
''
after_script
:
''
cache
:
{}
script
:
-
apk add git
-
sh ./tools/check-changelog
lint
:
stage
:
lint
script
:
-
yarn
-
yarn lint
-
yarn stylelint
test
:
stage
:
test
tags
:
-
amd64
-
himem
variables
:
APT_CACHE_DIR
:
apt-cache
script
:
-
mkdir -pv $APT_CACHE_DIR && apt-get -qq update
-
apt install firefox-esr -y --no-install-recommends
-
firefox --version
-
yarn
-
yarn unit
build
:
stage
:
build
tags
:
-
amd64
-
himem
script
:
-
yarn
-
yarn build
artifacts
:
paths
:
-
dist/
docs-deploy
:
stage
:
deploy
image
:
alpine:latest
only
:
-
develop@pleroma/pleroma-fe
before_script
:
-
apk add curl
script
:
-
curl -X POST -F"token=$DOCS_PIPELINE_TRIGGER" -F'ref=master' https://git.pleroma.social/api/v4/projects/673/trigger/pipeline
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 14, 11:37 PM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
572593
Default Alt Text
.gitlab-ci.yml (1 KB)
Attached To
Mode
rPUFE pleroma-fe-upstream
Attached
Detach File
Event Timeline
Log In to Comment