Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
Rebuilderd Website
Commits
d569d645
Verified
Commit
d569d645
authored
Oct 31, 2020
by
Jelle van der Waa
🚧
Browse files
Add metric for measuring the website size
Show the increase of website size in merge requests.
parent
b9b58a37
Pipeline
#2635
passed with stage
in 37 seconds
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
d569d645
...
...
@@ -4,7 +4,13 @@ dist:
script
:
-
pacman -Syu --needed --noconfirm yarn ruby-sass make git
-
make
-
make dist
after_script
:
-
echo "dist_size_bytes $(make distsize) " > metrics.txt
artifacts
:
reports
:
metrics
:
metrics.txt
dotenv
:
build.env
include
:
-
template
:
Dependency-Scanning.gitlab-ci.yml
Makefile
View file @
d569d645
...
...
@@ -53,6 +53,10 @@ submodule:
git submodule update
--init
--recursive
make
-C
.external/archlinux-common-style
.PHONY
:
distsize
:
@
du
-s
"dist/
${PACKAGE_NAME}
-
${VERSION}
"
.PHONY
:
clean
:
$(YARN)
cache clean
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment