367 Commits

Author SHA1 Message Date
Christian Poessinger
ccfcfe0d8e developer: add linux-perf package to vyos-dev apt packages 2019-01-16 19:50:15 +01:00
Christian Poessinger
459de1ce09 Docker: add missing dependencies for conntrack-tools 2019-01-16 19:39:43 +01:00
Christian Poessinger
c5cef286f3 build-submodules: add conntrack-tools 2019-01-16 19:34:05 +01:00
Christian Poessinger
2003c0c276 Jenkins: move post always to post cleanup section 2019-01-14 22:00:05 +01:00
Christian Poessinger
db9b292a98 build-submodules: remove vyos-pppoe-server which is replaced by vyos-1x 2019-01-14 22:00:01 +01:00
Christian Poessinger
1c6bc54504 Jenkins: allow regular user to clean 'build/' directory 2019-01-14 21:51:59 +01:00
Christian Poessinger
f23cd2137e build-submodules: fix 'sed' script for FRR Debian packaging 2019-01-14 21:45:22 +01:00
Christian Poessinger
f95182eb15 build-submodules: remove vyatta-vrrp which is no longer required
vyatta-vrrp code has been replaced by vyos-1x implementation
2019-01-14 21:22:07 +01:00
Christian Poessinger
420ef2830a build-submodules support FRR build from 'master' branch 2019-01-14 21:22:07 +01:00
Christian Poessinger
b28865a5c2 Docker: add ZMQ (ZeroMessageQueue) to FRR deps - optional 2019-01-14 20:42:26 +01:00
Christian Poessinger
71e1588f1f build-submodules: build frr from source 2019-01-13 22:17:29 +01:00
Christian Poessinger
f212e76a3b Docker: frr-deps: add librtr and libyang 2019-01-13 21:49:28 +01:00
Christian Poessinger
805ad7318a Docker: fix build deps for pmacct 2019-01-12 22:38:20 +01:00
Christian Poessinger
40f93b3ab1 Docker: add upstream 'frr' build dependencies 2019-01-12 22:31:19 +01:00
Christian Poessinger
dc447da1b9 README.md: typo fixes 2019-01-12 21:45:13 +01:00
Christian Poessinger
3598b2ab5c build-submodules: remove vyos-frr 2019-01-12 20:22:02 +01:00
Christian Poessinger
45ee65ff89 Add frr submodule 2019-01-12 20:22:02 +01:00
Christian Poessinger
8deaf0aa84 Remove vyos-frr submodule 2019-01-12 20:22:02 +01:00
Christian Poessinger
a6505fd299 Merge branch 'current' of github.com:runborg/vyos-build into current
* 'current' of github.com:runborg/vyos-build:
  build-submodules: Changed relative paths to full-paths on most commands
2019-01-12 14:13:36 +01:00
Christian Poessinger
511f7027b1 Update README.md Docker instructions and branch names 2019-01-12 11:42:21 +01:00
Runar Borge
f672f325bb build-submodules: Changed relative paths to full-paths on most commands 2019-01-11 21:48:21 +01:00
Christian Poessinger
61a76c01ca Jenkins: add deploy stage do pipeline 2019-01-11 09:17:44 +01:00
Christian Poessinger
4c42851c53 Docker: create UNIX group on demand 2019-01-11 09:15:33 +01:00
Christian Poessinger
4004496e89 Docker build files for entrypoint and UIDs 2019-01-11 09:15:33 +01:00
Christian Poessinger
ecc0db23c3 .gitignore: ignore log from build-submodules 2019-01-11 07:49:24 +01:00
Christian Poessinger
59ff941e9a build-submodules: exit script with proper exit code for Pipeline 2019-01-11 07:40:59 +01:00
Christian Poessinger
041bc80e71 CI/CD: Improve 'goso' handling for Docker and Jenkins
* Inside the container user can call 'sudo' without password
* Added Docker environment variables to controll the 'gosu' UID/GID
2019-01-11 07:33:16 +01:00
Christian Poessinger
988a099f98
Merge pull request #36 from runborg/current
Compile frr, set user with gosu in docker and fixup of logging and errors in build-subpackages
2019-01-11 07:22:33 +01:00
Christian Poessinger
8a9050fffd packages: fix vyos-strongswan submodule pointer 2019-01-09 23:01:09 +01:00
Runar Borge
362ea8acb5 Fix error message on kernel commit, also fixup from merge-conflict 2019-01-09 13:51:11 +01:00
Runar Borge
57474b220e Merge remote-tracking branch 'upstream/current' into current and merge conflict fix 2019-01-09 13:49:30 +01:00
Runar Borge
830146d03f Log complete buildscript execution and changed package-initialization routine
All build executions is now logged to the buildlog insted of only the dpkg-* commands
The script also shows commands executed (bash: set -x)

Insted of initializing subpackages one by one they now initialize and update in one operation by the git submodule command
2019-01-09 13:38:41 +01:00
Runar Borge
6f4d7061e0 Adding support for compiling vyos-frr package 2019-01-09 13:36:30 +01:00
Runar Borge
a021853d27 Added apt-get update before any apt-get install commands.
This fixes an issue where docker is using packages from cache that has an outdated apt-cache.
2019-01-09 13:30:54 +01:00
Runar Borge
ed03c43b2a Change user on docker image to the current owner of the volume directory (GOSU)
Insted of hardcoding the user used to build inside the container it will now be auto configured to be the user UID that owns the vyos-build directory
This is done with the gosu utillity and a entrypoint script
2019-01-09 13:26:32 +01:00
Christian Poessinger
3415313603 build-submodules: fix bool logic for accel-ppp build 2019-01-08 22:13:34 +01:00
hagbard
4f7117243a T1135: "firewall send-redirects enable" works only after switching from disabled state on running system
- set default to disable too due to the fact that set firewall did expect that at one point. Primarily, IPSec could leak
    data once a tunnel is established.
2019-01-08 14:26:16 -08:00
hagbard
f8f6c5d391 Type fixed. 2019-01-08 13:54:25 -08:00
hagbard
394bee00f7 T1135: "firewall send-redirects enable" works only after switching from disabled state on running system
- disable send-redirects per default
2019-01-08 13:24:48 -08:00
Christian Poessinger
88c8b3440b CI/CD: add verbose output option to for 'build-submodules' script 2019-01-06 17:52:52 +01:00
Christian Poessinger
21becfd719 CI/CD: Update all submodules to latest HEAD
Update all registered submodules to the latest HEAD revision of its configured
branch in .gitmodules

 #
2019-01-06 17:42:52 +01:00
Christian Poessinger
4327fe1f2f Merge remote-tracking branch 'runborg/current' into current
* runborg/current:
  Added build-kernel script and almost total rewrite of build-submodules
2019-01-06 17:39:44 +01:00
Christian Poessinger
d0d363186d CI/CD: extend error reporting for Jenkins builds 2019-01-06 14:24:49 +01:00
Christian Poessinger
3bd3fda4c0 Docker: update apt xdependencies for vyos-accel-ppp 2019-01-06 11:11:12 +01:00
Runar Borge
081bf77f86 Added build-kernel script and almost total rewrite of build-submodules
The build-kernel script was forgotten to commit, it is needed to build the kernel

To make the build-submodules script more readable and extendible i've almost totally rewritten it using functions
the build process is also started in its own subshell, so that we dont need to hold track of the current directory and make error handling/status info easier
2019-01-06 00:21:18 +01:00
Christian Poessinger
53faf39ed1 CI/CD: Build VyOS submodules from source 2019-01-05 22:17:04 +01:00
Christian Poessinger
c329a9291c
Merge pull request #34 from runborg/current
Added support for compiling `vyos-accel-ppp` in `build-submodules`
2019-01-05 22:13:13 +01:00
Christian Poessinger
bfc8cfc891 Add branch information to submodules 2019-01-05 19:50:07 +01:00
Christian Poessinger
c611fb2926 Added vyos-accel-ppp submodule 2019-01-04 11:12:35 +01:00
Christian Poessinger
57dfa72fdf
Merge pull request #35 from danhusan/patch-1
T1120: Add rootdelay=5 by default in grub.cfg
2019-01-02 17:36:33 +01:00