aboutsummaryrefslogtreecommitdiffstats
path: root/jobs
AgeCommit message (Collapse)AuthorFilesLines
2019-01-28ttcn3: block latest jobs while master is runningOliver Smith1-12/+25
Jenkins job builder does not support string replacing in variables, so the only way to make each ttcn3-foo-test-latest job get blocked by their ttcn3-foo-test counterpart was specifying them each time. Related: OS#3767 Change-Id: I124286d4b996e79a7b77603c7b59473b016c3bd5
2019-01-28ttcn3-bsc-test-sccplite-latest: enable jobOliver Smith1-2/+1
This job does not get stuck anymore since the latest Osmocom release. Change-Id: Ie87aeb52832b4ce0fbec96d2cff9dd04da0c11fc
2019-01-13add osmo-asf4-dfu master and gerrit jobsHarald Welte2-0/+2
Change-Id: I5bc5ca30809af8d8b472a75a9e02c4964761de38
2019-01-12add maintainer email to simtrace projectKévin Redon1-0/+1
Change-Id: Id0a6740749ea1e3d1c06396485744426b0a74f79
2018-12-12master-builds: openbsc: make SSH keys availableOliver Smith1-0/+1
Mount ~/.ssh in openbsc's docker container, just like it is done with all other Osmocom projects that build in docker (see Change-Id Icfff3b6a620de79d1bab7ff6a35309f828581c09 ("master-builds: make SSH keys available in Docker")). Related: OS#3385 Change-Id: Ib31ab4033c1cc71c10a96445e8bcc3b9f02e2a1f
2018-12-12Build verification: manuals for the restOliver Smith2-2/+11
Build manuals for osmocom-bb and openbsc in gerrit-verifications.yml. Build and publish manuals for osmocom-bb, openbsc and osmo-gsm-tester in master-builds.yml. Following recommendations on the ML, building manuals for osmo-gsm-tester was not done with a new job in gerrit-verifications.yml. It will be done with the existing osmo-gsm-tester_gerrit job (which is generated by osmo-gsm-tester-runner.yml). No changes are necessary for that in osmo-ci.git, see I4ebfe12a164f807b63bc897aff44db83fc0705bd ("contrib/jenkins*: build and publish manuals") in osmo-gsm-tester.git. Related: OS#3385 Change-Id: I2845d14b656f11e3a07107b4f16e8d7a0e3c7bbf
2018-12-05jobs/ttcn3-testsuites.yml: add build-discarderOliver Smith1-0/+5
Add the same build discarder as we have in master-builds.yml. This should help with the disk space problems. Change-Id: Ib7f01751ca5f6fb3e29a436982e2891d9cab0488
2018-12-05gerrit-verifications/master-builds: fix errorsOliver Smith2-2/+8
Fix three errors that prevented Jenkins from accepting the new configs from Ie0643b17a6be6e86e281b50d78dd7a6858cf99ee ("gerrit-verifications/master-builds: WITH_MANUALS"): * master-builds: fourth axis needs to be in the template or else the server will throw a 500 error. gerrit-verifications already has four template axes. * gerrit-verifications/osmo-pcu: || at the end of combination_filter * gerrit-verifications/osmo-sip-connector: missing ":" Change-Id: I4ad63a3167e59b0837ffd1576fb7c7cf2958ff32
2018-12-05gerrit-verifications/master-builds: WITH_MANUALSOliver Smith2-35/+92
Add WITH_MANUALS=1 to generate (and publish in case of master-builds) PDF manuals. Jobs with multiple axes generate the manuals only in the fastest axis. Related: OS#3385 Change-Id: Ie0643b17a6be6e86e281b50d78dd7a6858cf99ee
2018-12-04master-builds: use PUBLISH=1 instead of --publishOliver Smith1-12/+16
Pass all inputs to contrib/jenkins.sh as environment variables instead of mixing with commandline arguments. We decided on this method instead of I3cc01dbc57213b6d6cdc9b394a516510d045f1ae ("use jenkins.sh --publish"), to make the contrib/jenkins.sh scripts less confusing. Related: OS#3385 Change-Id: Ifc88af086368ce8eea1ea3a375ba7d5603a5d7e5
2018-12-04master-builds/gerrit: remove redundant GTP="$GTP"Oliver Smith2-3/+3
Variables for axes are already exported as environment variables. Change 'GTP="$GTP" ./contrib/jenkins.sh' to './contrib/jenkins.sh' to avoid confusion when introducing other variables. Change-Id: I9238da3dd3c4461f82dc7c792f886177399be3dc
2018-12-03osmo-mgw: don't try to build with transcodingOliver Smith2-6/+0
Do not build osmo-mgw twice anymore (once with "--enable-mgcp-transcoding" and once with "--disable-mgcp-transcoding"). configure.ac does not know these options. Change-Id: I080cd331caec31c53a43090e6c19d23e31abdec6
2018-12-03master-builds: make SSH keys available in DockerOliver Smith1-0/+4
At runtime, mount the Jenkins host's ~/.ssh folder inside the Docker containers, from which manual PDFs will be published. To my surprise, local testing showed that ssh is looking for the keys in /home/build/.ssh, although the HOME variable inside the image is set to /build, not /home/build. Related: OS#3385 Change-Id: Icfff3b6a620de79d1bab7ff6a35309f828581c09
2018-11-30cosmetic: gerrit-verifications: format docker cmdOliver Smith1-22/+61
Format the docker command lines just like they are formatted in master-builds.yml. Most notably, this puts every environment variable on its own line. This makes it much easier to compare both files side by side. Change-Id: I0adcb028be24c2e05189c15b85811777d6287387
2018-11-29master-builds: use jenkins.sh --publishOliver Smith1-8/+13
Add --publish to the contrib/jenkins.sh calls for each Osmocom project, where PDF manuals should be published. As this parameter is only passed to jenkins.sh from the master-builds job, not from the gerrit-verification job, we can add logic to upload the generated PDFs when getting triggered because of changes in master. Related: OS#3385 Change-Id: I3cc01dbc57213b6d6cdc9b394a516510d045f1ae
2018-11-27jobs: master-builds: Disable deprecated cellmgr-ng failing to buildPau Espin Pedrol1-9/+0
cellmgr-ng is out of maintenance for a long time now (13 months) and some of its features are going to be served by osmo-stp in the future. cellmgr-ng is unable to build against recent libosmo-sccp. Change-Id: I0869ec932ba3b3a9d3d8521b25f677e011334315
2018-11-21jobs/master-builds.yml: don't publish manualsOliver Smith1-7/+1
Do not publish PDFs for all projects anymore, as we are moving the manuals to each project's git repository. They will be published from there instead (see INSTALL.txt in osmo-gsm-manuals.git). No automatism for building and publishing the documentation of all projects will be implemented right now, as discussed here: https://osmocom.org/issues/3385#note-7 Related: OS#3385 Change-Id: I705e20a4f94b308c250580aa1289ee9b2967beef
2018-11-06ttcn3-testsuites: collect artifacts againOliver Smith1-0/+7
Collect build artifacts just like the manually created jobs did it. Related: OS#3681 Change-Id: I5b0f5de87125374c9a48d0a47e6a4e655d7ed3bb
2018-11-05ttcn3-testsuites: replace manually generated jobsOliver Smith1-23/+23
Let all TTCN3 related Jenkins jobs get generated by ttcn3-testsuites.yml, overwriting the old manually generated jobs. Related: OS#3268 Change-Id: Ib4c0949d21fcbc16c61c6ffe9d3eedea198aaf1d
2018-11-05jobs: ttcn3-testsuites.yml for ttcn3/nplab jobsOliver Smith1-0/+106
New JJB config, that is able to generate all jobs in the TTCN3 tab at Jenkins: <https://jenkins.osmocom.org/jenkins/view/TTCN3/> The new *-latest jobs test against the latest stable releases. Existing jobs are not overwritten (this is commented out). ttcn3-bsc-test-sccplite-latest is disabled for now, because it hangs forever. Related: OS#3268 Change-Id: Ie433925ee81a61c5788b4a6f2bc5b89c2689d251
2018-10-30jobs: osmo-gsm-teser: Run only once nightlyPau Espin Pedrol1-3/+1
Current entire default testsuite takes almost 7 hours to run, so let's run it once nightly and be done with it. This way, during office time if we want to test something on the prod setup (due to hw only avaialble there) we can do it without having to wait, disable the job hours in advance or having to kill all processes and clean osmo-gsm-tester state. Change-Id: I138bf50d6d066d2da4cd97f25880628b93ddc237
2018-10-27gerrot-osmo-bts: Don't use unsupported '/' in labels of axis/matrix jobsHarald Welte1-4/+4
It seems jenkins cannot deal with this, so we cannot specify something like 'origin/nrw/oc2g-next' in a label. Let's work around by using only oc2g-next here and expanding that to 'origin/nrw/oc2g-next' only in the osmo-l1yer1-headers.sh script of osmo-ci.git Change-Id: I9130a2f349f06a0b46b50665cef7188ddb08f666
2018-10-27gerrit-verifications.yml: Add OC2G build matrix to gerrit-osmo-btsHarald Welte1-3/+5
The gerrit-osmo-bts job is used for build verification of osmo-bts patches. This adds (untested) support for OC2G Change-Id: I62a9a5ec357b7246b2d7915681c646c79eda4b76
2018-10-15Add osmo-remsim to gerrit + master build verificationHarald Welte2-1/+2
... which introduces a requirement for libcsv-dev in ansible. Change-Id: I2ac65947ce9ecc071f774dc4df0f08c99c16c632
2018-10-10README.adoc: use 'my_api_token' as example passOliver Smith1-1/+1
This makes it easier to recognize that users should paste an API token there, not their password. Change-Id: I203c25b6638e36d3f050223dd40e56b7c4a92a12
2018-09-25osmo-depcheck: don't use /tmp, better git codeOliver Smith1-2/+2
* replace --gitdir with --workdir and give it a new folder structure: * git/$repo: downloaded source code * build/$repo: files created during the build process * install/: installation prefix * adjust the jenkins job to use --workdir * fetch --tags when source exists already * readable error message for failed git checkout Change-Id: I06589277b9d54a2af177451cfab2ca1a658b4058 Relates: OS#2642
2018-09-25jobs: osmo-gsm-tester_run-gerrit: Update suites selected for verificationPau Espin Pedrol1-1/+1
Recently in osmo-gsm-tester some suite names were changed to have better unified naming. As a result, some of the suites used here need to updated. Change-Id: Iafe865ab5f607fc8acfcb3f72ebe4b0ef0f1322a
2018-09-25jobs: osmo-gsm-tester: Copy osmocom-bb build artifactPau Espin Pedrol1-0/+2
This artifact is not needed nowadays to run current tests in those jobs, since it is only used in osmo-gsm-tester_ttcn3, but it will eventually be used once we support virtphy and/or motorola phones in usual tests, and also because it's easier for developers to download full .tar.gz with all at once instead of having to download osmocom-bb one separately whn whilling to run ttcn3 testsuite locally. Change-Id: I9fe41e2c7d9c38796ce16f2f279792bc5151b498
2018-09-25jobs: osmo-gsm-tester: Add osmo-iuh buildsPau Espin Pedrol2-0/+7
Change-Id: I7b8f51597287e7673f79c65eae2508b074151781
2018-09-20osmo-depcheck: script to verify PKG_CHECK_MODULESOliver Smith1-0/+72
This script verifies that Osomcom programs really build with the dependency versions they claim to support in configure.ac. In order to do that, it clones the dependency repositories if they don't exist already, and checks out the minimum version tag. This happens recursively for their dependencies as well. See 'osmo-depcheck.py -h' for the full usage instructions. There's also a new jenkins job in jobs/osmocom-depcheck.yml. Change-Id: I8f495dbe030775f66ac125e60ded95c5d7660b65 Relates: OS#2642
2018-09-20osmocom-debian-install.yml: new jenkins jobsOliver Smith1-0/+30
Installs most packages from the Osmocom Debian repository into a plain debian:stretch container and call the osmo-* binaries with --version (or -h). Two jobs, one for nightly and one for latest. Change-Id: Idbb43ed737e164f8cf3a0e085ed54e4c6a2d14bc Related: OS#3176
2018-09-18jobs/coverity: only build the master branchAlexander Couzens1-0/+2
Otherwise the last modified branch will be build. Change-Id: I0b68ebae025e0dc9dbfd22b97731b59be30e7823
2018-08-14jobs/master-builds: introduce variable git_base_url to allow other domains ↵Alexander Couzens1-2/+3
than git.osmocom.org Change-Id: Ia37b5f761c47411ac7eab092f3437acecc492f22
2018-08-14jobs/master-builds: add repo sysmo-usim-toolAlexander Couzens1-0/+5
Change-Id: I0e4fec571c3c373000c755cfdb5e56dc09d17413
2018-08-08osmo-gsm-tester: Add OSMO_GSM_TESTER_BUILD_osmo_hlr parameterHarald Welte1-0/+2
For some reason almost all projects allow to permit building a specific non-master branch, only osmo-hlr was missing that parameter. Untested. Change-Id: Ia4199aa5cfd1f39d34ed7c6104881c68d00dcffa
2018-07-25jobs: add gerrit verification for pysimAlexander Couzens1-0/+3
pysim will be tested on the simtester which has real hardware. Change-Id: I180cc4a83a41f3ef2e4b1e316ea0371cc83be654
2018-07-25jobs: osmo-gsm-tester-builder: Fix typo in job parameter namePau Espin Pedrol1-1/+1
osmo-mgw is duplicated and osmo-bsc is not there. Change-Id: Ib0ab7f8796b8b78d5f21b7a4f541fd3ddffc95a4
2018-07-10jobs: master-builds: simtrace2: pass '--publish'Neels Hofmeyr1-1/+6
Kevin would like to upload simtrace firmware to ftp.osmocom.org from master builds. To facilitate, add '--publish' arg, like in master-osmo-gsm-manuals (to distinguish and not upload from gerrit verification jobs). Change-Id: I93435aa6f39e9a072754011ae7696b10315f6092
2018-07-05jobs: gerrit: use debian-9Neels Hofmeyr1-4/+2
This is the same as done for the master builds in I6f025c642d5ae57cdda9d7b34bbaeb82ca119354, seems I forgot to follow up with this one. Change-Id: I9204ca2f083c8a6a04c6c0fc7d51752a4f1a4830
2018-07-03jobs: add master+gerrit verification job for gapkHarald Welte2-0/+2
Change-Id: Iedf3b43c164ae7e3e653820284c4d4ddaa545784
2018-07-03Restrict where the parent build runs for osmo-gsm-manualsDaniel Willmann1-0/+3
This seems to resolve the issue where the jenkins job fails due to missing ssh credentials. Other jobs can also use this by setting the node property Change-Id: I23cf2c98f02278a5deb9c4ae8d13438b76538287 Ticket: OS#3338
2018-06-29Add simtrace2 gerrit + master jobsHarald Welte2-0/+2
Change-Id: Ib4da0011337d5a591944821411479f1c6bcc64ee
2018-06-10gerrit/gerrit: Add osmo-sysmon build verificationHarald Welte2-0/+2
Change-Id: I41411123836d2713f833f78c5920cbbee695ed14
2018-06-03master-builds.yml: More fine-grained e-mail notificationsHarald Welte1-5/+13
Some projects should alert certain inidividuals/maintainers Change-Id: I8aca77d557b2471aa23aa3418d72e7a62734524d
2018-05-18jobs: osmo-gsm-tester-runner: Add ttcn3 jobPau Espin Pedrol2-0/+41
Change-Id: I8ca1c9a3a18138a27232efba7d65d6806e044a6b
2018-05-17jobs: osmo-gsm-tester-builder: Add new job to build osmocom-bbPau Espin Pedrol1-0/+3
Change-Id: I4b390e34719503a5d0a50e6392b1ceeb3a9cb730
2018-05-07osmo-gsm-tester-builder: notify unstable buildsPau Espin Pedrol1-0/+3
Change-Id: I5a1d7b5e1af5b4fbd12effa870542df2d6be7647
2018-05-02jobs: remove old job Osmocom_nightly_nitb_splitAlexander Couzens1-24/+0
It's not any more used, neither does the job even work, because the split file got already removed. Change-Id: I6e85d6384f2a377f1ebe0e06c9ca92a594050eec
2018-05-02jobs: osmocom-obs: add support for the nightly buildAlexander Couzens1-0/+1
Change-Id: I59929b4025210e1143e4d09bcfc59f91c81f0d20
2018-05-02jobs: osmocom-obs: introduce template var typeAlexander Couzens1-5/+7
In preparation for the nightly jobs Change-Id: I315215eb1d5ade257262d0717711c11f3787319f