Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Sebastian Krzyszkowiak
librem5-ci
Commits
9515ae35
Commit
9515ae35
authored
May 22, 2020
by
Guido Gunther
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use eatmydata to speedup package installation
parent
06b07a33
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
librem5-pipeline-definitions.yml
librem5-pipeline-definitions.yml
+8
-5
No files found.
librem5-pipeline-definitions.yml
View file @
9515ae35
...
...
@@ -16,12 +16,13 @@ variables:
-
echo "man-db man-db/auto-update boolean
false
" | debconf-set-selections
-
export DEBIAN_FRONTEND=noninteractive
-
apt-get -y update
-
apt-get -y install build-essential git
-
apt-get -y install eatmydata
-
eatmydata apt-get -y install build-essential git
-
'
[
"$L5_ADD_SCRATCH_CI"
!=
"true"
]
||
apt-get
-y
install
wget
ca-certificates
gnupg'
-
'
[
"$L5_ADD_SCRATCH_CI"
!=
"true"
]
||
echo
"deb
http://ci.puri.sm/
scratch
librem5"
>
/etc/apt/sources.list.d/ci.list'
-
'
[
"$L5_ADD_SCRATCH_CI"
!=
"true"
]
||
wget
-O-
https://ci.puri.sm/ci-repo.key
|
apt-key
add
-'
-
'
[
"$L5_ADD_SCRATCH_CI"
!=
"true"
]
||
apt-get
-y
update'
-
apt-get -y build-dep .
-
eatmydata
apt-get -y build-dep .
-
rm -f ../* ||
true
script
:
-
'
[
"$L5_GIT_SUBMODULE_UPDATE"
!=
"true"
]
||
git
submodule
update
--recursive'
...
...
@@ -44,10 +45,11 @@ variables:
-
echo "man-db man-db/auto-update boolean
false
" | debconf-set-selections
-
export DEBIAN_FRONTEND=noninteractive
-
apt-get -y update
-
'
[
"$L5_ADD_SCRATCH_CI"
!=
"true"
]
||
apt-get
-y
install
wget
ca-certificates
gnupg'
-
apt-get -y install eatmydata
-
'
[
"$L5_ADD_SCRATCH_CI"
!=
"true"
]
||
eatmydata
apt-get
-y
install
wget
ca-certificates
gnupg'
-
'
[
"$L5_ADD_SCRATCH_CI"
!=
"true"
]
||
echo
"deb
http://ci.puri.sm/
scratch
librem5"
>
/etc/apt/sources.list.d/ci.list'
-
'
[
"$L5_ADD_SCRATCH_CI"
!=
"true"
]
||
wget
-O-
https://ci.puri.sm/ci-repo.key
|
apt-key
add
-'
-
apt-get -y install autopkgtest
-
eatmydata
apt-get -y install autopkgtest
script
:
-
ls "${L5_WORKING_DIR}"
-
RET=0;
...
...
@@ -66,7 +68,8 @@ variables:
-
echo "man-db man-db/auto-update boolean
false
" | debconf-set-selections
-
export DEBIAN_FRONTEND=noninteractive
-
apt-get -y update
-
apt-get -y install wget ca-certificates gnupg lintian
-
apt-get -y install eatmydata
-
eatmydata apt-get -y install wget ca-certificates gnupg lintian
script
:
-
ls "${L5_WORKING_DIR}"
-
lintian ${L5_LINTIAN_OPTS} ${L5_WORKING_DIR}/*.changes
Write
Preview
Markdown
is supported
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