Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
rebuilderd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
kpcyrd
rebuilderd
Commits
ddf22edf
Commit
ddf22edf
authored
3 years ago
by
kpcyrd
Browse files
Options
Downloads
Patches
Plain Diff
Switch debian worker to debrebuild.py backend
parent
9e1df2d4
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+1
-1
1 addition, 1 deletion
README.md
worker/Dockerfile.debian
+8
-1
8 additions, 1 deletion
worker/Dockerfile.debian
worker/rebuilder-debian.sh
+2
-1
2 additions, 1 deletion
worker/rebuilder-debian.sh
with
11 additions
and
3 deletions
README.md
+
1
−
1
View file @
ddf22edf
...
...
@@ -43,7 +43,7 @@ afford to.
| | Status | Docker | Doesn't need --privileged | Doesn't need /dev/kvm | Backend |
| --- | --- | --- | --- | --- | --- |
|
**Arch Linux**
| ✔️ supported | ❌ | - | ✔️ |
[
archlinux-repro
](
https://github.com/archlinux/archlinux-repro
)
|
|
**Debian**
| 🚀 experimental | ✔️ | ❌ | ✔️ |
[
debrebuild.p
l
](
https://
salsa.debian.org/debian/devscripts/-/blob/master/scripts
/debrebuild
.pl
)
|
|
**Debian**
| 🚀 experimental | ✔️ | ❌ | ✔️ |
[
debrebuild.p
y
](
https://
github.com/fepitre
/debrebuild
)
|
|
**Tails**
| 🚀 experimental | ❌ | - | ❌ |
[
docs
](
https://tails.boum.org/contribute/build/
)
(
[script](worker/rebuilder-tails.sh
)
) |
|
**Alpine**
| ✨ planned | - | - | - | - |
...
...
This diff is collapsed.
Click to expand it.
worker/Dockerfile.debian
+
8
−
1
View file @
ddf22edf
...
...
@@ -10,7 +10,14 @@ RUN --mount=type=cache,target=/var/cache/buildkit \
cp -v /var/cache/buildkit/debian/target/release/rebuilderd-worker /
FROM debian:bullseye
RUN apt-get update && apt-get install -y libssl-dev devscripts sbuild mmdebstrap
RUN apt-get update && apt install -y libssl-dev git mmdebstrap \
python3-apt python3-dateutil python3-requests python3-rstr python3-setuptools python3-httpx python3-tenacity \
debian-keyring debian-archive-keyring debian-ports-archive-keyring
# this is a temporary solution
# copied from https://github.com/fepitre/package-rebuilder/blob/fc38df2f6e81ae6307e47cf515caa3e92ec8f5a4/rebuilder.Dockerfile
RUN git clone https://salsa.debian.org/python-debian-team/python-debian /opt/python-debian
RUN cd /opt/python-debian && git checkout e28d7a5729b187cfd0ec95da25030224cd10021a && python3 setup.py build install
RUN git clone --depth=1 'https://github.com/fepitre/debrebuild' /debrebuild
COPY --from=0 \
/usr/src/rebuilderd/worker/rebuilder-debian.sh \
/usr/local/libexec/rebuilderd/
...
...
This diff is collapsed.
Click to expand it.
worker/rebuilder-debian.sh
+
2
−
1
View file @
ddf22edf
#!/bin/sh
set
-xe
debrebuild
--buildresult
=
"
${
REBUILDERD_OUTDIR
}
"
--builder
=
mmdebstrap
--
"
${
1
}
"
# debrebuild.py needs to be run from the repo
/debrebuild/debrebuild.py
--output
=
"
${
REBUILDERD_OUTDIR
}
"
--builder
=
mmdebstrap
--
"
${
1
}
"
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