Commit Graph

10 Commits

Author SHA1 Message Date
Dmitry Tantsur 4bb71fc481 Migrate to Zuul v3 native jobs
This corrects the path handling in the CI and removes a lot of
redundancy in the CI definitions. Also adds fixed log collection
from https://review.opendev.org/#/c/649526/ to make the CI pass.

Removes handling of ZUUL_CHANGES. It is not present in new jobs,
and its use case in Bifrost is completely unclear.

Eventually, we should rewrite the whole test-bifrost.sh in ansible,
but that's a much bigger task.

Change-Id: Id893e816a7806e7d75282628817288d8a34ab8af
2019-10-30 14:26:26 +01:00
stephane 9d8e8de589 Unify testing scripts
We previously had four separate test scripts to control basic
tests, tests where bifrost and its dependencies install into
a virtual environment, tests where bifrost builds a deployment image,
and tests where bifrost uses DHCP. This resulted in the scripts getting
out of sync with one another as changes were made. In order to increase
consistency in testing and improve maintainability, consolidate the three
scripts into test-bifrost.sh, add symlinks where the other scripts were,
and update the documentation.

Change-Id: Ic005960d00a145fc7b28ed423fb8f92e41d7ef0b
2016-06-01 10:42:28 -07:00
stephane 6457561b21 Separate log collection into its own script
Avoid having too much duplicated stuff by moving log
collection into its own script as suggested in
https://review.openstack.org/#/c/264366/1/scripts/test-bifrost-venv.sh@80

Change-Id: I2e322fc1f12e270c9407e7320d0d0e8c5452c4af
2016-01-29 07:19:46 -08:00
stephane bda0db18b1 Better $SCRIPT_HOME
$SCRIPT_HOME doesn't work so great when the script is
run from the scripts directory as ./test-bifrost.sh.
This doesn't affect much at the moment, but improve
how we set it so we can more reliably run scripts post
directory change to the playbooks' location.

Change-Id: I3bdbc151a03df8af8cf2735f039a6733d1b0c044
2016-01-27 10:03:31 -08:00
Julia Kreger 204dff820d Additional inspection role and adding role to NV job script
Addition of an inspection role, the appropriate test and enrollment
playbooks, and an entry for the node inspection to take place as
part of the long running non-voting job for initial testing.

Implements: blueprint bifrost-inspector-support
Depends-On: I4ba3f0cf4ad6f5466e52f5d034bb217f06eec7dd
Change-Id: Iceaf96aaeedc99530fabe2af47bab414d689c3dd
2015-12-02 08:33:31 -05:00
Julia Kreger 940280ceac Fix default log file location
The default log file location was not remedied by change
I76a2a23e2a75022bae3511700c81145b5cbeae77.  This fix changes
the LOG_LOCATION such that the logs folder is always defined
instead of using the workspace root which is not compatible
with the test jobs presently defined for bifrost.

Depends-On: I23e902c8637e142fba23d71467225d48ee265253
Change-Id: I9329d9485c7d5ab3d51831446993df47b70d881e
Closes-Bug: 1490532
2015-09-27 13:10:51 +00:00
Jenkins b9e9446681 Merge "Allow Test VM RAM setting to be tunable" 2015-09-09 15:02:04 +00:00
Julia Kreger 75ac413026 Allow Test VM RAM setting to be tunable
Due to the debian + simple-init image size, which is not a small
image, we need to support having slightly larger guest VMs in order
to allow for the image to be downloaded to the guest VM.

Add tunable setting, and default the image build test job to create
a VM with 4096 MB of RAM instead of 3072 MB.

Change-Id: Ifdccb32035fa91fe8d8200c3090973c34d453801
2015-09-08 17:18:57 -04:00
Julia Kreger 37b0c9ce76 Correct log file storage location
Due to zuul jenkins-job-builder changes, the base folder the CI
job was being executed changed.  This is okay, however the log
collection script only looks in the root of the WORKSPACE folder
if present, so we need to identify and default to that folder if
defined.

Change-Id: I76a2a23e2a75022bae3511700c81145b5cbeae77
Closes-Bug: 1490532
2015-09-08 16:01:08 -04:00
Julia Kreger e929254f93 Test script to drive image testing
Support to enable building an IPA image for testing
and script to leverage testing image building.

Change-Id: I31263909d2cb275491e57d7ed8c3f08a86462699
2015-08-14 17:54:56 -04:00