summaryrefslogtreecommitdiffstats
path: root/jjb/scripts/setup_executor_env.sh
AgeCommit message (Collapse)AuthorFilesLines
2022-10-19Fix Nomad hostname output in docker job console logs.Dave Wallace1-1/+11
Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: If88be92314290bd2b2d0b1bbb21167b6286b8155
2022-10-19Revert "Set FDIONOMAD container hostname with job and node info."Dave Wallace1-0/+1
This reverts commit 672f06dd9d8a2b0b4c536e70d71c40bb85d720f4. Reason for revert: JCasC is not happy with this. Change-Id: I906053a454cbaaaf2a4cbf6f87bb258e25e8b034 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2022-10-19Set FDIONOMAD container hostname with job and node info.Dave Wallace1-1/+0
Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: Ida46ca8a0bbbb66919445cce399679b13e27e85f
2021-06-03JJB: Include perf analysis per jobpmikus1-0/+30
+ 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-17/+11
- 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-03-26Merge "Include container id in console log."Vanessa Rene Valderrama1-4/+5
2021-03-26Include container id in console log.Dave Wallace1-4/+5
- Output executor runtime attributes in post_build_deploy_archives.sh for the case when a job fails prior to setup_executor_env.sh Change-Id: Icb54c039db21a621d44808221a3100c509583090 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2021-03-25Enable CCACHE in builder images / labelsDave Wallace1-0/+22
- Remove aarch64 labels which do not have any executor docker images. Change-Id: I1f46929b1c8393aa7a25bad215a95b85f2e00bd9 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2021-03-24Remove temporary DNS fix.Dave Wallace1-4/+2
- Use search domain in /etc/resolv.conf as hostname. Change-Id: Iaf156a2096a1b60f6222fa2d7f99101d72e2572c Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2021-03-23Force DNS nameserver in CI jobs to use local consul server.Dave Wallace1-0/+3
Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: I76b7f4668ad0bfb11e9045de2d7f8e150132083a
2021-03-08Display DNS config in console logs.Dave Wallace1-0/+3
Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: I2f7b549a903d3cd572a4711901ce1d138e922aa5
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-13Clean up vpp jenkins scripts & docker dirDave Wallace1-0/+54
- Remove docker/vpp Dockerfile definitions and colateral files for image now being build by https://gerrit.fd.io/r/c/ci-management/+/28022 - Remove opensuse support which has been elided from the vpp build in https://gerrit.fd.io/r/c/vpp/+/28999 - Remove unused scripts. - Output script name marker for all jjb scripts following LFIT practices. - Remove old/unused output from scripts. - Add logic to use vpp-ext-deps download cache in the executor images to speed up build jobs. - Add copyright notifcations to modified files without an existing copyright. - Make all vpp/docs jobs use '-{stream}-{os}-{executor}' suffix in their names. - Consolidate executor logging into setup_executor_env.sh and call it first for all jobs. Change-Id: I4ffb67ed476659f0127ca8c84f20a305d06149bf Signed-off-by: Dave Wallace <dwallacelf@gmail.com>