aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
AgeCommit message (Collapse)AuthorFilesLines
2019-11-06gitlab-ci: fix wrong job name.Dario Lombardo1-1/+1
Change-Id: Ia14af8922e5e717d931480225fd0202b697f9155 Reviewed-on: https://code.wireshark.org/review/35003 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-11-04gitlab-ci: bump opensuse image version to 15.1.Dario Lombardo1-5/+5
According to https://en.wikipedia.org/wiki/OpenSUSE_version_history#Leap_15_series_[22][23] 15.0 is EOL in November 2019. Change-Id: I201fc2683078f7ae16b9317e3b34c312f442aeb1 Reviewed-on: https://code.wireshark.org/review/34944 Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-08-03gitlab-ci: Add job to create debian install-packagesJuergen Kosel1-0/+17
Inspired by the description in https://about.gitlab.com/2016/10/12/automated-debian-package-build-with-gitlab-ci/ the gitlab-ci job build-debian-deb generates *.deb files These files are available as build artifacts for 3 days. Change-Id: Ic0b01c161e659c3ed9dbbd6387fa8960e34d50d3 Signed-off-by: Juergen Kosel <juergen.kosel@gmx.de> Reviewed-on: https://code.wireshark.org/review/34042 Reviewed-by: Dario Lombardo <lomato@gmail.com> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-07-06gitlab-ci: use opensuse/leap:42.3 image.Dario Lombardo1-2/+2
The former official image has been deprecated in favor of opensuse/leap one. Change-Id: I92de89060f2d8f3a679f0c332eebb65e5c13ba41 Reviewed-on: https://code.wireshark.org/review/33852 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Dario Lombardo <lomato@gmail.com>
2019-05-16gitlab-ci: run setcap on dumpcap.Dario Lombardo1-0/+1
This enables capture privileges for 'user' that is used in the tests. travis.yml has been changed as well to reflect the setcap command in the docs. Change-Id: I0584e0df417112b1774b86ef8b28121799efe137 Reviewed-on: https://code.wireshark.org/review/33182 Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-05-16gitlab-ci: move ubuntu commands in parent job.Dario Lombardo1-54/+40
Change-Id: Ieb7a05c74b728d3d293790d28812c9161bfa6ce3 Reviewed-on: https://code.wireshark.org/review/33181 Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-05-11gitlab-ci: fix pytest execution.Dario Lombardo1-12/+10
pytest-3 is the executable name on the docker image (ubuntu derivated). Remove pip and pytest installation while here, since they're provided by the docker image. Change-Id: Iad2e9cafc42cd1e83b2868126abb91d5ee7bbd92 Reviewed-on: https://code.wireshark.org/review/33145 Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-05-09gitlab-ci: use new base image, drop gcc-4 jobDario Lombardo1-26/+6
Docker image: https://hub.docker.com/r/wireshark/wireshark-ubuntu-dev Github repo: https://github.com/wireshark/wireshark-ubuntu-dev-docker Drop GCC 4.9 since it is missing on the new Ubuntu 18.04 image. Rely on CentOS 7 for testing GCC 4.8.5 in case that is important. Change-Id: I02a2b22a5920e6a65aee2b2eb60c81df03742417 Reviewed-on: https://code.wireshark.org/review/31872 Reviewed-by: Dario Lombardo <lomato@gmail.com> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-04-22rpm: update rpm package dependencies and spec to work on current os versionsDániel Bakai1-24/+83
Change-Id: Iaa0bd9513869e65b96b6014d66ca3cfd917dbe64 Reviewed-on: https://code.wireshark.org/review/32938 Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-04-19gitlab-ci: add regression test suite.Dario Lombardo1-10/+46
Change-Id: I4142da87437a456c2e550c6a03c41bea92215438 Reviewed-on: https://code.wireshark.org/review/32836 Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-03-24gitlab-ci: fix asciidoctor version in opensuse.Dario Lombardo1-1/+1
openSUSE now ships with 2.0.0 which is incompatible. Use 1.5.8 instead. Disable ri and rdoc while here. Change-Id: I40766ae4377f5998dcd58d02ecbdac665f78222a Reviewed-on: https://code.wireshark.org/review/32547 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2019-01-18gitlab-ci: keep artifacts in rpm builds.Dario Lombardo1-0/+8
Change-Id: I7117c05a59b82bd925f82dfdfdda770fa507b7d4 Reviewed-on: https://code.wireshark.org/review/31575 Reviewed-by: Dario Lombardo <lomato@gmail.com> Tested-by: Dario Lombardo <lomato@gmail.com> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-01-18gitlab-ci: use ninja in opensuse builds.Dario Lombardo1-2/+2
Change-Id: I80df02fb3db6ab5a742726c3beaa30a203db7237 Reviewed-on: https://code.wireshark.org/review/31576 Reviewed-by: Dario Lombardo <lomato@gmail.com>
2019-01-14gitlab-ci: do not build the all target when invoking rpm-packagePeter Wu1-4/+3
It doubles the build time for little benefit as rpm-package will essentially build the same binaries again. Adjust the "tshark --version" invocation, besides "build" (normal build), also look in "build/packaging/rpm/BUILD/wireshark-*/build" (OpenSUSE) and "build/packaging/rpm/BUILD/wireshark-*" (CentOS). rpmbuild from OpenSUSE sets -DCMAKE_SKIP_RPATH=ON, as a workaround set LD_LIBRARY_PATH to ensure that tshark can find its libraries. Change-Id: I5ce8b97515516adbbba2f1e445a9dd1abf08d530 Reviewed-on: https://code.wireshark.org/review/31541 Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-01-14RPM: remove dependency on the which utilityPeter Wu1-3/+1
It is not necessary to know the full path to a program. Instead use the 'type' shell builtin (part of POSIX) to detect availability. Change-Id: Id68b298625d389a1f7843f52f56312bf81d97b80 Reviewed-on: https://code.wireshark.org/review/31540 Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-01-13gitlab-ci: add missing package to opensuse.Dario Lombardo1-1/+1
Ruby pkg contains gem that is required to install a working version of asciidoctor. Change-Id: Iabe790c17e3be3e3285868b5e0734101bad4f5a5 Reviewed-on: https://code.wireshark.org/review/31525 Reviewed-by: Dario Lombardo <lomato@gmail.com>
2019-01-13tools/gitlab-ci: add missing packages for rpm builds.Dario Lombardo1-0/+1
Change-Id: I04e3414ff27e18db8c83581116f4099bbb696a08 Reviewed-on: https://code.wireshark.org/review/31516 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2019-01-12gitlab-ci: upgrade before anything else in fedora28.Dario Lombardo1-1/+2
Fix a bug in linking: /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/libgnutls.so: undefined reference to `nettle_rsa_sec_decrypt@HOGWEED_4' Change-Id: Icc85813bd72274e448667bab4a80037ec5bdd48d Reviewed-on: https://code.wireshark.org/review/31519 Reviewed-by: Dario Lombardo <lomato@gmail.com>
2018-12-23gitlab-ci: don't force ninja-build installation.Dario Lombardo1-10/+10
It has been added to the debian-setup script, then it is pointless to force it. Change-Id: I5c9f047c7e5826ff06f483d5a2f0c2e808c17853 Reviewed-on: https://code.wireshark.org/review/31180 Reviewed-by: Dario Lombardo <lomato@gmail.com> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2018-09-03gitlab-ci: rename tasks and remove extra spaces.Dario Lombardo1-10/+10
Change-Id: If047e5f05e56ba3b0e5425f0827882434a53c925 Reviewed-on: https://code.wireshark.org/review/29333 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-09-03gitlab-ci: remove older clang versions.Dario Lombardo1-36/+0
Change-Id: Iadb8c40211e90bfd9cad7b48eaa8315d073c653b Reviewed-on: https://code.wireshark.org/review/29332 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-08-30gitlab-ci: update apt list files.Dario Lombardo1-1/+1
Change-Id: I7a9dfec200d64c327e1d12bb691a310295a8c1ff Reviewed-on: https://code.wireshark.org/review/29316 Tested-by: Dario Lombardo <lomato@gmail.com> Reviewed-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Dario Lombardo <lomato@gmail.com>
2018-06-19gitlab-ci: add fedora build.Dario Lombardo1-0/+10
Change-Id: Ie5e49a4eb35dac2793ac3d8be8ba87d663ff359b Reviewed-on: https://code.wireshark.org/review/28322 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Dario Lombardo <lomato@gmail.com>
2018-06-09gitlab-ci: add opensuse build.Dario Lombardo1-0/+10
Create RPM as well. Change-Id: Id84df19c6fa27eb576d29884299f771224328dba Reviewed-on: https://code.wireshark.org/review/28122 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-06-09gitlab-ci: add centos build.Dario Lombardo1-0/+11
Create RPM as well. Change-Id: Iaedbd0fbe2b7c00f07ea833aef261351c78b6985 Reviewed-on: https://code.wireshark.org/review/28113 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-06-09gitlab-ci: add tshark --version test after all jobs.Dario Lombardo1-0/+2
Change-Id: I7d82587b26dd1636c437fc07934f5ca941ab052c Reviewed-on: https://code.wireshark.org/review/28108 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-06-09gitlab-ci: make ubuntu steps a module.Dario Lombardo1-28/+30
This will make room for more modules to be used by new jobs. Change-Id: I0dff41d18c8027cb4d929acf5ab808a64f0277a4 Reviewed-on: https://code.wireshark.org/review/28107 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-05-03gitlab-ci: add gcc-8 and use it for nopcap build.Dario Lombardo1-3/+9
Change-Id: If7c17202f45ea0832596d5a87154b9ea333a5296 Reviewed-on: https://code.wireshark.org/review/27303 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Dario Lombardo <lomato@gmail.com>
2018-03-01gitlab-ci: add clang 7 builds.Dario Lombardo1-3/+10
Compile nopcap with clang 7 instead of 6. Change-Id: Icc3ffc895e2b97feadca719b45ef72a5d79098cd Reviewed-on: https://code.wireshark.org/review/26207 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Dario Lombardo <lomato@gmail.com>
2018-02-20gitlab-ci: speed up the builds a little bit.Dario Lombardo1-15/+14
Change-Id: I29756429d106b56e5c0b9b61d92f4c6ca8629b36 Reviewed-on: https://code.wireshark.org/review/25923 Reviewed-by: Dario Lombardo <lomato@gmail.com>
2018-02-18gitlab-ci: remove not working clang repos.Dario Lombardo1-1/+1
Change-Id: Id1a6f07747dec45619b89daa0d8f7acb2bd425ca Reviewed-on: https://code.wireshark.org/review/25865 Reviewed-by: Dario Lombardo <lomato@gmail.com>
2018-01-25gitlab-ci: fix clang repos.Dario Lombardo1-2/+2
Change-Id: If0dd9074b0c2493c1f66f26271018f5dadc91e3d Reviewed-on: https://code.wireshark.org/review/25467 Reviewed-by: Dario Lombardo <lomato@gmail.com>
2018-01-08extcap: remove conditional compilation.Dario Lombardo1-12/+0
Change-Id: Ia54bba388755cf27a343fe6d69d244bf1ab897f9 Reviewed-on: https://code.wireshark.org/review/25186 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-01-02gitlab-ci: install ninja-build using debian script.Dario Lombardo1-2/+1
Change-Id: I5bf1f1ea36f970be4ccf1a11b3da4198f83a6e68 Reviewed-on: https://code.wireshark.org/review/25114 Reviewed-by: Dario Lombardo <lomato@gmail.com>
2017-12-20gitlab-ci: use custom wireshark image.Dario Lombardo1-1/+1
Change-Id: I1f305c818c4985009d98f6b64b8b649704d6a5f9 Reviewed-on: https://code.wireshark.org/review/24909 Reviewed-by: Dario Lombardo <lomato@gmail.com>
2017-12-20gitlab-ci: build noextcap and nopcap in gcc7 and clang6 only.Dario Lombardo1-36/+12
Change-Id: I1893a9bde0c77ec2e1ae6edd50ea3eee1109d7ae Reviewed-on: https://code.wireshark.org/review/24905 Reviewed-by: Dario Lombardo <lomato@gmail.com>
2017-12-20gitlab-ci: rework the gcc jobs to speed up the builds.Dario Lombardo1-25/+22
Change-Id: I3e19c11677e5094e76d2d6f1f67a48426821620a Reviewed-on: https://code.wireshark.org/review/24904 Reviewed-by: Dario Lombardo <lomato@gmail.com>
2017-12-20gitlab-ci: add retry.Dario Lombardo1-0/+20
Due to some network failures, add a retry to all jobs. Change-Id: Ic7737db3348b5e43a30680a7f8e7c2e3850116c3 Reviewed-on: https://code.wireshark.org/review/24903 Reviewed-by: Dario Lombardo <lomato@gmail.com>
2017-12-11gitlab-ci: restyle the gcc buildsDario Lombardo1-34/+30
The gcc builds now take the package from the official gcc ppa and use the ubuntu 16.04 docker image. The gcc docker image was shipped with a old Qt version that caused some errors. Change-Id: Ieefbda99cd0931ff3043de6caa4cccd163589759 Reviewed-on: https://code.wireshark.org/review/24736 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Dario Lombardo <lomato@gmail.com>
2017-11-21gitlab-ci: add clang 5 and 6 builds.Dario Lombardo1-0/+18
Change-Id: I732cee0ced4c38298660716bf8d027f6b22be885 Reviewed-on: https://code.wireshark.org/review/24494 Reviewed-by: Dario Lombardo <lomato@gmail.com>
2017-11-16gitlab-ci: add clang builds.Dario Lombardo1-24/+38
From clang 3.5 to 4.0, using official ubuntu docker image. Change-Id: I60f41f2eb83990e4298ece27027413994d4f6440 Reviewed-on: https://code.wireshark.org/review/24405 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2017-08-18gitlab-ci: add gcc 7.Dario Lombardo1-0/+21
Change-Id: I3b03c9fcbe67cca5c818f40875dc4828baa05012 Reviewed-on: https://code.wireshark.org/review/23118 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2016-11-25Add .gitlab-ci.yml.Dario Lombardo1-0/+67
As for .travis.yml, this file triggers the CI module of GITLAB. On the public instance of gitlab (gitlab.com) the runners are active by default, then any mirror of wireshark on gitlab.com will result in an automated build. The current version of .gitlab-ci.yml builds with gcc 4,5,6 and with default config, without extcap and without pcap. Change-Id: I0800045e7f1b4a137dbd69a185d3b09a89398948 Reviewed-on: https://code.wireshark.org/review/18936 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Dario Lombardo <lomato@gmail.com>