]>
git.pld-linux.org Git - projects/cleanbuild.git/log
Elan Ruusamäe [Mon, 9 Jan 2023 14:34:38 +0000 (16:34 +0200)]
Configure php hooks
Elan Ruusamäe [Mon, 21 Nov 2022 11:17:53 +0000 (13:17 +0200)]
Hide php versions from poldek
Elan Ruusamäe [Mon, 9 Jan 2023 14:35:32 +0000 (16:35 +0200)]
Use old rpm compatible digests
Elan Ruusamäe [Wed, 22 Feb 2023 19:07:31 +0000 (21:07 +0200)]
Add doc for cleanbuild shell integration
Elan Ruusamäe [Wed, 22 Feb 2023 19:05:18 +0000 (21:05 +0200)]
Add code to generate shell alias
Elan Ruusamäe [Mon, 5 Sep 2022 15:10:42 +0000 (18:10 +0300)]
Fix have_container seeing dead containers
Elan Ruusamäe [Wed, 22 Feb 2023 19:07:59 +0000 (21:07 +0200)]
Refactor: Add is_bool helper
Elan Ruusamäe [Sun, 12 Dec 2021 20:17:02 +0000 (22:17 +0200)]
Update teeboth to report reasonable error
Elan Ruusamäe [Sun, 12 Dec 2021 20:08:52 +0000 (22:08 +0200)]
Update to use UID/GID of running user if non-root
Elan Ruusamäe [Tue, 28 Sep 2021 15:18:53 +0000 (18:18 +0300)]
Add --exec option to enter container
Elan Ruusamäe [Tue, 28 Sep 2021 15:18:30 +0000 (18:18 +0300)]
Enable keep container by default
Elan Ruusamäe [Sun, 29 Aug 2021 15:45:19 +0000 (15:45 +0000)]
Update CI to use extends rather YAML anchors
Elan Ruusamäe [Sun, 29 Aug 2021 15:41:45 +0000 (18:41 +0300)]
Enable DOCKER_BUILDKIT=1 variable for CI
Elan Ruusamäe [Sun, 29 Aug 2021 13:58:11 +0000 (16:58 +0300)]
Fix docker exec for rpm-build-tools initialize
Elan Ruusamäe [Sun, 29 Aug 2021 13:33:36 +0000 (16:33 +0300)]
Use package dir as container initial workdir
Elan Ruusamäe [Sun, 29 Aug 2021 13:09:20 +0000 (16:09 +0300)]
Handle ctrl+c for build process
Elan Ruusamäe [Sun, 29 Aug 2021 13:08:47 +0000 (16:08 +0300)]
Add support to re-use container with --keep-container
Elan Ruusamäe [Sun, 29 Aug 2021 12:41:42 +0000 (15:41 +0300)]
Use build cache to speedup local docker image rebuilds
Elan Ruusamäe [Sun, 29 Aug 2021 12:27:30 +0000 (15:27 +0300)]
Install ca-certificates for builder wget
Elan Ruusamäe [Tue, 24 Aug 2021 15:52:32 +0000 (18:52 +0300)]
Fetch git tag from container
This avoids permisson issues when mixing users
Elan Ruusamäe [Tue, 24 Aug 2021 11:36:11 +0000 (14:36 +0300)]
Install rpm-getdeps for builder script
Elan Ruusamäe [Tue, 24 Aug 2021 11:35:04 +0000 (14:35 +0300)]
Fix permission of builder homedir
Elan Ruusamäe [Sun, 15 Aug 2021 11:51:49 +0000 (14:51 +0300)]
Install findutils manually because poldek/rpm fail themselves
https://gitlab.com/pld-linux/cleanbuild/-/jobs/
1504316849
Elan Ruusamäe [Thu, 1 Apr 2021 11:39:06 +0000 (14:39 +0300)]
Ensure writable permissions for rpm/RPMS
Elan Ruusamäe [Wed, 10 Mar 2021 22:59:17 +0000 (00:59 +0200)]
Run poldek with terminal for poldek colors
Poldek does not support enforcing that by itself:
- https://github.com/poldek-pm/poldek/issues/21
Elan Ruusamäe [Wed, 10 Mar 2021 22:52:30 +0000 (00:52 +0200)]
Fix multiple --with/--without parameters
Elan Ruusamäe [Wed, 10 Mar 2021 22:51:59 +0000 (00:51 +0200)]
Add verbosity to build output what script is doing
Elan Ruusamäe [Wed, 10 Mar 2021 22:49:52 +0000 (00:49 +0200)]
Use common die()
Elan Ruusamäe [Wed, 10 Mar 2021 22:45:27 +0000 (00:45 +0200)]
Create container with docker-compose
Using docker compose is more easier to do overrides
using docker-compose.override.yml file.
Elan Ruusamäe [Fri, 5 Mar 2021 11:24:56 +0000 (13:24 +0200)]
Fix path to addbr
Was broken after
60ca295
Elan Ruusamäe [Mon, 15 Feb 2021 10:33:16 +0000 (12:33 +0200)]
Force binutils version of "ar"
Elan Ruusamäe [Mon, 15 Feb 2021 10:32:56 +0000 (12:32 +0200)]
Sort package list
Elan Ruusamäe [Mon, 30 Nov 2020 07:41:04 +0000 (09:41 +0200)]
Use docker buildkit for parallel builds
Elan Ruusamäe [Mon, 30 Nov 2020 07:23:57 +0000 (09:23 +0200)]
Add alternative poldek --up rule to sudoers
Elan Ruusamäe [Mon, 30 Nov 2020 06:36:38 +0000 (08:36 +0200)]
Move scripts to bin
Keep less clutter in root dir
Elan Ruusamäe [Thu, 30 Apr 2020 11:03:24 +0000 (14:03 +0300)]
Update to new poldek commandline
Elan Ruusamäe [Mon, 3 Aug 2020 10:18:00 +0000 (13:18 +0300)]
Fix pwdutils package removal
Elan Ruusamäe [Thu, 30 Apr 2020 11:01:36 +0000 (14:01 +0300)]
There's no -q switch to kill
Elan Ruusamäe [Thu, 30 Apr 2020 10:54:06 +0000 (13:54 +0300)]
Add instructions how to cleanup docker images
Elan Ruusamäe [Thu, 30 Apr 2020 10:53:33 +0000 (13:53 +0300)]
Use markdown for documentation
Elan Ruusamäe [Sun, 13 Oct 2019 18:15:46 +0000 (21:15 +0300)]
Add cleanbuild=package_name label
This allows filtering containers buy label:
$ docker ps -f label=cleanbuild
Elan Ruusamäe [Sat, 2 Feb 2019 21:27:06 +0000 (23:27 +0200)]
add --with/--without to docker variant
Elan Ruusamäe [Wed, 23 Jan 2019 14:43:04 +0000 (16:43 +0200)]
add --keep-container option
Elan Ruusamäe [Tue, 22 Jan 2019 13:32:39 +0000 (15:32 +0200)]
use tmpfs=0 to disable tmpfs
Elan Ruusamäe [Mon, 31 Dec 2018 09:28:18 +0000 (11:28 +0200)]
add --tmpfs=2G to specicify size of build tmpfs size
Elan Ruusamäe [Mon, 31 Dec 2018 09:22:16 +0000 (11:22 +0200)]
add no tmpfs commandline option
Elan Ruusamäe [Mon, 31 Dec 2018 08:58:57 +0000 (10:58 +0200)]
cleanbuild-docker: add tracing option
Elan Ruusamäe [Mon, 31 Dec 2018 08:57:33 +0000 (10:57 +0200)]
add --network option to docker builder
Elan Ruusamäe [Mon, 31 Dec 2018 08:54:33 +0000 (10:54 +0200)]
cleanbuild-docker: refactor to use functions
Elan Ruusamäe [Mon, 31 Dec 2018 00:02:22 +0000 (02:02 +0200)]
builder: disable parallel build
some packages (bcc-bpf) take too much memory when linking
Elan Ruusamäe [Sun, 30 Dec 2018 23:40:06 +0000 (01:40 +0200)]
docker: move sudoers as a file
Elan Ruusamäe [Sun, 30 Dec 2018 23:35:45 +0000 (01:35 +0200)]
docker: use separate stage for COPY
workaround for gitlab-runner umask issue
https://gitlab.com/gitlab-org/gitlab-runner/issues/1736
Elan Ruusamäe [Sun, 30 Dec 2018 21:02:06 +0000 (23:02 +0200)]
update cmake find modules
Elan Ruusamäe [Tue, 11 Dec 2018 09:51:44 +0000 (11:51 +0200)]
findbr: resolve qt5 packages
Elan Ruusamäe [Wed, 26 Sep 2018 12:17:48 +0000 (15:17 +0300)]
exec --user=root fails on docker for mac somewhy
Elan Ruusamäe [Wed, 26 Sep 2018 11:51:10 +0000 (14:51 +0300)]
use different macro to skip buildroot cleanup
otherwise there's build error:
error: Could not open %files file /home/builder/rpm/BUILD/haproxy-1.8.14/debugfiles.list: No such file or directory
Elan Ruusamäe [Wed, 26 Sep 2018 11:32:30 +0000 (14:32 +0300)]
use $home variable, not hardcode path
Elan Ruusamäe [Thu, 19 Jul 2018 17:45:26 +0000 (20:45 +0300)]
update ccache path in rpmmacros for libexec change
Elan Ruusamäe [Thu, 19 Jul 2018 17:55:58 +0000 (20:55 +0300)]
make cleanbuild wrapper symlinkable
Elan Ruusamäe [Sat, 28 Oct 2017 18:23:14 +0000 (21:23 +0300)]
findbr: check errors from mkmf.log as well
Elan Ruusamäe [Sat, 28 Oct 2017 18:22:40 +0000 (21:22 +0300)]
docker: strip .spec suffix from package name if present
Elan Ruusamäe [Tue, 17 Oct 2017 18:02:13 +0000 (21:02 +0300)]
use separate image for test stage
https://gitlab.com/gitlab-org/gitlab-ce/issues/21405#note_42461233
Elan Ruusamäe [Tue, 17 Oct 2017 17:59:48 +0000 (20:59 +0300)]
docker image: use gitlab.com built base image
Elan Ruusamäe [Tue, 17 Oct 2017 17:58:34 +0000 (20:58 +0300)]
fix findusedbr to setup timestamps on actually installed packages
requires rpm-build-tools-4.9-4
Elan Ruusamäe [Tue, 17 Oct 2017 17:28:49 +0000 (20:28 +0300)]
run findunusedbr for docker version
Elan Ruusamäe [Tue, 17 Oct 2017 17:00:28 +0000 (20:00 +0300)]
findunusedbr: recent perl regex fix
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/^\s*(?:%{ <-- HERE .*)?BuildRequires:\s*(\S+)/ at cleanbuild/findunusedbr line 21.
Elan Ruusamäe [Tue, 17 Oct 2017 16:58:59 +0000 (19:58 +0300)]
findbr: detect g++ compiler
Elan Ruusamäe [Tue, 29 Aug 2017 19:35:42 +0000 (22:35 +0300)]
docker: chown package dir before container run
as it might be different owner (root) modified outside container
Elan Ruusamäe [Sun, 6 Aug 2017 10:00:13 +0000 (13:00 +0300)]
new perl @INC fix
do "cleanbuild/findbr-ac2br" failed, '.' is no longer in @INC; did you mean do "./cleanbuild/findbr-ac2br"? at cleanbuild/findbr line 68.
Elan Ruusamäe [Sun, 18 Jun 2017 18:00:15 +0000 (21:00 +0300)]
fix docker bootstrap
rpm dir is volume, so can't init it's contents in image
Elan Ruusamäe [Sun, 18 Jun 2017 17:49:31 +0000 (20:49 +0300)]
docker: cleanup-la needs to be ran as root
Elan Ruusamäe [Sun, 18 Jun 2017 17:48:38 +0000 (20:48 +0300)]
add general readme and a wrapper
Elan Ruusamäe [Sun, 18 Jun 2017 17:46:43 +0000 (20:46 +0300)]
split the tool to two parts by engine
add wrapper to redirect to specific backend engine
Elan Ruusamäe [Wed, 14 Jun 2017 21:04:31 +0000 (00:04 +0300)]
skip loading empty poldek sources dir
Elan Ruusamäe [Wed, 14 Jun 2017 21:02:20 +0000 (00:02 +0300)]
make cleanup-la actually do something
Elan Ruusamäe [Wed, 14 Jun 2017 20:59:26 +0000 (23:59 +0300)]
use same name for locally built image
Elan Ruusamäe [Wed, 14 Jun 2017 20:55:51 +0000 (23:55 +0300)]
_binary_payload w1.gzdio
probably faster build results due weaker compression
Elan Ruusamäe [Wed, 14 Jun 2017 20:52:19 +0000 (23:52 +0300)]
use pre-built docker image for cleanbuild
Elan Ruusamäe [Wed, 14 Jun 2017 20:46:52 +0000 (23:46 +0300)]
prevent builder accessing network (block resolv.conf access)
Elan Ruusamäe [Wed, 14 Jun 2017 20:36:37 +0000 (23:36 +0300)]
use locally build rpms as poldek source
Elan Ruusamäe [Wed, 14 Jun 2017 20:24:22 +0000 (23:24 +0300)]
handle gracely when build dir is not found
to indicate that scenario is handled
Elan Ruusamäe [Wed, 14 Jun 2017 20:18:43 +0000 (23:18 +0300)]
addbr can tell it added nothing (already present, etc)
Elan Ruusamäe [Wed, 14 Jun 2017 20:11:34 +0000 (23:11 +0300)]
findbr needs root; perl poldek invocation error reporting
Elan Ruusamäe [Wed, 14 Jun 2017 19:51:59 +0000 (22:51 +0300)]
move ccache to cache dir; fix permission issues and logging
Elan Ruusamäe [Wed, 14 Jun 2017 19:51:03 +0000 (22:51 +0300)]
run builder --init-rpm-dir before replacing symlink
Elan Ruusamäe [Wed, 14 Jun 2017 18:33:03 +0000 (21:33 +0300)]
add cleanup-la to repo
forgotten from
a6742819
Elan Ruusamäe [Wed, 14 Jun 2017 17:53:23 +0000 (20:53 +0300)]
add gitlab build docker image
Elan Ruusamäe [Wed, 14 Jun 2017 17:51:13 +0000 (20:51 +0300)]
move docker cleanbuild image related files to subdir
Elan Ruusamäe [Thu, 15 Dec 2016 13:27:26 +0000 (15:27 +0200)]
fix path to package.spec in addbr
Elan Ruusamäe [Thu, 15 Dec 2016 08:51:25 +0000 (10:51 +0200)]
disable debug packages in docker as well
Elan Ruusamäe [Thu, 15 Dec 2016 08:48:43 +0000 (10:48 +0200)]
{}-s must be escaped in perl regexp
Elan Ruusamäe [Thu, 15 Dec 2016 08:34:42 +0000 (10:34 +0200)]
DRY: move cleanup-la to standalone script
Elan Ruusamäe [Thu, 15 Dec 2016 08:21:16 +0000 (10:21 +0200)]
require package argument
Elan Ruusamäe [Wed, 14 Dec 2016 23:01:35 +0000 (01:01 +0200)]
fix cleanup
Elan Ruusamäe [Wed, 14 Dec 2016 22:35:00 +0000 (00:35 +0200)]
use ccache
Elan Ruusamäe [Wed, 14 Dec 2016 22:10:19 +0000 (00:10 +0200)]
docker: allow exec in BUILD dir
Elan Ruusamäe [Wed, 14 Dec 2016 22:02:32 +0000 (00:02 +0200)]
fix break out of loop logic
Elan Ruusamäe [Wed, 14 Dec 2016 22:01:57 +0000 (00:01 +0200)]
run findbr inside container
builddir is container only
Elan Ruusamäe [Wed, 14 Dec 2016 22:07:27 +0000 (00:07 +0200)]
fix non-docker findbr poldek args
Elan Ruusamäe [Wed, 14 Dec 2016 21:32:48 +0000 (23:32 +0200)]
run teeboth inside container
docker exec does not log to stdout/stderr directly it seems
This page took 0.981775 seconds and 4 git commands to generate.