]> git.pld-linux.org Git - projects/cleanbuild.git/log
projects/cleanbuild.git
3 years agoAdd alternative poldek --up rule to sudoers
Elan Ruusamäe [Mon, 30 Nov 2020 07:23:57 +0000 (09:23 +0200)]
Add alternative poldek --up rule to sudoers

3 years agoMove scripts to bin
Elan Ruusamäe [Mon, 30 Nov 2020 06:36:38 +0000 (08:36 +0200)]
Move scripts to bin

Keep less clutter in root dir

3 years agoUpdate to new poldek commandline
Elan Ruusamäe [Thu, 30 Apr 2020 11:03:24 +0000 (14:03 +0300)]
Update to new poldek commandline

3 years agoFix pwdutils package removal
Elan Ruusamäe [Mon, 3 Aug 2020 10:18:00 +0000 (13:18 +0300)]
Fix pwdutils package removal

3 years agoThere's no -q switch to kill
Elan Ruusamäe [Thu, 30 Apr 2020 11:01:36 +0000 (14:01 +0300)]
There's no -q switch to kill

3 years agoAdd instructions how to cleanup docker images
Elan Ruusamäe [Thu, 30 Apr 2020 10:54:06 +0000 (13:54 +0300)]
Add instructions how to cleanup docker images

3 years agoUse markdown for documentation
Elan Ruusamäe [Thu, 30 Apr 2020 10:53:33 +0000 (13:53 +0300)]
Use markdown for documentation

4 years agoAdd cleanbuild=package_name label
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

5 years agoadd --with/--without to docker variant
Elan Ruusamäe [Sat, 2 Feb 2019 21:27:06 +0000 (23:27 +0200)]
add --with/--without to docker variant

5 years agoadd --keep-container option
Elan Ruusamäe [Wed, 23 Jan 2019 14:43:04 +0000 (16:43 +0200)]
add --keep-container option

5 years agouse tmpfs=0 to disable tmpfs
Elan Ruusamäe [Tue, 22 Jan 2019 13:32:39 +0000 (15:32 +0200)]
use tmpfs=0 to disable tmpfs

5 years agoadd --tmpfs=2G to specicify size of build tmpfs size
Elan Ruusamäe [Mon, 31 Dec 2018 09:28:18 +0000 (11:28 +0200)]
add --tmpfs=2G to specicify size of build tmpfs size

5 years agoadd no tmpfs commandline option
Elan Ruusamäe [Mon, 31 Dec 2018 09:22:16 +0000 (11:22 +0200)]
add no tmpfs commandline option

5 years agocleanbuild-docker: add tracing option
Elan Ruusamäe [Mon, 31 Dec 2018 08:58:57 +0000 (10:58 +0200)]
cleanbuild-docker: add tracing option

5 years agoadd --network option to docker builder
Elan Ruusamäe [Mon, 31 Dec 2018 08:57:33 +0000 (10:57 +0200)]
add --network option to docker builder

5 years agocleanbuild-docker: refactor to use functions
Elan Ruusamäe [Mon, 31 Dec 2018 08:54:33 +0000 (10:54 +0200)]
cleanbuild-docker: refactor to use functions

5 years agobuilder: disable parallel build
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

5 years agodocker: move sudoers as a file
Elan Ruusamäe [Sun, 30 Dec 2018 23:40:06 +0000 (01:40 +0200)]
docker: move sudoers as a file

5 years agodocker: use separate stage for COPY
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

5 years agoupdate cmake find modules
Elan Ruusamäe [Sun, 30 Dec 2018 21:02:06 +0000 (23:02 +0200)]
update cmake find modules

5 years agofindbr: resolve qt5 packages
Elan Ruusamäe [Tue, 11 Dec 2018 09:51:44 +0000 (11:51 +0200)]
findbr: resolve qt5 packages

5 years agoexec --user=root fails on docker for mac somewhy
Elan Ruusamäe [Wed, 26 Sep 2018 12:17:48 +0000 (15:17 +0300)]
exec --user=root fails on docker for mac somewhy

5 years agouse different macro to skip buildroot cleanup
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

5 years agouse $home variable, not hardcode path
Elan Ruusamäe [Wed, 26 Sep 2018 11:32:30 +0000 (14:32 +0300)]
use $home variable, not hardcode path

5 years agoupdate ccache path in rpmmacros for libexec change
Elan Ruusamäe [Thu, 19 Jul 2018 17:45:26 +0000 (20:45 +0300)]
update ccache path in rpmmacros for libexec change

5 years agomake cleanbuild wrapper symlinkable
Elan Ruusamäe [Thu, 19 Jul 2018 17:55:58 +0000 (20:55 +0300)]
make cleanbuild wrapper symlinkable

6 years agofindbr: check errors from mkmf.log as well
Elan Ruusamäe [Sat, 28 Oct 2017 18:23:14 +0000 (21:23 +0300)]
findbr: check errors from mkmf.log as well

6 years agodocker: strip .spec suffix from package name if present
Elan Ruusamäe [Sat, 28 Oct 2017 18:22:40 +0000 (21:22 +0300)]
docker: strip .spec suffix from package name if present

6 years agouse separate image for test stage
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

6 years agodocker image: use gitlab.com built base image
Elan Ruusamäe [Tue, 17 Oct 2017 17:59:48 +0000 (20:59 +0300)]
docker image: use gitlab.com built base image

6 years agofix findusedbr to setup timestamps on actually installed packages
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

6 years agorun findunusedbr for docker version
Elan Ruusamäe [Tue, 17 Oct 2017 17:28:49 +0000 (20:28 +0300)]
run findunusedbr for docker version

6 years agofindunusedbr: recent perl regex fix
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.

6 years agofindbr: detect g++ compiler
Elan Ruusamäe [Tue, 17 Oct 2017 16:58:59 +0000 (19:58 +0300)]
findbr: detect g++ compiler

6 years agodocker: chown package dir before container run
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

6 years agonew perl @INC fix
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.

6 years agofix docker bootstrap
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

6 years agodocker: cleanup-la needs to be ran as root
Elan Ruusamäe [Sun, 18 Jun 2017 17:49:31 +0000 (20:49 +0300)]
docker: cleanup-la needs to be ran as root

6 years agoadd general readme and a wrapper
Elan Ruusamäe [Sun, 18 Jun 2017 17:48:38 +0000 (20:48 +0300)]
add general readme and a wrapper

6 years agosplit the tool to two parts by engine
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

6 years agoskip loading empty poldek sources dir
Elan Ruusamäe [Wed, 14 Jun 2017 21:04:31 +0000 (00:04 +0300)]
skip loading empty poldek sources dir

6 years agomake cleanup-la actually do something
Elan Ruusamäe [Wed, 14 Jun 2017 21:02:20 +0000 (00:02 +0300)]
make cleanup-la actually do something

6 years agouse same name for locally built image
Elan Ruusamäe [Wed, 14 Jun 2017 20:59:26 +0000 (23:59 +0300)]
use same name for locally built image

6 years ago_binary_payload w1.gzdio
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

6 years agouse pre-built docker image for cleanbuild
Elan Ruusamäe [Wed, 14 Jun 2017 20:52:19 +0000 (23:52 +0300)]
use pre-built docker image for cleanbuild

6 years agoprevent builder accessing network (block resolv.conf access)
Elan Ruusamäe [Wed, 14 Jun 2017 20:46:52 +0000 (23:46 +0300)]
prevent builder accessing network (block resolv.conf access)

6 years agouse locally build rpms as poldek source
Elan Ruusamäe [Wed, 14 Jun 2017 20:36:37 +0000 (23:36 +0300)]
use locally build rpms as poldek source

6 years agohandle gracely when build dir is not found
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

6 years agoaddbr can tell it added nothing (already present, etc)
Elan Ruusamäe [Wed, 14 Jun 2017 20:18:43 +0000 (23:18 +0300)]
addbr can tell it added nothing (already present, etc)

6 years agofindbr needs root; perl poldek invocation error reporting
Elan Ruusamäe [Wed, 14 Jun 2017 20:11:34 +0000 (23:11 +0300)]
findbr needs root; perl poldek invocation error reporting

6 years agomove ccache to cache dir; fix permission issues and logging
Elan Ruusamäe [Wed, 14 Jun 2017 19:51:59 +0000 (22:51 +0300)]
move ccache to cache dir; fix permission issues and logging

6 years agorun builder --init-rpm-dir before replacing symlink
Elan Ruusamäe [Wed, 14 Jun 2017 19:51:03 +0000 (22:51 +0300)]
run builder --init-rpm-dir before replacing symlink

6 years agoadd cleanup-la to repo
Elan Ruusamäe [Wed, 14 Jun 2017 18:33:03 +0000 (21:33 +0300)]
add cleanup-la to repo

forgotten from a6742819

6 years agoadd gitlab build docker image
Elan Ruusamäe [Wed, 14 Jun 2017 17:53:23 +0000 (20:53 +0300)]
add gitlab build docker image

6 years agomove docker cleanbuild image related files to subdir
Elan Ruusamäe [Wed, 14 Jun 2017 17:51:13 +0000 (20:51 +0300)]
move docker cleanbuild image related files to subdir

7 years agofix path to package.spec in addbr
Elan Ruusamäe [Thu, 15 Dec 2016 13:27:26 +0000 (15:27 +0200)]
fix path to package.spec in addbr

7 years agodisable debug packages in docker as well
Elan Ruusamäe [Thu, 15 Dec 2016 08:51:25 +0000 (10:51 +0200)]
disable debug packages in docker as well

7 years ago{}-s must be escaped in perl regexp
Elan Ruusamäe [Thu, 15 Dec 2016 08:48:43 +0000 (10:48 +0200)]
{}-s must be escaped in perl regexp

7 years agoDRY: move cleanup-la to standalone script
Elan Ruusamäe [Thu, 15 Dec 2016 08:34:42 +0000 (10:34 +0200)]
DRY: move cleanup-la to standalone script

7 years agorequire package argument
Elan Ruusamäe [Thu, 15 Dec 2016 08:21:16 +0000 (10:21 +0200)]
require package argument

7 years agofix cleanup
Elan Ruusamäe [Wed, 14 Dec 2016 23:01:35 +0000 (01:01 +0200)]
fix cleanup

7 years agouse ccache
Elan Ruusamäe [Wed, 14 Dec 2016 22:35:00 +0000 (00:35 +0200)]
use ccache

7 years agodocker: allow exec in BUILD dir
Elan Ruusamäe [Wed, 14 Dec 2016 22:10:19 +0000 (00:10 +0200)]
docker: allow exec in BUILD dir

7 years agofix break out of loop logic
Elan Ruusamäe [Wed, 14 Dec 2016 22:02:32 +0000 (00:02 +0200)]
fix break out of loop logic

7 years agorun findbr inside container
Elan Ruusamäe [Wed, 14 Dec 2016 22:01:57 +0000 (00:01 +0200)]
run findbr inside container

builddir is container only

7 years agofix non-docker findbr poldek args
Elan Ruusamäe [Wed, 14 Dec 2016 22:07:27 +0000 (00:07 +0200)]
fix non-docker findbr poldek args

7 years agorun teeboth inside container
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

7 years agouse local builder script
Elan Ruusamäe [Wed, 14 Dec 2016 21:24:38 +0000 (23:24 +0200)]
use local builder script

so can do local modifications to builder script easily

7 years agouse poldek-config to configure
Elan Ruusamäe [Wed, 14 Dec 2016 21:01:35 +0000 (23:01 +0200)]
use poldek-config to configure

7 years agotmpfs mount build dir
Elan Ruusamäe [Wed, 14 Dec 2016 20:53:26 +0000 (22:53 +0200)]
tmpfs mount build dir

7 years agoupdate java dep exclude
Elan Ruusamäe [Sun, 2 Oct 2016 15:36:16 +0000 (18:36 +0300)]
update java dep exclude

7 years agoupdate docbook-style-xsl; generic exec finder
Elan Ruusamäe [Sun, 2 Oct 2016 15:53:15 +0000 (18:53 +0300)]
update docbook-style-xsl; generic exec finder

7 years agomove dockerfile to root
Elan Ruusamäe [Wed, 14 Dec 2016 20:39:16 +0000 (22:39 +0200)]
move dockerfile to root

resolve build context issue with dockerignore

7 years agodocker: pull before build to ensure updated base image
Elan Ruusamäe [Wed, 14 Dec 2016 20:36:33 +0000 (22:36 +0200)]
docker: pull before build to ensure updated base image

7 years agopld builder has been updated to be without rpm/SPECS,SOURCES
Elan Ruusamäe [Wed, 14 Dec 2016 20:33:24 +0000 (22:33 +0200)]
pld builder has been updated to be without rpm/SPECS,SOURCES

7 years agoremove debug
Elan Ruusamäe [Wed, 23 Nov 2016 09:41:19 +0000 (11:41 +0200)]
remove debug

7 years agorequire perl-modules to workaround pld git installation failure
Elan Ruusamäe [Wed, 23 Nov 2016 09:39:03 +0000 (11:39 +0200)]
require perl-modules to workaround pld git installation failure

baggins suggested that every fucking place installing git should do
this. so here it fucking is

Installing set #5
Processing dependencies...
...
git-core-2.10.2-1.x86_64 marks expat-2.2.0-4.x86_64 (cap libexpat.so.1()(64bit))
git-core-2.10.2-1.x86_64 marks perl-Error-0.17021-1.noarch (cap perl(Error))
 perl-Error-0.17021-1.noarch marks perl-Scalar-List-Utils-1.46-1.x86_64 (cap perl(Scalar::Util))
git-core-2.10.2-1.x86_64 marks perl-Git-2.10.2-1.noarch (cap perl(Git))
 perl-Git-2.10.2-1.noarch marks perl-modules-5.24.0-1.x86_64 (cap perl(Time::Local))
error: perl-modules-5.24.0-1.x86_64 conflicts with perl-Scalar-List-Utils-1.46-1.x86_64

7 years agodockerfile to build image for builder
Elan Ruusamäe [Wed, 23 Nov 2016 09:32:28 +0000 (11:32 +0200)]
dockerfile to build image for builder

7 years agodocker dev
Elan Ruusamäe [Mon, 15 Jun 2015 13:58:24 +0000 (16:58 +0300)]
docker dev

7 years agofindbr: look into python site-packages
Elan Ruusamäe [Tue, 6 Sep 2016 16:18:33 +0000 (19:18 +0300)]
findbr: look into python site-packages

7 years agofindbr: python version detect
Elan Ruusamäe [Tue, 6 Sep 2016 16:12:24 +0000 (19:12 +0300)]
findbr: python version detect

7 years agofindbr: cmake modules, pkg-config
Elan Ruusamäe [Wed, 24 Aug 2016 21:05:39 +0000 (00:05 +0300)]
findbr: cmake modules, pkg-config

7 years agoensure RPMS dir is available
Elan Ruusamäe [Tue, 5 Jul 2016 05:13:20 +0000 (08:13 +0300)]
ensure RPMS dir is available

7 years agoadd --network option
Elan Ruusamäe [Mon, 4 Jul 2016 08:07:28 +0000 (11:07 +0300)]
add --network option

7 years agofindbr updates
Elan Ruusamäe [Mon, 4 Jul 2016 08:07:17 +0000 (11:07 +0300)]
findbr updates

8 years agocmake hacks
Elan Ruusamäe [Fri, 15 Apr 2016 21:01:57 +0000 (00:01 +0300)]
cmake hacks

8 years agono point building heavy debug packages in cleanbuild
Elan Ruusamäe [Fri, 1 Jan 2016 22:29:37 +0000 (00:29 +0200)]
no point building heavy debug packages in cleanbuild

8 years agoinclude "time" command in default package set
Elan Ruusamäe [Fri, 1 Jan 2016 22:28:42 +0000 (00:28 +0200)]
include "time" command in default package set

8 years agoincrease teeboth buffer to 100k
Elan Ruusamäe [Sat, 3 Oct 2015 08:23:09 +0000 (11:23 +0300)]
increase teeboth buffer to 100k

8 years agoqt5 related cmake find improvements
Elan Ruusamäe [Sat, 3 Oct 2015 08:22:30 +0000 (11:22 +0300)]
qt5 related cmake find improvements

8 years agoneed libgcj at some point
Elan Ruusamäe [Sat, 3 Oct 2015 08:21:51 +0000 (11:21 +0300)]
need libgcj at some point

8 years agofindbr updates
Elan Ruusamäe [Mon, 7 Sep 2015 19:01:47 +0000 (22:01 +0300)]
findbr updates

9 years agouse gettext-tools
Elan Ruusamäe [Thu, 30 Apr 2015 22:14:44 +0000 (01:14 +0300)]
use gettext-tools

9 years agoadd vim filetype hint
Elan Ruusamäe [Thu, 30 Apr 2015 22:13:54 +0000 (01:13 +0300)]
add vim filetype hint

9 years agomore distutils findbr
Elan Ruusamäe [Thu, 30 Apr 2015 22:13:35 +0000 (01:13 +0300)]
more distutils findbr

9 years agoanother pkg-config detect
Elan Ruusamäe [Wed, 25 Mar 2015 10:30:05 +0000 (12:30 +0200)]
another pkg-config detect

9 years agoblock idectea6
Elan Ruusamäe [Tue, 24 Mar 2015 20:02:28 +0000 (22:02 +0200)]
block idectea6

9 years agoadd sphinx find
Elan Ruusamäe [Fri, 27 Feb 2015 12:30:55 +0000 (14:30 +0200)]
add sphinx find

9 years agoupdate blacklist; verbosity
Elan Ruusamäe [Sun, 15 Jun 2014 16:54:37 +0000 (19:54 +0300)]
update blacklist; verbosity

10 years agowhen builder user has standard group (users) groupadd would fail. ignore that
Elan Ruusamäe [Sun, 16 Mar 2014 01:12:21 +0000 (03:12 +0200)]
when builder user has standard group (users) groupadd would fail. ignore that

This page took 1.537274 seconds and 4 git commands to generate.