summaryrefslogtreecommitdiffstats
path: root/docker/scripts/lib_apt.sh
AgeCommit message (Collapse)AuthorFilesLines
2024-03-26Add stable/2402 branch and remove stable/2306 branch to docker executor ↵Dave Wallace1-44/+3
image scripts - Refactor csit_pip_cache function to use csit bash functions that activate the python virtualenv in production jobs. - Remove stable/2306 branch due to pip issue https://github.com/pypa/pip/issues/11527 causing extraneous downloading of pip wheels in CSIT jobs. - Remove installation of packages for old CSIT docs generation. Change-Id: Ib63aa654a35ad01fbfb5b7f593d3f8ffa6499b07 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2023-03-22feat(docker): Add Hugo support packagesPeter Mikus1-5/+14
Signed-off-by: Peter Mikus <peter.mikus@protonmail.ch> Change-Id: I1eb98bc0471ea04629f5c41c0880cfeee10c5ece
2022-03-15docker builder: add debian-11 executor image.Dave Wallace1-5/+2
= Add vpp-*-master-debian11-x86_64 jobs Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: I1bb12d72e28ef8a9872558fb4f6def6b520981ae
2021-10-03Update docker image builder to support stable/2110Dave Wallace1-25/+0
- Remove stable/2009 from docker image builder - Remove centos-7 & debian-9 which is only required on stable/2009 Change-Id: I4ae47ca7dc8e833b003fb62dfd9036dca644e946 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2021-08-23Add terraform to docker CI executor images.Dave Wallace1-2/+10
- Also restrict docs-venv to ubuntu / x86_64 images Change-Id: I6eea04bce8819f4fd9bc34c5551a07a2a79d6655 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2021-08-04Fix debian-9 docker image builderDave Wallace1-4/+2
- Docker installation no longer works on debian-9 so don't install it when building debian-9 executor images. Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: I7896799bdc6cd1d683966b1f0951405d4967891b
2021-06-03JJB: Include perf analysis per jobpmikus1-0/+1
+ Useful for performance analysis before run. This should help to analyze machine load before starting payload by comparing conditions from running jobs. - Requirements: sysstat (apt install sysstat) - Remove extraneous python import from backup_upload_archives.sh - Fix sar issue on centos-7 - Fix debian9 lftools install / upgrade issue Signed-off-by: pmikus <pmikus@cisco.com> Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: I6b61f99b9b2cde2bac3dacdefaa926e9afbb157e
2021-04-21Refactor ccache config to use per-os ccache dirs.Dave Wallace1-1/+2
- Simplify ccache state output to console log by using ccache stats command. - Bump max size of ccache dir to 10G (centos8 is approximately 5.7G) - Clean up extraneous ccache dir after docker build is complete. Change-Id: Ia2b55b7cd47212fce91b4567d0cca69d2ce892ed Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2021-04-09Fix broken docker install for debian-9 executor.Dave Wallace1-2/+12
Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: I4766dfec19de63ba6ae7dbd86ed70f696a10f117
2021-03-25Enable CCACHE in builder images / labelsDave Wallace1-2/+1
- Remove aarch64 labels which do not have any executor docker images. Change-Id: I1f46929b1c8393aa7a25bad215a95b85f2e00bd9 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2021-03-20Use Ubuntu-20.04 for vpp-csit-* job executor imagesDave Wallace1-263/+309
- refactor vpp-csit job names to conform to the vpp job nomenclature - add ubuntu-20.04 for CSIT image builder install requirements - fix executor class verification - add option to build_executor_docker_image.sh to dump Dockerfile without building image(s) - refactor Dockerfile generation to support executor classes - add support for csit_shim and csit_dut docker image generation from csit ansible repo - refactor docker installation - refactor locale support - remove old static csit Dockerfiles - remove unused jenkins labels - use csit-builder-{os}-prod-{executor_arch} label for vpp csit device test - run tox in csit_pip_cache() to include pylint requirements in python cache to avoid downloading from pypi during job execution. Change-Id: I5f4ffc587c6b8c43cb874dfd8c615ce56d3b97a4 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2021-02-18Fix installation of lftools python packages in docker images.Dave Wallace1-0/+1
- fix build script to remove $DOCKER_BUILD_DIR before copying ci-management repo into it. - remove unnecessary jenkins account configuration. Change-Id: I6267b13efad1426194ea87f63c7284bed4b988a1 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2021-02-03Add packages to docker image builderDave Wallace1-0/+3
- sshpass for CSIT - gdb for VPP core decode - Add comment to end of builder script to detect completion in build log. Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: I6ddbc066f07514dbd76f02104bc04c3bc70da163
2020-12-18docker: update distro packagesJuraj Linkeš1-2/+3
Remove puppet, since it's not used. Add the missing yum/dnf libxslt dev package needed for Aarch64 CentOS-8 docker image build. Change-Id: I8669e5d7aba6a5ad113bb0f3f9ea737ce6ae6829 Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
2020-12-15Use 'lftools deploy archives' for log uploadDave Wallace1-0/+4
- This is a pre-requisite for using amazon S3 for log storage. - Requires docker images built by updated docker scripts to include packages required by 'lftools' or other project specific docker images to be upgraded with same packages. This change only updates jobs which are using fdiotools docker images. - Add FD.io specific global macros to avoid inflating docker images with packages required by unneeded global-jjb scripts. - Sort VPP job parameters alphabetically - Dump installed python3 packages in setup_executor_env.sh Change-Id: Ifddd8f2b70b10acf834ffc837b27ef5453213a86 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2020-10-28Automate generation of docker builder images.Dave Wallace1-0/+340
- Add bash scripts to generate builder image Dockerfile that invokes the scripts to iterate over project branches installing OS packages and python modules. Change-Id: I9b3b355b593e2f982f287023c662cc4a4f35a734 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>