124607f2 | 13-Apr-2021 |
Patrick Williams <patrick@stwcx.xyz> |
jenkins/build-seed: remove build directory
The seed script was not removing the build_dir between each machine. This causes the conf directory to have stale contents from older machines and fail to
jenkins/build-seed: remove build directory
The seed script was not removing the build_dir between each machine. This causes the conf directory to have stale contents from older machines and fail to build.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iad1990bd17532d57359c6a01032c7a18a4412ead
show more ...
|
0775972c | 13-Apr-2021 |
Patrick Williams <patrick@stwcx.xyz> |
jenkins/build-seed: clone or rebase openbmc
Previously the script would only clone the main openbmc repository, which would cause it to fail if ran multiple times. Add logic to fetch/rebase when th
jenkins/build-seed: clone or rebase openbmc
Previously the script would only clone the main openbmc repository, which would cause it to fail if ran multiple times. Add logic to fetch/rebase when the repository already exists.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic62a9fa320afab4e1a761fdf61d3e5b2d1a54232
show more ...
|
247ae50a | 13-Apr-2021 |
Patrick Williams <patrick@stwcx.xyz> |
jenkins/build-seed: add yosemitev2
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ifbb64b796b4f696bc88cd79a5266a3a903ebc62a |
6c420e74 | 13-Apr-2021 |
Patrick Williams <patrick@stwcx.xyz> |
jenkins/build-seed: continue on build failure
Even if one machine fails to fully build, we should keep going and build the others. This will populate the seed more than stopping on first fail.
Sig
jenkins/build-seed: continue on build failure
Even if one machine fails to fully build, we should keep going and build the others. This will populate the seed more than stopping on first fail.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ice1ec2ed3705e81ef483292656cd958cb0cd7f87
show more ...
|
256ed5d8 | 30-Mar-2021 |
Patrick Williams <patrick@stwcx.xyz> |
run-build-script-ci: run formatting under docker
The code formatting script makes assumptions about formatting tools being available which are often not installed on the Jenkins hosts (or may be the
run-build-script-ci: run formatting under docker
The code formatting script makes assumptions about formatting tools being available which are often not installed on the Jenkins hosts (or may be the wrong version). Switch to run the tool under Docker, so we get a consistent and correct version of these tools installed, by utilizing the 'run-unit-test-docker' script. This script runs the code formatters, and fails the execution if they fail, but safely exits when no unit tests or build system is found (like this repository).
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ib24b7258e4920ca3f23e029941f450872fc590f6
show more ...
|
2fde84b0 | 01-Apr-2021 |
Andrew Geissler <geissonator@yahoo.com> |
userid-validation: add aspeed
Change-Id: I34bf363148359c56a86baeaea496e7fcc9466668 Signed-off-by: Andrew Geissler <geissonator@yahoo.com> |
e13a7111 | 31-Mar-2021 |
Andrew Geissler <geissonator@yahoo.com> |
userid-validation: add lenovo
Change-Id: I8e9ddf335b2f11ccba82adad651474384546c2d5 Signed-off-by: Andrew Geissler <geissonator@yahoo.com> |
870b41ab | 27-Mar-2021 |
Patrick Williams <patrick@stwcx.xyz> |
userid-validation: add fii
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iaf303733035aa740bc2be9f1bb1681a173f4f314 |
6b69ff0a | 17-Mar-2021 |
Andrew Geissler <geissonator@yahoo.com> |
userid-validation: utilize python2
python3 is not available in the current jenkins docker container. Queue this up for a future jenkins upgrade window.
Change-Id: I07e99a006e890e9e3cb7279c91923a56d
userid-validation: utilize python2
python3 is not available in the current jenkins docker container. Queue this up for a future jenkins upgrade window.
Change-Id: I07e99a006e890e9e3cb7279c91923a56d0f572e8 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|
0b6b53cb | 15-Mar-2021 |
Patrick Williams <patrick@stwcx.xyz> |
run-build-script-ci: enable code formatting
Enable code formatting and static analysis to cover Python and shell in this repository. This helps prevent us from introducing poor quality scripting.
run-build-script-ci: enable code formatting
Enable code formatting and static analysis to cover Python and shell in this repository. This helps prevent us from introducing poor quality scripting.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I396949919b79365ec4ad9b78bc7c36931c0ec0f0
show more ...
|
a4d19dcb | 15-Mar-2021 |
Patrick Williams <patrick@stwcx.xyz> |
jenkins/userid-validation: simplify and fix shellcheck errors
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I3320426809b1bc8860d9560457693eb1ea159e77 |
e000d5dd | 15-Mar-2021 |
Patrick Williams <patrick@stwcx.xyz> |
jenkins/build-seed: simplify and fix shellcheck errors
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ib70c659d22ed027bcffe936f7c273cafac3a195b |
d51439ff | 22-Feb-2021 |
Andrew Geissler <geissonator@yahoo.com> |
build-seed: jenkins script for seeding build cache
Whenever a new node is added to jenkins it's best to pre-seed it with a sstate and download cache based off of a master build. This ensures it does
build-seed: jenkins script for seeding build cache
Whenever a new node is added to jenkins it's best to pre-seed it with a sstate and download cache based off of a master build. This ensures it doesn't impact jobs when added as a general worker node for CI work.
Change-Id: I9c74a6fb63dc83c5d81a1176f022ec64240f64c8 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|
3c88e2d1 | 28-Jan-2021 |
Andrew Geissler <geissonator@yahoo.com> |
ci: add script to validate user is approved
This is the script run within the following jenkins job: https://jenkins.openbmc.org/job/CI-MISC/job/openbmc-userid-validation/
Put it into a source cont
ci: add script to validate user is approved
This is the script run within the following jenkins job: https://jenkins.openbmc.org/job/CI-MISC/job/openbmc-userid-validation/
Put it into a source controlled script so others can review and update it.
Tested: - Extracted this into the jenkins job and ran it. Verified it worked as expected.
Change-Id: I6deefcf6b443ea33b028ee25451e9377dabbfb22 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|
e667f998 | 16-Feb-2021 |
Patrick Williams <patrick@stwcx.xyz> |
run-build-script-ci: add CI test on sdbusplus
run-unit-test-docker.sh is currently untested when making changes to this repository. Add a simple CI test that clones sdbusplus and runs unit tests ag
run-build-script-ci: add CI test on sdbusplus
run-unit-test-docker.sh is currently untested when making changes to this repository. Add a simple CI test that clones sdbusplus and runs unit tests against it.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I8425306739b34d03076ffe4f466d38ea235223e4
show more ...
|
b8fecba8 | 11-Feb-2021 |
Patrick Williams <patrick@stwcx.xyz> |
clean-unit-test-docker: script to clean old images
Since Docker images created by build-unit-test-docker now have a date-stamp and content hash as part of their tag, a system's Docker image reposito
clean-unit-test-docker: script to clean old images
Since Docker images created by build-unit-test-docker now have a date-stamp and content hash as part of their tag, a system's Docker image repository could grow quite large if not cleaned up. Add a script that easily identifies old Docker images created by that script and removes them (anything older than the current ISO week).
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I316e71ba0b336035e33ebee223f7faf702eaeb2c
show more ...
|
02871c91 | 01-Feb-2021 |
Patrick Williams <patrick@stwcx.xyz> |
build-unit-test-docker: convert to Python
Do a near identical conversion from bash to Python for the script which builds the unit-test docker containers. I plan to do additional enhancements to bui
build-unit-test-docker: convert to Python
Do a near identical conversion from bash to Python for the script which builds the unit-test docker containers. I plan to do additional enhancements to build the sub-containers in parallel, so I needed to first do this conversion to Python in order to make that implementation sane.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I6df6f294b41f3a01f95fbe23a6dcd1ea21a315a9
show more ...
|
8eef975f | 11-Nov-2020 |
Andrew Geissler <geissonator@yahoo.com> |
ci: put build ci jenkins job in script
This will be the script run by this job: https://jenkins.openbmc.org/job/CI-MISC/job/ci-openbmc-build-scripts/
Putting within a script will allow others to en
ci: put build ci jenkins job in script
This will be the script run by this job: https://jenkins.openbmc.org/job/CI-MISC/job/ci-openbmc-build-scripts/
Putting within a script will allow others to enhance what is run during this CI job.
Change-Id: I83efe07995e206d6ffc5d596c7ef1573a5604935 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|
384d741b | 06-Nov-2020 |
Patrick Williams <patrick@stwcx.xyz> |
shellcheck: clean up shellcheck warnings and enable
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ibc843b98c0fea97a31d3d15b556a32f091bf8e47 |
b0cb2a32 | 16-Dec-2019 |
Andrew Geissler <geissonator@yahoo.com> |
meta-ci: allow empty commits
A revert came through recently that resulted in an empty commit. Instead of failing CI on that, just allow it to go through.
Change-Id: Ie4fc40ed7021a1f27dffbabde9c2365
meta-ci: allow empty commits
A revert came through recently that resulted in an empty commit. Instead of failing CI on that, just allow it to go through.
Change-Id: Ie4fc40ed7021a1f27dffbabde9c23657684ae132 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|
bbd84558 | 17-Jan-2019 |
Andrew Geissler <geissonator@yahoo.com> |
Support branches in meta-ci jenkins job
The gerrit trigger will extract the correct meta-* branch but need to be sure to extract the matching openbmc/openbmc branch.
Once openbmc-test-automation br
Support branches in meta-ci jenkins job
The gerrit trigger will extract the correct meta-* branch but need to be sure to extract the matching openbmc/openbmc branch.
Once openbmc-test-automation branches, support for that will be added to this script.
Testing: Put up dummy commit in thud branch and verified it extracted appropriate branch and built ok.
Change-Id: Idfe02cdcc9a11ff282df6ee4ba70450ba601b7b1 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|
b0a86db1 | 04-Jan-2019 |
Andrew Geissler <geissonator@yahoo.com> |
Add run-meta-ci to repository
This is the script that will be executed by: https://openpower.xyz/job/run-meta-ci/
There are def some improvement to be added here but for now would like to just get
Add run-meta-ci to repository
This is the script that will be executed by: https://openpower.xyz/job/run-meta-ci/
There are def some improvement to be added here but for now would like to just get what is there currently.
Testing: - Extracted this commit into run-meta ci jenkins job and ran it with the other script code commented out. Verified all still built as expected.
Change-Id: Ida2f86bb324e96f9c1baf2a1641a398d3c3b3dc3 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|
936d3131 | 04-Jan-2019 |
Andrew Geissler <geissonator@yahoo.com> |
Add initial README for new jenkins sub-directory
Currently there is a bit of bash scripting in the jenkins jobs themselves which is not under source control or reviewed when changes are made. Fix th
Add initial README for new jenkins sub-directory
Currently there is a bit of bash scripting in the jenkins jobs themselves which is not under source control or reviewed when changes are made. Fix this by checking in here and relegating the jenkins job to just cloning this repo and executing these scripts.
Change-Id: I83bfdfee983473a023271637f976974a5fdc0065 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|