Commit Graph

13 Commits

Author SHA1 Message Date
Oliver Smith 5275f262c8 Makefile.asciidoc.inc: warnings check not default
Only check for asciidoc warnings in "make check" if
ASCIIDOC_WARNINGS_CHECK is set. Enable it in jenkins.sh by using the
new ./configure --enable-asciidoc-warnings-check parameter (similar to
--enable-werror in other Osmocom projects' configure.ac files).

Related: OS#4140
Change-Id: Iac993a0d1b17205397a1f1ef1a7bd3f9df739e36
2019-08-05 17:50:35 +00:00
Oliver Smith 523862c2d5 contrib/jenkins.sh: run "make maintainer-clean"
Related: OS#3047
Change-Id: I99b9cd46e564cc1c5c1e92b9870368ff515a9356
2019-07-10 12:27:35 +02:00
Oliver Smith e7446e8810 publish from project repos, not this repo anymore
Do not publish PDFs for all projects anymore with jenkins.sh --publish
or "make publish". Extract known_hosts from jenkins.sh, and install it
along with the other shared files in OSMO_GSM_MANUALS_DIR. Add a
"publish" target to Makefile.common.inc, so we can use it from the
project repositories. Document its usage in INSTALL.txt.

No automatism for building and publishing the documentation of all
projects will be implemented in this patch series, as discussed here:
https://osmocom.org/issues/3385#note-7

(moving manuals to project repositories 19/19)

Related: OS#3385
Change-Id: Ibe0424ceace151115985896b6d43035c69067c50
2018-11-21 14:37:49 +01:00
Oliver Smith aec8d2b3d8 jenkins.sh: run 'make distcheck'
Everything is in place for 'make distcheck' now.

(moving manuals to project repositories 18/19)

Related: OS#3385
Change-Id: Ie31fba3d1afd31c25489ce08169101d9ed9de536
2018-11-21 14:37:49 +01:00
Oliver Smith 2947683c3a use autotools to add "make install" target
For reasoning why a transition to autotools is desired, see the commit
message of the previous patch in this series.

"make install" copies the "build", "common" dirs, as well as the "*.xsl"
files to $(prefix)/share/osmo-gsm-manuals. Prefix is typically
/usr/local. Also a pkg-config file gets installed, so the path of the
shared files can be looked up by autoconf scripts of the project
repositories. The check-depends script is installed to
$(prefix)/bin/osmo-gsm-manuals-check-depends and will be used by
project specific autoconf scripts, too.

All existing make targets ("make", "make check", "make upload") are
still working, users only need to run "autoreconf -fi" and
"./configure" beforehand.

Makefile.am uses custom install-data-hook and uninstall-local targets,
so we don't need to specify each file of the relevant subdirs in a
_DATA variable (no extra maintenance effort).

(moving manuals to project repositories 5/19)

Related: OS#3385
Change-Id: I8e7036fae062ee783cb132b14608827a82c5e7c7
2018-11-21 14:29:05 +01:00
Oliver Smith 82c6c9ba14 jenkins.sh: do not use libosomcore source
Build scripts do not depend on the libosmocore sources anymore
with 161365f ("merge_doc.xsl: move from libosmocore.git"),
so don't try to use them in jenkins.sh anymore.

Related: OS#3385
Change-Id: Ied3661b8a02e9defca0e5aedcc4494845553db84
2018-11-16 15:10:06 +01:00
Daniel Willmann d2b4e163dc Upload to rita.osmocom.org to point to the old host
osmocom.org has been migrated to a new host, but the docs upload hasn't
moved yet. So explicitly upload to rita.osmocom.org.

Related: OS#3338
Change-Id: Ia1518313af007a5a665b3e06619d929e15ff277d
2018-06-28 14:01:35 +00:00
Alexander Couzens 25df46dda0 jenkins.sh: add hostkey for osmocom.org:48
Otherwise it will depend on a setting this up in a seperate step.
This way it's more decoupled from the build host.

Change-Id: Iea1f5810bc7d4370724fdd7eb875c9a27b3d82af
2018-04-10 17:26:15 +02:00
Neels Hofmeyr ccb51225c5 jenkins.sh: incorporate publish step, for master build
Change-Id: I3c14f4e0266a4eb2702ca9fa9cf05dd54fc5d853
2017-12-15 05:36:49 +01:00
Neels Hofmeyr 759effc01c jenkins: use osmo-clean-workspace.sh before and after build
See osmo-ci change I2409b2928b4d7ebbd6c005097d4ad7337307dd93 for rationale.

Depends: I2409b2928b4d7ebbd6c005097d4ad7337307dd93
Change-Id: Iaf8338d0d061c70f7ab3737dc425784dc7c170a4
2017-10-27 22:54:14 +02:00
Neels Hofmeyr 4079b4a976 jenkins.sh: use sh instead of bash
Change-Id: Ia65e960dc7d74e6bb7a2463316d09622e9788c97
Suggested-by: msuraev
2016-10-21 02:22:02 +02:00
Neels Hofmeyr f1b6500afd jenkins.sh: call 'make check'
Preceding commits have eradicated all warnings found by the 'make check' target
being added here. Call from jenkins.sh now that it will no longer fail.

Change-Id: I4e1a15b7a7ed50637b1c020dcd962f42d3ced08f
2016-10-21 02:22:02 +02:00
Neels Hofmeyr 1eb93b57e1 add jenkins.sh script for jenkins build job
Change-Id: I6c3d959202f510f0c9780d0fa28c769ea9d721e8
2016-10-17 01:46:53 +02:00