1064 Commits

Author SHA1 Message Date
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
zsdc
ebc80decd2 Docker: T2640: Added ability to build Docker images with VyOS
This implementation works, but it is on the proof-of-concept stage and requires extended testing.
2020-06-25 14:57:16 +03: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
Christian Poessinger
cc7c4fa155 Jenkins: do not build ISO when only Docker container changes 2020-06-20 13:10:23 +02:00
Christian Poessinger
5fc9c378b6 systemd: services: disable all udp-broadcast-relay instances 2020-06-19 17:26:03 +02:00
Christian Poessinger
a7fac7399d T2490: add support for serial console-server 2020-06-19 17:09:34 +02:00
Christian Poessinger
5a1740044c Docker: adjust comment on libaudit-dev dependency 2020-06-17 20:54:29 +00:00
Christian Poessinger
712a1e7618 systemd: services: disbale SNMPD by default 2020-06-16 18:36:18 +02:00
Christian Poessinger
e5a8e5f77a systemd: services: remove SysVinit leftovers 2020-06-16 18:33:38 +02:00
Christian Poessinger
1dfa9a3c7c Kernel: T2595: Update Linux Kernel to v4.19.128 2020-06-14 18:18:19 +02:00
Christian Poessinger
411d483539 Docker: StrongSwn requires python-setuptools for VICI package 2020-06-12 08:39:47 +02:00
Christian Poessinger
a31c709c79 systemd: T2559: lm-sensors disable service by default 2020-06-07 17:23:37 +02:00