Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
The job doesn't need to be triggered if there is no code change, eg
commit message updates.
The remnants of previous directory structure is also removed from
gerrit trigger/forbidden-file-paths.
Change-Id: I68b9e70d0d70253d7fbad95f8dedaaa63fb2b26e
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
|
|
|
|
I would like to remove slaves that are offline
eg: after one month.
This script doesn't remove anthing, or email anyone, but you can look at
its output if you are interested.
Counts how long slaves have been online or offline
not sure why jenkins doesn't come with this functionality.
I just threw the script on the master node into
/opt/jenkins-ci/slavemonitor
Script writes data to be read the next day, and I don't want to worry about the
workspace getting wiped.
you can look at the scipt here:
https://gist.github.com/Aricg/d770f7d0a4e88d149ddb6715dc4ad0ba
But I don't recommend it.
Example of what output looks like:
JUST WENT OFFLINE arm-build3
JUST WENT OFFLINE arm-pod5
JUST WENT OFFLINE ericsson-build3
JUST WENT OFFLINE ericsson-virtual5
OFFLINE cengn-pod1 FOR 7 ITERATIONS
OFFLINE cisco-virtual1 FOR 7 ITERATIONS
OFFLINE ericsson-virtual8 FOR 7 ITERATIONS
OFFLINE ericsson-virtual9 FOR 7 ITERATIONS
OFFLINE intel-pod3 FOR 7 ITERATIONS
OFFLINE intel-pod6 FOR 7 ITERATIONS
OFFLINE intel-pod8 FOR 7 ITERATIONS
OFFLINE intel-virtual1 FOR 7 ITERATIONS
ONLINE lf-build1 for 6 iterations
ONLINE lf-build2 for 6 iterations
ONLINE lf-pod1 for 6 iterations
ONLINE lf-pod2 for 6 iterations
ONLINE lf-virtual1 for 6 iterations
ONLINE lf-virtual2 for 6 iterations
ONLINE lf-virtual3 for 6 iterations
ONLINE zte-pod1 for 6 iterations
ONLINE zte-pod2 for 6 iterations
ONLINE zte-pod3 for 6 iterations
ONLINE zte-pod4 for 6 iterations
ONLINE zte-virtual1 for 6 iterations
ONLINE zte-virtual2 for 6 iterations
ONLINE zte-virtual3 for 6 iterations
ONLINE zte-virtual4 for 6 iterations
removing online status from arm-build3. slave was online for 1
iterations
removing online status from arm-pod5. slave was online for 1 iterations
removing online status from ericsson-build3. slave was online for 1
iterations
removing online status from ericsson-virtual5. slave was online for 1
iterations
Change-Id: I652ef5460cb1ce45ff4e87828eb779da7febe8b4
Signed-off-by: agardner <agardner@linuxfoundation.org>
|
|
Fuel project was left out of the list of projects against which
security audit jobs should run, so enable it.
Change-Id: I6d59197f78dfaf381d634c9d1821a7383506276c
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
|
|
|
|
not specifying abspath, so that the config.ini is installed under
/usr/local/etc/opnfv_testapi/config.ini
Change-Id: If9f4d1ab2d6a67a4aa5b5d481f46e9eddb4a2cbb
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
|
|
Add a verify job for each architecture.
JIRA: https://jira.opnfv.org/browse/ARMBAND-233
Change-Id: Ia99292504ac54d6b2870bd2a490e9d5f09c3f49a
Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
|
|
Traceback (most recent call last):
File "/usr/local/bin/opnfv-testapi", line 6, in <module>
from opnfv_testapi.cmd.server import main
File "/usr/local/lib/python2.7/dist-packages/opnfv_testapi/cmd/server.py", line 34, in <module>
from opnfv_testapi.common.config import CONF
File "/usr/local/lib/python2.7/dist-packages/opnfv_testapi/common/config.py", line 67, in <module>
CONF = Config()
File "/usr/local/lib/python2.7/dist-packages/opnfv_testapi/common/config.py", line 21, in __init__
self._parse()
File "/usr/local/lib/python2.7/dist-packages/opnfv_testapi/common/config.py", line 29, in _parse
if not os.path.exists(self.config_file):
File "/usr/lib/python2.7/genericpath.py", line 18, in exists
os.stat(path)
TypeError: coercing to Unicode: need string or buffer, NoneType found
Change-Id: Ifa26b5b52e7f1c19a773b02ecc1c45b59b5dc09b
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
JIRA: FUEL-278
Change-Id: I9f5496d02097c2a6ae1db73b8a5df20b75ce728d
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
JIRA: FUEL-280
Change-Id: Ia96986e3f289739914de6b7e63abfb0172b8e6b5
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Enable virtual deploy phase for verify multijob for both projects.
Since fuel-defaults already define SSH_KEY param, drop it from
individual jobs.
Fuel:
- drop merge jobs, which used to perform virtual deploys based on
ISO created during verify job;
- cleanup fuel-download-artifact (rm support for merge/verify);
Armband:
- while at it, remove "opnfv-build-enea-defaults", preparing for
arm-build2's retirement.
JIRA: FUEL-278
JIRA: FUEL-287
Change-Id: I354d72d88187e41070f44c723ccc651a0bb9b021
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Cleanup commit c0ba4a5 removed the timed triggers for Armband
baremetal scenarios, bring them back.
Change-Id: I8b8d8d366ecf95594e26f30c1392b26692504021
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
* changes:
fuel, armband: Remove/disable artifact download
fuel, armband: Remove build jobs and scripts
fuel, armband: Drop armband-deploy.sh
fuel, armband: Sync deploy scripts, cleanup
|
|
Change-Id: Ibfd36814ac09d16ba4b3d365e04bf3b39a1ef7db
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
|
|
Removed start_containers fix as it was redundant. Checking jenkins
job status for each module separately as deployment of one module
doesn't depend on other module.
Change-Id: I8ce34b9b7458ac56c9b866b5add539ad304095ed
Signed-off-by: Sakala Venkata Krishna Rohit <rohitsakala@gmail.com>
|
|
1) leverage data_files to distribute ui related files, and dispatch
them under /usr/local/share/opnfv_testapi
2) delete hacking coding, no more extra processes
3) utilize MANIFEST.in to include 3rd_party when producing a source distribution
Change-Id: Idb83a02be11f6b24610191e9f85e0db80d92e972
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
Querying pods is open to everybody
But only login users are allowed to create the new pod
Change-Id: I1c722580c2c51a8a8b0f84f1ffac451dff20b086
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
virtual env is only to facilitate the development, not be used
in official product, thus delete the support, let the developer
manage their own development env.
Change-Id: I33af882ab257e88b1e7a316d1d78197d6279933d
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
fix some pep8 errors in other projects
Change-Id: Iea68b0d495f7fbe892ec866fb70b8354ad9ff3c2
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
|
|
Change-Id: I40a8359ea8ef868f79a02dcb824e80cd8b3385d1
Signed-off-by: xudan <xudan16@huawei.com>
|
|
delete noparam.ini/nosection.ini/notboolean.ini/notint.ini/normal.ini
substitute normal.ini with etc/config.ini
Change-Id: I7e2fa331736a2f9bf807814416a3118be5f613e5
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
|
|
|
|
Armband no longer requires any artifact before starting a deployment.
Fuel (master and stable/E) no longer requires the artifact either,
but since there are some stable/danube deploy jobs on ZTE PODs, we
will hold off removing <fuel-download-artifact.sh> for a while.
Deprecation warning: fuel-download-artifact.sh will be removed later.
JIRA: ARMBAND-295
Change-Id: I3b26733a1120306879eff83b9fac3390b3f5c7b8
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
While at it, cleanup obsolete parameters specific to build ops.
JIRA: FUEL-277
JIRA: FUEL-278
Change-Id: Id45dfe6855c95c425ac9aa771519d450ba9da3b5
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Since armband-deploy.sh is merely a clone of fuel-deploy.sh, which
we recently synced, drop armband-deploy.sh in favor of an universal
fuel-deploy.sh, which will handle deploys for both projects.
Change-Id: I653b4e67d9246951a284671e0cf559394661a1ad
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Run shellcheck on touched files, fix minor warnings.
Prepare for upcoming changes:
- ISO artifact will be obsoleted (later);
- Fuel and Armband should use the same deploy script;
Fuel:
- rename securedlab local copy to lab-config;
Armband:
- drop deploy cache, Danube jobs can work without it, master/next
jobs no longer use it;
- move TMPDIR to $HOME (was in $WORKSPACE), so it's persistent;
Change-Id: I9f8c47f9ca50de3c53c62ca6a08df0cc3a73abd3
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
|
|
Change-Id: Ia48b95589e6365102fef54444a8e334a80301dd2
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
|
|
|
|
Change-Id: I28e259bf8cdc7431a99227ba3e1eb8615744851e
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
Change-Id: I2f60bac555571d4fddbde63bf8002aae2df47de3
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
|
|
|
|
JIRA: RELENG-254
Change-Id: I9f2d554f44b2291a8a7bbda7fab21a98110e7c04
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
|
|
|
|
|
|
|
|
Change-Id: I18105f9289f67f634431013d08b24608380f00e4
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
|
|
Since these jobs don't deal with scenarios they can safely be moved to
another file without the need to duplicate the scenario listings.
Fixes a bug with 'concurrent-builds' not being set due to missing
quotation marks.
JIRA: RELENG-287
Change-Id: Icce39620521c7d25476553115efbaa9063ca2e17
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
|
|
We dont need to use the apex/ci directory anymore and the ci scripts
should be in releng. A follow up patch will remove the ci/clean script
usage.
Change-Id: Ib2c7bd3d2dfee360bb13b42852ff2010a691a018
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
Change-Id: I75bd15be3e68fa630a59cd30a0da72b8f17b8b84
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
|
|
|
|
openSUSE Leap 42.3 is the latest release so update the CI jobs to make
use of it.
Change-Id: I875bf924be9c84607d4b859a72f5eade4ca5f36d
Signed-off-by: Markos Chandras <mchandras@suse.de>
|