DmitriyEshenko
c4ad64f4a2
systemd: services: T2659: disbale fastnetmon by default
2020-07-04 16:51:51 +00:00
Christian Poessinger
3eed4cc98f
Testsuite: increase smoketest timeout
...
On slow machines or with nested virtualisation the smoketests take really long
to execute - thus increase the timeout.
2020-07-03 13:32:56 +02:00
Christian Poessinger
49ca3d22e8
Jenkins: lib: T2625: disable concurrent builds
2020-06-28 20:34:56 +02:00
Christian Poessinger
65f32962f1
T2638: frr: use "git am" to apply patches
2020-06-28 20:33:00 +02:00
Christian Poessinger
99974b7320
packages: frr: add .gitignore for package
2020-06-28 11:17:12 +02:00
Christian Poessinger
89082e913e
Merge pull request #111 from runborg/T2638
...
T2638: FRR: FRR-reload needs patching to work on 7.3.0
2020-06-28 10:38:55 +02:00
Runar Borge
d611c31fbf
T2638: FRR: FRR-reload needs patching to work on 7.3.0
...
Because of FRR bug 6062 (https://github.com/FRRouting/frr/issues/6062 ) frr-reload in frr 7.3.0 and 7.3.1
needs to be patched to work properly. without this patch frr-reload will allways compare against
a blank/empty running configuration.
2020-06-28 00:24:48 +02:00
Christian Poessinger
e146d9b7a2
Makefile: indention fix
2020-06-27 15:14:40 +02:00
Christian Poessinger
0d32e8b053
Revert "Testsuite: start smoketest as root"
...
This reverts commit 2d78aa082830065dd681cc50f8dffae77b4b8226.
2020-06-27 14:57:59 +02:00
Christian Poessinger
2e1e117f96
Jenkins: lib: T2625: support PullRequest builds
2020-06-27 14:57:18 +02:00
Christian Poessinger
e68de0e41f
packages: linux-kernel: only build if required
2020-06-26 17:48:54 +02:00
Christian Poessinger
8cf9ac3269
Jenkins: ISO test is conditional on file existence
2020-06-26 17:44:01 +02:00
Christian Poessinger
1713a3268f
packages: frr: fix comment
2020-06-25 21:55:47 +02:00
Christian Poessinger
3b86b0a8ed
packages: netfilter: T1538: use require a recent version of libnetfilter-conntrack-dev
...
During the build of conntrack-tools we need to first install the recent version
of libnetfilter-conntrack-dev build in a previous step as its a dependency.
2020-06-25 20:35:10 +02:00
Christian Poessinger
d31021cdb5
packages: netfilter: fix build issue on conntrack-tool
2020-06-25 20:27:16 +02:00
Christian Poessinger
f2f6332ca1
Jenkins: do not build ISO when only packages folder changes
2020-06-24 21:38:46 +02:00
Christian Poessinger
c1abd12398
Jenkins: T2625: import Kernel Pipeline
...
Imported from https://github.com/vyos/vyos-build-kernel commit 9e7c12b
2020-06-24 21:04:17 +02:00
Christian Poessinger
488ebdf6ca
Docker: strongswan requires python3-stdeb for VICI builds
2020-06-24 18:20:11 +02:00
Christian Poessinger
7e15d427f7
Jenkins: lib: T2625: extend quotes on SSH commands
2020-06-24 17:26:04 +02:00
Christian Poessinger
30b81d7931
Jenkins: lib: T2625: SSH commands must be wrapped in "" to function
2020-06-24 08:02:24 +02:00
Christian Poessinger
4690fd72ef
Jenkins: lib: T2625: use discrete SSH commands on deployment
2020-06-24 08:01:43 +02:00
Christian Poessinger
e05f59a7dd
Jenkins: lib: T2625: add getChangeSetPath() function
...
Retrieve the path where git should check for modified files to trigger
the pipeline build or not.
2020-06-23 19:49:56 +02:00
Christian Poessinger
b594ef7019
Jenkins: lib: T2625: must checkout scm for changelog detection
...
... else we can not trigger on changed files.
2020-06-23 16:45:21 +02:00
Christian Poessinger
b6e16d0edf
Jenkins: lib: do not checkout scm by default
2020-06-23 08:40:59 +02:00
Christian Poessinger
341028118d
Jenkins: lib: T2625: unbloat ISO build
2020-06-23 08:59:26 +02:00
Christian Poessinger
b51a2c6dfd
Docker: refresh dependencies for vyos-1xx
2020-06-22 17:56:03 +02:00
Christian Poessinger
e2b2fdf440
Jenkins: lib: T2625: remove debug output
2020-06-22 17:52:03 +02:00
Christian Poessinger
8476678259
Jenkins: lib: T2625: bugfix deployment of FRR package
2020-06-21 15:07:23 +02:00
Christian Poessinger
09e0d2cecb
Jenkins: lib: T2625: change order of deployment commands
2020-06-21 12:38:54 +02:00
Christian Poessinger
055d658a71
Jenkins: lib: Nested when condition "not" requires exactly 1 child condition
2020-06-21 12:31:22 +02:00
Christian Poessinger
4d11e8b33d
Jenkins: do not run ISO build when pipeline library changes
2020-06-21 12:29:39 +02:00
Christian Poessinger
718cc0ea22
Jenkins: packages: add underscore for library calls
...
The underscore (_) is not a typo! You need this underscore if the line
immediately after the @Library annotation is not an import statement!
2020-06-21 12:02:43 +02:00
Christian Poessinger
97627aa19d
Jenkins: lib: Debian packges must be build in 'build' subdirectory
...
Package build must be done in "any" subdir. Without it the Debian build system
is unable to generate the *.deb files in the sources parent directory, which
will cause a "Permission denied" error.
2020-06-21 11:55:53 +02:00
Christian Poessinger
8e27b8cd14
Jenkins: improve when {} build conditions for timer and user builds
2020-06-21 00:09:11 +02:00
Christian Poessinger
8ccd3ebaf3
Jenkins: make AWS S3 upload more robust
2020-06-21 00:02:51 +02:00
Christian Poessinger
76e05e019e
Jenkins: lib: buildPackage() parameters are all optional now
...
- description: Arbitrary text to print on Jenkins Job Description
instead of package name
- pkgList: Multiple packages can be build at once in a single Pipeline run
- buildCmd: replace default build command "dpkg-buildpackage -uc -us -tc -b"
with this custom version
2020-06-20 23:52:25 +02:00
Christian Poessinger
ee8c079cfa
Jenkins: lib: download repository parallel to Jenkinsfile location
...
... this is only releavant when building packages like FRR, Netfilter etc.,
which are generated via additional Jenkinsfiles from vyos-build.
2020-06-20 23:43:39 +02:00
Christian Poessinger
a20fedacdf
README: explain vars and packages folders in root
2020-06-20 23:26:39 +02:00
Christian Poessinger
f33c910f68
Jenkins: lib: add debug directory listings
2020-06-20 23:26:39 +02:00
Christian Poessinger
9bf4f922da
packages: add build for FRR
2020-06-20 23:26:39 +02:00
Christian Poessinger
918700c5a5
Jenkins: lib: record Git commit ID in job description
2020-06-20 23:11:56 +02:00
Christian Poessinger
22888ab751
Jenkins: lib: deploy packages do dev.packages.vyos.net
2020-06-20 23:11:56 +02:00
Christian Poessinger
b213775285
Jenkins: lib: add programmable package build Pipeline
2020-06-20 23:11:56 +02:00
Christian Poessinger
7ab2724c33
Jenkins: initial support for shared build libraries
...
Instead of writing the same code over and over again, place the common parts
into a Jenkins Library which is then consumed by every individual build Job.
This not only makes it less complex, but also increases maintainability by
several magnitudes.
2020-06-20 23:11:56 +02:00
Christian Poessinger
3656075d27
packages: add builds for netfilter packages from upstream Debian
...
Instead of scattering build instructions accross individual repositories for
some additional packages we want to build from latest Debian releases, this
is a proof-of-concept how to integrate an individual package Pipeline into the
overall VyOS build repository.
A dedicated Jenkins job will be required for this Pipeline but it will only
compile if files are actually changes in the directory path relevant for
this components.
2020-06-20 23:11:56 +02:00
Christian Poessinger
5e8244675f
Docker: add build dependencies for libnetfilter-conntrack & conntrack-tools
2020-06-20 14:28:45 +02:00
Matt W
9eaa35f86d
README: fix individual package build working directory
2020-06-20 13:52:39 +02:00
Christian Poessinger
1cde93a52e
Docker: add build dependencies for nftables
2020-06-20 13:13:29 +02:00
Christian Poessinger
bda222bba2
Jenkins: fix comment style
2020-06-20 13:13:20 +02:00
Christian Poessinger
b87cf3e44c
Delete buster-backports.list.chroot as we use lb config --backports
...
This results in Duplicated archive warnings on ISO builds otherwise.
2020-06-20 13:11:29 +02:00