2020-06-16 21:40:59 -04:00
2020-01-25 16:15:59 -05:00
2020-06-16 21:40:59 -04:00
2020-01-25 13:48:24 -05:00
2020-02-03 22:15:46 -05:00

ci-testing-tools

scripts, tools, configs for CI-testing

Currently just shell scripts called by jenkins. May evolve into somethign more elegant such as a jenkins file.

Uses some simple logic for a best-effort attempt to compile a kernel based on what code has changed

sample jenkins bash script

#!/bin/bash

GIT_COMMIT=${GITHUB_PR_HEAD_SHA}
GIT_PREVIOUS_COMMIT=HEAD

source ci-testing-tools/jenkins_ci.sh

mkdir -p ${WORKSPACE}/build/userpatches
cp -f ${WORKSPACE}/ci-testing-tools/config-jenkins-kernel.conf ${WORKSPACE}/build/userpatches/

configure_monorepo_watcher
generate_test_table

cd build
get_files_changed
get_build_target

build_kernel jenkins-kernel

dependencies

jenkins plugins

notes

get matches from old builds

for log in */builds/*/log;do fgrep family_row $log|fgrep changed;done|uniq|awk  '{print $2}'
Description
No description provided
Readme MIT 54 KiB
Languages
Shell 100%