aboutsummaryrefslogtreecommitdiff
path: root/trusty-i386-tcwg-base
AgeCommit message (Collapse)Author
2019-01-16Move unifdef installation from tcwg-dev to tcwg-baseDiana Picus
This should make it available in tcwg-host, so we can run generate-dockerfiles.sh there. Change-Id: I4633b3afe9299370ac85bcd2a349ded8451baf91
2018-10-17tcwg-base: Move GCC dependencies here from tcwg-devMaxim Kuvyrkov
... to allow building GCC without re-building these components inside ABE. Change-Id: I1561fca965235001c9d4696e2018a4bfda54b531
2018-08-16tcwg-build: Initialize .ccache directories of infra usersMaxim Kuvyrkov
... so that ccache volumes are mounted with correct permissions. Change-Id: I858968cc8a825fed16e55acebd4d2b64747ade37
2018-08-13tcwg-base: Move building of custom ninja from tcwg-llvmbotMaxim Kuvyrkov
... so that we can throttle LLVM builds on Packet.net machines in tcwg-build containers (e.g., in tcwg-rr-gnu-master job). Change-Id: I94ff9adf9c17ec66d2d1dd715d38b541ebe0eb79
2018-06-28tcwg-base: Add psmisc package to get killallMaxim Kuvyrkov
... which we use in tcwg-cleanup-stale-container.sh to kill stale ssh-agent processes. Change-Id: I2dfb1ccd9301ce284479e72011ceed07cabb277c
2018-06-13tcwg-base: Support auxiliary groups in new-user.sh.Maxim Kuvyrkov
Change-Id: I8c994d79fac6df3f7930cc2404465ea9342859f6
2018-06-13tcwg-base: Move COPY of new-user.sh after qemu buildMaxim Kuvyrkov
... to save build time when changing new-user.sh script. Change-Id: I1ce110494227c217241857aa590784e4f58dc2d9
2018-06-12tcwg-*: Re-generate dockerfiles.Maxim Kuvyrkov
Change-Id: Ibb7e338bcd22ae736a22bda617f66f08fcdfd04b
2018-06-06tcwg-build: Remove workaround.Maxim Kuvyrkov
We now create directories for mount-points in start-container-docker.sh. Change-Id: I4996616399ed87420dbd64eba36895f632f6af3f
2018-06-06tcwg-build: Use user data from home-data/passwdMaxim Kuvyrkov
Move passwd file to home-data/, and update tcwg-build to use it. Change-Id: Ie409103ae4e47a8f9cf393a4052ddec92509a8af
2018-06-05tcwg-host, tcwg-build: Simplify and unify handling of /home filesMaxim Kuvyrkov
Replace "new-user.sh --key KEY" interface with "new-user.sh --home-data DIR" interface. Use the new interface in both tcwg-host and tcwg-build images. Change-Id: I58e7e6506daa70bd10b4f29deebcf85ca0c5bc4f
2018-06-01tcwg-base/: Move new-user.sh here from tcwg-build/Maxim Kuvyrkov
Change-Id: Idd91d3b71b1980958895bb3e5a0c4a814bb1ed09
2018-06-01tcwg-build: Generalize new-user.sh to handle passwd entries as argumentMaxim Kuvyrkov
.. in preparation to move it to tcwg-base/ Change-Id: I4263bb1b5cde191b85118b5aff4b1773b7ffc1ab
2018-05-11tcwg-build: Add new script new-user.shMaxim Kuvyrkov
... and use it to create users inside containers. Change-Id: Ic00d13c30ad6e8a4a613040fa76537eec7e1ad97
2018-05-03tcwg-base: Add bind9-host packageMaxim Kuvyrkov
... for the sake of jenkins-scripts.git:jenkins-helpers.sh. Change-Id: I6418837d9101f2f39f4f38e60eefa1e94287bca7
2018-05-01tcwg-base: Fix typo.Maxim Kuvyrkov
Change-Id: I9bdda54997cc8a042a7af37a21af2c89ca1d6458
2018-04-30tcwg-base, tcwg-build: Move installation of wine to tcwg-build imagesMaxim Kuvyrkov
Turns out "dpkg --add-architecture i386" in amd64's tcwg-base images was necessary to install wine. Since wine with its i386 dependencies increase image size by ~600MB, install it only in tcwg-build images for the purposes of automated release testing. Hopefully, we will be able to ditch testing of mingw releases. Change-Id: I0c177409c720cb07070d769d6ed693d1bfdc31df
2018-04-13tcwg-base: Remove g++-multilib packageMaxim Kuvyrkov
We no longer need g++-multilib package. See https://review.linaro.org/#/c/13719/ and https://review.linaro.org/#/c/15169/ for details. Change-Id: I5cd3204a85ceebbf1ed0e8a4e9c58d94f9d2ab4c
2018-03-01tcwg-base*: Add bsd-mailx package.Christophe Lyon
Change-Id: Ia4fb466289f0087839f0d39a786be527ab9572e7
2018-02-26tcwg-base*: Fix postfix password file path.Christophe Lyon
Change-Id: I2156b5bfd8bb9195b6b8aeeb995fbe2952436274
2018-02-21tcwg*base: Add postfix package, with sample configuration.Christophe Lyon
The configuration needs to be patched at runtime with the right user/password, provided by Jenkins master. Change-Id: I3b1d312f65be5c1b30bc9b5d9c42e051a6c19d36
2018-02-01*tcwg-base: Add git-review package.Maxim Kuvyrkov
We need it in pre-commit upstream patch testing jobs to submit patches to gerrit. Change-Id: I5f29a179d41c8b92260466bcf6a30afabee42cc7
2018-01-14*-tcwg-base: Add "less" packageMaxim Kuvyrkov
Change-Id: I509a1b89d2ac751efd57ecb5b7a48dbe5822d0a3
2017-11-09*-tcwg-*: Add gerrit-branch files and symlink it in all TCWG imagesMaxim Kuvyrkov
... to allow re-building of TCWG image on non-master branches. See https://review.linaro.org/#/c/20116/ . Change-Id: I23cdbaf3a6ff8b5ded6892938ab85c46ac7c3b38
2017-10-12*tcwg*: Replace tcwg-base/*/build.sh files with tcwg-base/*/build-image.shMaxim Kuvyrkov
Current tcwg-base/*/build.sh files could be used only by hand and, therefore, are pretty useless. Get rid of them. Change-Id: Ibd35529f733729345c504704684c7e696a03ff92
2017-09-18*-tcwg-build: Add tcwg-benchmark user to all images, not just amd64-trusty.Maxim Kuvyrkov
The fact that tcwg-benchmark user is present only in amd64 Trusty tcwg-build image is historical artifact. When we added the tcwg-benchmark we didn't want to destabilize other images. The change has been extensively tested since then, so enabling for all tcwg-build images. Change-Id: Ic341a98405cc39ea6e6f36a5d24dd96b239eaa33
2017-09-12*-tcwg-*: Integrity checking for autogenerated Dockerfiles.Charles Baylis
In order to avoid accidental modification of auto-generated tcwg Dockerfiles, add checksum validation to those files. This patch: . adds comments to generated Dockerfiles indicating the source file and the file's md5sum. . regenerates all *-tcwg-* Dockerfiles (to add those comments) . adds validation of the md5sum to the build-image.sh . restricts search for Dockerfile.in to the tcwg-base hierarchy Change-Id: I691ef4f1d93820bcdd7d50e19c11542a1db52875
2017-09-09trusty-{i386,arm64,armhf}-tcwg-base: Workaround build problem.Maxim Kuvyrkov
Installing nfs-kernel-server on trusty non-x86_64 requires --privileged mode, which "docker build" does not support. Change-Id: Ib2c6dde0433ac6a477773d5771f77a1ece103110
2017-09-07*-tcwg-base: Add ability to run QEMU VMs, including using KVMMaxim Kuvyrkov
The harness implementing running QEMU VMs in docker containers is in toolchain/jenkins-scripts/start-container-qemu.sh. Rootfs of the container is shared via NFS with the VM. For NFS to work inside container NFS kernel module needs to be loaded, which is easiest achieved by installing nfs-kernel-server package on the host. For KVM to work container needs to be started in --privileged mode to provide /dev/kvm inside the container. Change-Id: I7cba73e350dfbee6e4dde0797eb4bed90fe0c664
2017-09-07*-tcwg-base: Add packages required to analyze perf.data filesMaxim Kuvyrkov
Add linux-tools-generic to get "perf" and binutils-aarch64-linux-gnu with binutils-arm-linux-gnueabihf to enable cross perf-annotate on x86_64 boxes. The latter is done by passing --objdump <objdump> option to perf. Change-Id: Ib33aae197bc0b04f1c6de69bb3060a98e8de5854
2017-05-11*-tcwg-base: Remove unused volumes.Maxim Kuvyrkov
TCWG now starts docker container using jenkins-scripts, and volumes are handled there. Change-Id: I97916b3f7b2b7c71c365013e93341831c2eb0dea
2017-05-03{trusty,xenial}-*-tcwg-base: fix virtualenv package nameFathi Boudra
virtualenv exists only in xenial and depends on python3-virtualenv. Use python-virtualenv instead, which exists in both trusty and xenial. Change-Id: Icbcbdeb7250b2286d72751491ccd145a6fea9f94 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2017-05-02tcwg-base/*: Rename build.sh files to build-image.shMaxim Kuvyrkov
... to make room for build.sh that will re-build all affected images. Change-Id: I765526adf18007adf738f804137f745eb6d7946e
2017-04-29*tcwg-base/Dockerfile: Unify trusty/xenial, add clangRenato Golin
Change-Id: I652eb0077a716cf1204aa952f388abbdaad51f58
2017-04-12*-tcwg-base: Consolidate build.sh files.Maxim Kuvyrkov
Change-Id: Ia2cf5f8e0b7edebae76540499bf156289cf485f5
2017-04-12*-tcwg-base: Don't rsync unused directoryMaxim Kuvyrkov
... since tcwg-buildslave's home is now used only in tcwg-build and tcwg-test images. Change-Id: I5930b66c0395bb38f6b6ae0bc1df6d0ddc97c141
2017-04-11*-tcwg-build, *-tcwg-test, *-tcwg-dev: Consolidate build.sh filesMaxim Kuvyrkov
... in hierarchy tcwg-base/ ├── tcwg-build │   ├── build.sh │   └── tcwg-test │   └── build.sh └── tcwg-dev └── build.sh There is no functional change since build.sh files match exactly. Change-Id: I035f54d8d6250cd7834225ace98859a057f7c32c
2017-04-11{trusty,xenial}-{amd64,i386}-tcwg-base: build QEMU 2.8.0 from sourcesChristophe Lyon
add the necessary dependencies: libglib2.0-dev and pkg-config. build/install qemu-2.8.0 (armeb) under /usr/local. We want to upgrade the version we use in our validations, and installing it in the Docker image seems to be a convenient way. Change-Id: Ie5885fe8b91bef2c02a9d1d5da49d5a92c555730
2017-04-07dockerfiles: reorganize for recursive rebuildsRiku Voipio
prerequisite for recursive rebuilds of images on changes. Use the command "tree" to make sense of the new layout: |-- ./trusty-amd64-tcwg-base | |-- ./trusty-amd64-tcwg-base/trusty-amd64-tcwg-build | `-- ./trusty-amd64-tcwg-base/trusty-amd64-tcwg-dev |-- ./trusty-arm64-tcwg-base | |-- ./trusty-arm64-tcwg-base/trusty-arm64-tcwg-build | | `-- ./trusty-arm64-tcwg-base/trusty-arm64-tcwg-build/trusty-arm64-tcwg-test | `-- ./trusty-arm64-tcwg-base/trusty-arm64-tcwg-dev |-- ./trusty-armhf-tcwg-base | `-- ./trusty-armhf-tcwg-base/trusty-armhf-tcwg-build | `-- ./trusty-armhf-tcwg-base/trusty-armhf-tcwg-build/trusty-armhf-tcwg-test |-- ./trusty-i386-tcwg-base | `-- ./trusty-i386-tcwg-base/trusty-i386-tcwg-build |-- ./xenial-amd64-tcwg-base | |-- ./xenial-amd64-tcwg-base/xenial-amd64-tcwg-build | `-- ./xenial-amd64-tcwg-base/xenial-amd64-tcwg-dev | `-- ./xenial-amd64-tcwg-base/xenial-amd64-tcwg-dev/xenial-amd64-tcwg-x2go |-- ./xenial-arm64-tcwg-base | |-- ./xenial-arm64-tcwg-base/xenial-arm64-tcwg-build | | `-- ./xenial-arm64-tcwg-base/xenial-arm64-tcwg-build/xenial-arm64-tcwg-test | `-- ./xenial-arm64-tcwg-base/xenial-arm64-tcwg-dev |-- ./xenial-armhf-tcwg-base | `-- ./xenial-armhf-tcwg-base/xenial-armhf-tcwg-build | `-- ./xenial-armhf-tcwg-base/xenial-armhf-tcwg-build/xenial-armhf-tcwg-test `-- ./xenial-i386-tcwg-base `-- ./xenial-i386-tcwg-base/xenial-i386-tcwg-build Notes: - ci-base- images are not handled here - relative paths in tcwg builds have been adjusted - tcwg jobs also build their parents recursively. This hasn't been touched in this commit, but we'll probably want to optimize the CI Change-Id: I3281c5c37d695040c4e0d7a1c13790a90f3ef3c2
2017-03-22*tcwg-base/Dockerfile: Add cmake and ninja-build.Christophe Lyon
And fix alphabetical order for byacc. Change-Id: I261a400f7776347db2dcf6077810821af868a997
2017-03-21trusty-*-tcwg*: Rename trusty-*-tcwg to trusty-*-tcwg-buildMaxim Kuvyrkov
... to match new naming scheme. Update trusty-*-tcwg-{base,test} after rename. Change-Id: I8ee50ef409ca420814d98a7d6962664f800fa0b0
2017-03-17*-tcwg*: Add "build-depends.sh" script to build dependant imagesMaxim Kuvyrkov
This script is useful to rebuild all appropriate images when a base image is updated. The master script is in xenial-amd64-tcwg-base/ and all other images symlink from there. To avoid code copy-paste lists of dependent images are stored in build-depends.list files in parent image directories. Working on this change it occured to me that scripting for rebuilding parent / children images can be simplified by moving directories of children images into parent images, i.e., ./xenial-amd64-tcwg-base/ ./xenial-amd64-tcwg-build/ ./xenial-amd64-tcwg-test/ ./xenial-am64-tcwg-dev/ ./xenial-amd64-tcwg-x2go/ Such a reorg would establish a clear parent / child relationship for images. Change-Id: I9923db3d6987cbb79006d338a3b49e8508301fad
2017-03-17tcwg-base: add valgrind to base imagesChristophe Lyon
It is needed for gcc builds with --enable-checking=valgrind. Change-Id: I4cd44f009d9fcb7fa8df16ff5f8eb6e2eb6e6507
2017-02-27*-tcwg-base: Remove docker.io packageMaxim Kuvyrkov
In the current form having docker.io installed inside the container is not useful, but it is causing container build problems for 32-bit architectures. If we are to re-add docker.io package we need to coordinate its version with one installed on TCWG machines -- currently 1.12.3. Change-Id: I8de3f3ee7f2aa7dddcc861430bef6c64a40aac77
2017-02-27*-tcwg-base: Set APT sources to "main restricted universe multiverse"Maxim Kuvyrkov
... and to include "updates", "backports", and "security" repos. Change-Id: I2943a3cc2144aacd6f8d20c19ce73cf7c5f524ba
2017-02-27*-tcwg-base: Don't rely on "docker build --pull" to update parent imagesMaxim Kuvyrkov
... since "docker build --pull" will fail if current image is not present in the registry. Instead explicitly pull parent image with "docker pull", which makes for a nice simmetry with all other *-tcwg* images which explicitly re-generate parent images. Change-Id: I41e14f66d36e9f3a62eaead581fe5468c545814f
2017-02-27*-tcwg*: Speed up building of images on new machinesMaxim Kuvyrkov
... by downloading layers from registry for images that exist. Change-Id: I71b9bb626b33808d9158c1ac97b7e825088ff342
2017-02-27*-tcwg-base: Fix typo in configuration of /etc/ssh/sshd_configMaxim Kuvyrkov
Change-Id: I63b0be916312b0dd1fff866b4453951412ea7ea6
2017-02-24*-tcwg-base: Add docker.io package to have docker clientMaxim Kuvyrkov
... except for trusty-arm64-tcwg-base, which doesn't have docker.io. Change-Id: I9e0206d7a00d4ee6e322078ce96ea405a595780c
2017-02-24*-tcwg-base: Remove customization from "tcwg-build" images.Maxim Kuvyrkov
Change-Id: I69ddee9c8c15c8a93cf1699e16f40de9a0280cfe