Commit Graph

37 Commits

Author SHA1 Message Date
Pau Espin 15efbbdba4 Bump version: 1.7.0.56-abf26-dirty → 1.8.0
Change-Id: I563bba2eaca7f569a5216fb8268122c0f55ef48b
2023-09-12 14:03:25 +02:00
Oliver Smith 7e6bce7322 systemd: depend on networking-online.target
Related: SYS#6400
Change-Id: I7e88d7f48fb1f359fc9147acf3e69525c856d4e8
2023-05-26 14:10:12 +02:00
Pau Espin dc9713a672 Bump version: 1.6.0.20-8b67-dirty → 1.7.0
Change-Id: I431dc58d5c4adfcb2c4ff19a95b31853618034b5
2023-02-07 14:37:23 +01:00
Oliver Smith bd92ec7256 contrib/jenkins.sh: add missing 'make check'
Change-Id: I09b7e2223d19c9e055ecddf3b2690cdea26b9be7
2022-11-11 10:19:19 +01:00
Max 71fc322431 Set working directory in systemd service file
By default systemd will execute service with root directory
(or home directory for user instance) which might result in
attempts to create files in unexpected place. Let's set it
to 'osmocom' subdir of state directory
(/var/lib for system instance) instead.

Related: OS#4821
Change-Id: If21e3471ec129892ff8b410db30d8ce0e4014e05
2022-09-09 18:39:08 +07:00
Pau Espin 1032df2d88 Bump version: 1.5.0.20-e9cc-dirty → 1.6.0
Change-Id: Ibe4efb64b8de506a007559e2fcf13cc9dc0d9d60
2022-06-28 18:22:14 +02:00
Harald Welte e9cc5c9376 update git URLs (git -> https; gitea)
Change-Id: Idac4924a077b5389e85efaf62081589fc3de06ad
2022-06-17 23:18:23 +02:00
Pau Espin 2d9e84b703 Bump version: 1.4.0.39-484f-dirty → 1.5.0
Change-Id: I963499ba9f78924660127312f4469b0781fed805
2021-11-16 14:44:42 +01:00
Pau Espin 6304393363 Bump version: 1.3.0.51-6858-dirty → 1.4.0
Change-Id: I017147905ffb69829d010f3e8416c8c5d80e7040
2021-02-23 17:57:33 +01:00
Oliver Smith 1e2ff4a8b8 contrib/jenkins: don't build osmo-gsm-manuals
Related: OS#4912
Change-Id: I511b2e1f4c3a9e0897cff4241ab5df12327de10d
2021-01-13 13:10:28 +01:00
Pau Espin e7c8067df0 contrib/jenkins: Enable parallel make in make distcheck
Change-Id: I667b245e468b9a2bcc5c9a1a04d59a940e71b24c
Related: OS#4421
2020-10-12 18:28:55 +02:00
Harald Welte 468731d414 libosmo-sccp.spec.in: Use %config(noreplace) to retain current config file
Change-Id: Ife551573160f9545875eecc2a5bfe8f994249814
2020-06-22 14:23:09 +02:00
Oliver Smith 182e3d60ff RPM spec: fix "E: lto-no-text-in-archive"
Some opensuse versions failed to build the RPM with:

libosmo-mtp-devel.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/libmtp.a
libosmo-sigtran-devel.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/libosmo-sigtran.a
libosmo-sccp-devel.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/libsccp.a
libosmo-xua-devel.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/libxua.a
This archive does not contain a non-empty .text section.  The archive was not
created with -ffat-lto-objects option.

Fix it as described here:
https://en.opensuse.org/openSUSE:LTO#Static_libraries

I've verified in my own OBS namespace, that it works as expected.

Related: OS#4550
Change-Id: Iaa0be46838f279af8ea87e00809dd3babd4fcad2
2020-05-28 09:55:36 +00:00
Oliver Smith 05c377f198 contrib: integrate RPM spec
Remove OpenSUSE bug report link, set version to @VERSION@, make it build with
CentOS 8 etc.

Do not try to build libsscp, libmtp and libxua as shared libraries. The
imported spec file patched the source with "0001-build-fixes.patch" (not
imported) and packaged resulting so files. However, these libraries are
legacy and built statically on purpose, as it's stated on the wiki page:
https://osmocom.org/projects/libosmo-sccp/wiki

Related: OS#4550
Change-Id: Id1d77a79b43a9cb967fe3fe10394cca24757af85
2020-05-19 15:20:17 +02:00
Oliver Smith 2686a74548 contrib: import RPM spec
Copy the RPM spec file from:
https://build.opensuse.org/project/show/home:mnhauke:osmocom:nightly

Related: OS#4550
Change-Id: Ic5bee5cbb5752afa598d805166061b1f10af41ea
2020-05-14 11:32:25 +02:00
Kira Obrezkova 51c92705b5 systemd: This patch adds Documentation field to the systemd service file
Change-Id: Ia112dec6b61853cbfe1222cf4b7aecfe305ddb99
2019-08-12 08:32:07 +00:00
Oliver Smith fdff85b8d5 contrib/jenkins.sh: "maintainer-clean" after "publish"
Run "make maintainer-clean" after publishing manuals, not the other way
around. Otherwise jenkins.sh fails when running for the master branch,
because docs/manuals/Makefile gets deleted although it is still needed
to publish the manuals.

Related: OS#3047
Fixes: 55f03b898a ("contrib/jenkins.sh: run "make maintainer-clean"")
Change-Id: I8bcee9069743b76966a78e1c13d0be9ba62d992c
2019-07-11 09:33:56 +02:00
Oliver Smith 55f03b898a contrib/jenkins.sh: run "make maintainer-clean"
Related: OS#3047
Change-Id: Ia6ebe5add2c1ce6891d596fb2987e46f8ff8a6d6
2019-07-10 12:07:54 +02:00
Oliver Smith 959290be11 contrib: fix makedistcheck with disabled systemd
EXTRA_DIST files need to be distributed, no matter if the systemd option
is configured or not.

Change-Id: Ib848aa5ce03f45d4f8182a4e77b0130ccb261635
2018-12-06 13:43:26 +01:00
Oliver Smith 397903fdb7 contrib/jenkins.sh: build and publish manuals
Add new environment variables WITH_MANUALS and PUBLISH to control if
the manuals should be built and uploaded. Describe all environment vars
on top of the file.

When WITH_MANUALS is set, install osmo-gsm-manuals like any other
dependency and add --enable-manuals to the configure flags (for "make"
and "make distcheck"). Add the bin subdir of the installed files to
PATH, so osmo-gsm-manuals-check-depends can be used by ./configure.

Related: OS#3385
Change-Id: I5904c86c7e38d36d23df213f5a2ae1986647a051
2018-12-05 13:08:57 +01:00
Neels Hofmeyr 4a3e8f5b19 add tests/vty: VTY UI transcript testing
Add ss7_asp_vty_test, a shim test program with the sole purpose of exposing the
cs7 VTY nodes.

Add ss7_asp_test.vty, transcript for verifying VTY nodes using above program.

Add --enable-external-tests to configure.

Run jenkins.sh with --enable-external-tests.

Change-Id: I6a28684fa24d6e7de568623444297028eba2ab8c
2018-09-27 14:44:30 +02:00
Pau Espin 8c481d2825 Install systemd services with autotools
This commit re-adds ba3da6d725, plus fixes
two typos (sytemd->systemd) in that commit.

The commit is fine, we just need to add some extra configure flags in
osmo-ci.git.

Depends: https://gerrit.osmocom.org/#/c/osmo-ci/+/10857/
Change-Id: Ifc11d97c0c5fe1f7872b59147b1548b56951921b
2018-09-10 17:18:17 +02:00
Harald Welte c8143eccc2 Revert "Install systemd services with autotools"
This reverts commit ba3da6d725.

That commit broke master-{osmo-iuh,osmo-msc,osmo-sgsn,openbsc,osmo-bsc}
build jobs with

make[4]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/lib/systemd/system'
 /usr/bin/install -c -m 644 osmo-stp.service '/lib/systemd/system'
/usr/bin/install: cannot create regular file '/lib/systemd/system/osmo-stp.service': Permission denied
make[4]: *** [install-systemdsystemunitDATA] Error 1

Change-Id: I009825d293e7e7a6c48d10452c10b3bb6da3e684
2018-09-09 20:20:38 +02:00
Pau Espin ba3da6d725 Install systemd services with autotools
Change-Id: Ie77ee4b32a75e2d207030ddc78d39fb664103d33
2018-09-07 20:29:04 +02:00
Neels Hofmeyr 58fcc5344e jenkins.sh: use --enable-werror configure flag, not CFLAGS
Change-Id: I5c3f11586d48a076479eb19ed80a11caad4251d8
2018-03-05 20:51:22 +01:00
Pau Espin 3137be99ef contrib: jenkins.sh: Disable doxygen in libosmocore build
Change-Id: I7abc8862a63d448408ae43802da689fe436a0ff0
2018-02-20 20:20:14 +01:00
Max 1aa2a42eae Enable sanitize for CI tests
Change-Id: Ida8cfcd9a9f86e65273452afa051381bc0c16421
2017-12-21 17:05:35 +01:00
Pau Espin 116dfb6621 contrib/test: Fix config of local/remote ports
The first port is the remote one, and the second port is the local one,
according to cs7_asp_cmd doc and code. In the same config, the ports for
the servers are used and for the local port in the client we don't care,
that's why we use 0 there.

Change-Id: I0fafd07614068a27c19bc2dfa6491b4b0c6737fb
2017-11-20 10:27:31 +00:00
Neels Hofmeyr ac9d0f53ab jenkins: use osmo-clean-workspace.sh before and after build
See osmo-ci change I2409b2928b4d7ebbd6c005097d4ad7337307dd93 for rationale.

Depends: I2409b2928b4d7ebbd6c005097d4ad7337307dd93
Change-Id: I6e3a24a32b8e06d89ac11b59bca052d56f00c78c
2017-10-28 15:08:21 +00:00
Pau Espin 54fa75b85c contrib: Add osmo-stp systemd service file
Change-Id: If6423222b5f1574701c48b5e93eb6c4918879d6c
2017-09-27 12:04:54 +02:00
Max 72dd761fe1 Use value string check from osmo-ci
Change-Id: I1a2223b1a059fbb832948decf11f9237fad389f2
2017-08-26 06:10:29 +00:00
Harald Welte e29888ab69 jenkins.sh: Proper error message if local environment isn't set up
Change-Id: I79c2302365824d9c8783dadfa378c8eaa07e2ee7
2017-07-10 15:01:03 +02:00
Pau Espin f356131808 contrib: Enable -Werror by default
Change-Id: I16a8ca7f0bfabeed6a9b58cda5e60bd58889f74d
2017-07-08 10:46:31 +00:00
Harald Welte 4c9041b9d3 stp: Add test scripts for executing m3ua-testtool and sua-testtool
You will need to have
* GNU/Linux with support for [network] namespaces
* the 'unshare' command line tool
* m3ua-testtool and sua-testtool repositories
  from git.osmocom.org/nplab installed adjacent to libosmo-sccp
* their requirements, i.e.
** guile
** guile-sctp from https://github.com/nplab/guile-sctp

When those are installed, you can do things like

(cd contrib/test && ./run-in-ns.sh test-m3ua.sh)
(cd contrib/test && ./run-in-ns.sh test-sua.sh)

to execute the test suite.

Change-Id: Ic36eafbb9868b2ec9ae2173f8d1b651b976ccf88
2017-05-14 22:59:33 +02:00
Neels Hofmeyr 8e708d1f2d jenkins: add value_string termination check
Change-Id: Ic06cb58061ba2d5698dd80df9777b9d3a825d5f7
Depends: libosmocore change-id I2bc93ab4781487e7685cfb63091a489cd126b1a8
2017-03-01 15:39:34 +01:00
Neels Hofmeyr 5606386bc9 jenkins.sh: use osmo-build-dep.sh, log test failures
Like in libosmo-abis' jenkins.sh

Change-Id: I4e462e2c92db14b6c2e18b212779761f2e1829af
2016-10-07 00:53:50 +02:00
Holger Hans Peter Freyther 37d5a3afcd jenkins: Add the build script from jenkins here
This can be used to replicate a build issue more easily.
2016-04-13 18:57:09 -04:00