releng/pipelines.git
3 years agoFeat: Add initial Java pipeline functionality 03/67703/5
Eric Ball [Thu, 13 May 2021 00:25:45 +0000 (17:25 -0700)]
Feat: Add initial Java pipeline functionality

This commit introduces functionality equivalent to the global-jjb
jobs for maven-verify, maven-merge, and maven-stage. It includes
common functions, a script to supply defaults, and unit tests for the
new functions. There are also some small changes to older functions
in order to utilize these new common functions.

Issue: RELENG-3445
Issue: RELENG-3446
Issue: RELENG-3618
Change-Id: I30384d91627f6065f390a0cd6b0b434748daab49
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
3 years agoFix lfParallelCostCapture env var name 81/66781/1
Eric Ball [Fri, 12 Feb 2021 18:58:39 +0000 (10:58 -0800)]
Fix lfParallelCostCapture env var name

Correct env var is BUILD_TAG, not BUILD-TAG. A hyphen in the var name
is a syntax error in Groovy.

Issue: RELENG-3207
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
Change-Id: I30e97b25ae978994e3bd468b83d3363f6dd3fcd8

3 years agoMerge "Add lfParallelCostCapture function"
Andrew Grimberg [Fri, 12 Feb 2021 18:45:08 +0000 (18:45 +0000)]
Merge "Add lfParallelCostCapture function"

3 years agoAdd lfParallelCostCapture function 67/66767/6
Eric Ball [Fri, 22 Jan 2021 23:18:37 +0000 (15:18 -0800)]
Add lfParallelCostCapture function

This is a function to be run as a "post" call at the end of each
stage within a parallel block, which will gather cost data from
dynamically-allocated build nodes. It outputs a file titled
"stack-cost" and stashes it. lfInfraShipLogs has been modified to
unstash this file, which will automatically be picked up by the
job-cost.sh script.

Issue: RELENG-3207
Change-Id: I284cd8a2f878aed4e09dacf57fe47587abeffd1b
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
3 years agoAdd license check to tox 75/66575/4
Eric Ball [Thu, 21 Jan 2021 23:27:53 +0000 (15:27 -0800)]
Add license check to tox

This also includes a few fixes for tox testing, including updating
global-jjb and making python3 default for all tox envs.

Issue: RELENG-3150
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
Change-Id: I90ed7e273ea2341d824187918cd36492f279ea14

4 years agoUpdate global-jjb to latest 28/65328/1
Eric Ball [Thu, 3 Sep 2020 17:50:46 +0000 (10:50 -0700)]
Update global-jjb to latest

This brings in change to python-tools-install.sh that is needed to
run inside alpine containers.

Signed-off-by: Eric Ball <eball@linuxfoundation.org>
Change-Id: I70d9843a5f6fc8f590850cf8177f27947471063b

4 years agoFirst commit of lfInfraShipLogs, plus unit test 98/64798/18
Eric Ball [Tue, 28 Jul 2020 19:47:24 +0000 (12:47 -0700)]
First commit of lfInfraShipLogs, plus unit test

This also includes initial Jenkinsfile, and lays down the framework
for docs.

The tox "gradle" env is setup to pull down Gradle and create a
wrapper file on the fly, which will then execute the tests.

Change-Id: Id644f125263d210c2fb012d38ea67881ae2bb21a
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
4 years agoFirst commit of dotfiles and vars stub 95/64595/7
Eric Ball [Tue, 21 Jul 2020 20:30:45 +0000 (13:30 -0700)]
First commit of dotfiles and vars stub

We're having trouble with how the pipeline self-references at build
start, so this initial commit just sets up the repo (most
importantly, it adds the vars directory). The main functionality will
be added once the Jenkinsfile is able to properly test the repo.

Issue: RELENG-2793
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
Change-Id: I877c63fcba1b13518eaf8673c886f918ae0b46cd

5 years agoInitial empty repository
Andrew Grimberg [Wed, 8 May 2019 14:05:43 +0000 (14:05 +0000)]
Initial empty repository