]> git.pld-linux.org Git - projects/cleanbuild.git/log
projects/cleanbuild.git
13 months agoConfigure php hooks master
Elan Ruusamäe [Mon, 9 Jan 2023 14:34:38 +0000 (16:34 +0200)]
Configure php hooks

13 months agoHide php versions from poldek
Elan Ruusamäe [Mon, 21 Nov 2022 11:17:53 +0000 (13:17 +0200)]
Hide php versions from poldek

13 months agoUse old rpm compatible digests
Elan Ruusamäe [Mon, 9 Jan 2023 14:35:32 +0000 (16:35 +0200)]
Use old rpm compatible digests

13 months agoAdd doc for cleanbuild shell integration
Elan Ruusamäe [Wed, 22 Feb 2023 19:07:31 +0000 (21:07 +0200)]
Add doc for cleanbuild shell integration

13 months agoAdd code to generate shell alias
Elan Ruusamäe [Wed, 22 Feb 2023 19:05:18 +0000 (21:05 +0200)]
Add code to generate shell alias

13 months agoFix have_container seeing dead containers
Elan Ruusamäe [Mon, 5 Sep 2022 15:10:42 +0000 (18:10 +0300)]
Fix have_container seeing dead containers

13 months agoRefactor: Add is_bool helper
Elan Ruusamäe [Wed, 22 Feb 2023 19:07:59 +0000 (21:07 +0200)]
Refactor: Add is_bool helper

2 years agoUpdate teeboth to report reasonable error
Elan Ruusamäe [Sun, 12 Dec 2021 20:17:02 +0000 (22:17 +0200)]
Update teeboth to report reasonable error

2 years agoUpdate to use UID/GID of running user if non-root
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

2 years agoAdd --exec option to enter container
Elan Ruusamäe [Tue, 28 Sep 2021 15:18:53 +0000 (18:18 +0300)]
Add --exec option to enter container

2 years agoEnable keep container by default
Elan Ruusamäe [Tue, 28 Sep 2021 15:18:30 +0000 (18:18 +0300)]
Enable keep container by default

2 years agoUpdate CI to use extends rather YAML anchors
Elan Ruusamäe [Sun, 29 Aug 2021 15:45:19 +0000 (15:45 +0000)]
Update CI to use extends rather YAML anchors

2 years agoEnable DOCKER_BUILDKIT=1 variable for CI
Elan Ruusamäe [Sun, 29 Aug 2021 15:41:45 +0000 (18:41 +0300)]
Enable DOCKER_BUILDKIT=1 variable for CI

2 years agoFix docker exec for rpm-build-tools initialize
Elan Ruusamäe [Sun, 29 Aug 2021 13:58:11 +0000 (16:58 +0300)]
Fix docker exec for rpm-build-tools initialize

2 years agoUse package dir as container initial workdir
Elan Ruusamäe [Sun, 29 Aug 2021 13:33:36 +0000 (16:33 +0300)]
Use package dir as container initial workdir

2 years agoHandle ctrl+c for build process
Elan Ruusamäe [Sun, 29 Aug 2021 13:09:20 +0000 (16:09 +0300)]
Handle ctrl+c for build process

2 years agoAdd support to re-use container with --keep-container
Elan Ruusamäe [Sun, 29 Aug 2021 13:08:47 +0000 (16:08 +0300)]
Add support to re-use container with --keep-container

2 years agoUse build cache to speedup local docker image rebuilds
Elan Ruusamäe [Sun, 29 Aug 2021 12:41:42 +0000 (15:41 +0300)]
Use build cache to speedup local docker image rebuilds

2 years agoInstall ca-certificates for builder wget
Elan Ruusamäe [Sun, 29 Aug 2021 12:27:30 +0000 (15:27 +0300)]
Install ca-certificates for builder wget

2 years agoFetch git tag from container
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

2 years agoInstall rpm-getdeps for builder script
Elan Ruusamäe [Tue, 24 Aug 2021 11:36:11 +0000 (14:36 +0300)]
Install rpm-getdeps for builder script

2 years agoFix permission of builder homedir
Elan Ruusamäe [Tue, 24 Aug 2021 11:35:04 +0000 (14:35 +0300)]
Fix permission of builder homedir

2 years agoInstall findutils manually because poldek/rpm fail themselves
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

3 years agoEnsure writable permissions for rpm/RPMS
Elan Ruusamäe [Thu, 1 Apr 2021 11:39:06 +0000 (14:39 +0300)]
Ensure writable permissions for rpm/RPMS

3 years agoRun poldek with terminal for poldek colors
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

3 years agoFix multiple --with/--without parameters
Elan Ruusamäe [Wed, 10 Mar 2021 22:52:30 +0000 (00:52 +0200)]
Fix multiple --with/--without parameters

3 years agoAdd verbosity to build output what script is doing
Elan Ruusamäe [Wed, 10 Mar 2021 22:51:59 +0000 (00:51 +0200)]
Add verbosity to build output what script is doing

3 years agoUse common die()
Elan Ruusamäe [Wed, 10 Mar 2021 22:49:52 +0000 (00:49 +0200)]
Use common die()

3 years agoCreate container with docker-compose
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.

3 years agoFix path to addbr
Elan Ruusamäe [Fri, 5 Mar 2021 11:24:56 +0000 (13:24 +0200)]
Fix path to addbr

Was broken after 60ca295

3 years agoForce binutils version of "ar"
Elan Ruusamäe [Mon, 15 Feb 2021 10:33:16 +0000 (12:33 +0200)]
Force binutils version of "ar"

3 years agoSort package list
Elan Ruusamäe [Mon, 15 Feb 2021 10:32:56 +0000 (12:32 +0200)]
Sort package list

3 years agoUse docker buildkit for parallel builds
Elan Ruusamäe [Mon, 30 Nov 2020 07:41:04 +0000 (09:41 +0200)]
Use docker buildkit for parallel builds

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

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