Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
reproducible alpine: 2nd build might be in the future too
· 5ee25a02
kpcyrd
authored
Dec 03, 2019
5ee25a02
reproducible: introduce a dsources view to simplify some queries
· 95eb84e6
Mattia Rizzolo
authored
Dec 03, 2019
Signed-off-by:
Mattia Rizzolo
<
mattia@debian.org
>
95eb84e6
Show whitespace changes
Inline
Side-by-side
bin/reproducible_build_alpine_pkg.sh
View file @
95eb84e6
...
...
@@ -201,13 +201,14 @@ second_build() {
local
FUTURE_STATE
=
"disabled"
if
[
"
$(
hostname
)
"
=
"osuosl-build170-amd64"
]
;
then
FUTURE_STATE
=
"enabled"
GIT_OPTIONS
=
'GIT_SSL_NO_VERIFY=1'
fi
echo
"Future:
$FUTURE_STATE
"
echo
"SOURCE_DATE_EPOCH:
$SOURCE_DATE_EPOCH
"
echo
"============================================================================="
schroot
--begin-session
--session-name
=
$SESSION
-c
jenkins-reproducible-alpine
echo
"MAKEFLAGS=-j
$NEW_NUM_CPU
"
| schroot
--run-session
-c
$SESSION
--directory
/tmp
-u
root
--
tee
-a
/etc/abuild.conf
schroot
--run-session
-c
$SESSION
--directory
"/var/lib/jenkins/aports"
--
git pull
schroot
--run-session
-c
$SESSION
--directory
"/var/lib/jenkins/aports"
--
sh
-c
"
$GIT_OPTIONS
git pull
"
# add more variations in the 2nd build: TZ (differently), LANG, LC_ALL, umask
schroot
--run-session
-c
$SESSION
--directory
/tmp
--
tee
-a
/var/lib/jenkins/.bashrc
<<-
__END__
export TZ="/usr/share/zoneinfo/Etc/GMT-14"
...
...
bin/reproducible_db_maintenance.py
View file @
95eb84e6
...
...
@@ -749,6 +749,12 @@ schema_updates = {
"
UPDATE stats_build SET suite=
'
community
'
WHERE suite=
'
archlinux_community
'"
,
"
UPDATE stats_build SET suite=
'
multilib
'
WHERE suite=
'
archlinux_multilib
'"
,
],
49
:
[
# create a dsources view
"""
CREATE VIEW dsources AS
SELECT s.id AS package_id, s.name, s.version, s.suite,
s.architecture, s.notify_maintainer, d.name AS distribution
FROM sources s JOIN distributions d on s.distribution=d.id
"""
,
],
}
...
...