releng/pipelines.git
2 years agoFix: Set default language to 'en' 05/70405/1
Anil Belur [Fri, 22 Jul 2022 22:02:54 +0000 (08:02 +1000)]
Fix: Set default language to 'en'

Fixes the following Sphinx warning (treated as error) starting
with 5.0 release:

Warning, treated as error: Invalid configuration value found:
'language = None'. Update your configuration to a valid langauge
code. Falling back to 'en' (English).

Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: I5d303131925c79757370864cc179cbe8154a2f4d

2 years agoFeat: Add initial docker pipelines 42/70042/5
Eric Ball [Tue, 19 Apr 2022 21:50:28 +0000 (14:50 -0700)]
Feat: Add initial docker pipelines

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

2 years agoFix: Update requirements.txt, update global-jjb 27/69827/3
Eric Ball [Wed, 9 Mar 2022 01:24:10 +0000 (17:24 -0800)]
Fix: Update requirements.txt, update global-jjb

There are known issues with the pinned Sphinx version. It no longer
needs to be pinned, and in fact, can be entirely removed because it
is a dependency of other requirements (this was implemented similarly
on lftools).

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

3 years agoMerge "Fix: Make archiveArtifacts overwriteable in lfJava"
Andrew Grimberg [Tue, 14 Sep 2021 15:21:06 +0000 (15:21 +0000)]
Merge "Fix: Make archiveArtifacts overwriteable in lfJava"

3 years agoFix: Make archiveArtifacts overwriteable in lfJava 67/68767/1
Eric Ball [Fri, 10 Sep 2021 21:29:07 +0000 (14:29 -0700)]
Fix: Make archiveArtifacts overwriteable in lfJava

While we have the correct default value here, this should not be
hard-coded. It is now treated as a default local to lfJava, but can
still be passed in as an optional parameter, in which case the default
will be overwritten.

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

3 years agoFeat: Initial NodeJS workflow 50/68650/2
Eric Ball [Tue, 24 Aug 2021 19:48:22 +0000 (12:48 -0700)]
Feat: Initial NodeJS workflow

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

3 years agoDocs: Add example Jenkinsfile to documentation 46/68246/3
Eric Ball [Thu, 8 Jul 2021 22:11:13 +0000 (15:11 -0700)]
Docs: Add example Jenkinsfile to documentation

This shows how each function is implemented in a functional
Jenkinsfile, and is intended to be updated with each additional
function added to the pipeline library.

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

3 years agoFix: job-cost.sh no longer causes build failures 83/68083/1
Eric Ball [Tue, 22 Jun 2021 21:51:19 +0000 (14:51 -0700)]
Fix: job-cost.sh no longer causes build failures

job-cost.sh is gathering data, and if there is an error while doing
this, it should not cause the build to fail. If an error is detected,
it will be caught, a note is printing, and then the function will
simply return.

Issue: IT-22309
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
Change-Id: Ibba89d89223599e3ff9b077d036f5036d3252a68

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