357 Commits

Author SHA1 Message Date
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
danhusan
32ac33cd31
T1120: Add rootdelay=5 by default in grub.cfg
Let disks settle to workaround issue with MD array not being detected.
2019-01-02 13:56:03 +01:00
Runar Borge
a47e9599b4 Merge remote-tracking branch 'upstream/current' into current 2019-01-01 23:37:16 +01:00
Runar Borge
b66718a87b Added support for compiiling vyos-accel-ppp 2019-01-01 23:34:27 +01:00
Daniil Baturin
23e35e77fe T1131: disable vmtoolsd polling for now to avoid high CPU load.
In the future it may be made a CLI option.
2019-01-01 16:37:06 +01:00
Daniil Baturin
a05f1ac750 Update the build-submodules script to use the dehardcoded kernel version. 2018-12-31 15:11:27 +01:00
Daniil Baturin
01f5093ebd Dehardcode the kernel package version from the live-build-config script. 2018-12-31 15:11:01 +01:00
Christian Poessinger
aa0eb3349d Add 'nls_ascii' to initramfs to avoid USB pendrive boot warning 2018-12-29 13:49:43 +01:00
Christian Poessinger
b6e17d7244 Merge branch '1u-diy-server' into current
* 1u-diy-server:
  Docs: 1U: Reorder pictures
  Docs: 1U: added some pictures
  Docs: 1U: move optional part to the end
  Docs: Initial description about a DIY 1U router
  Docs: Remove old Sphinx approach and link to new one
2018-12-29 12:04:47 +01:00
Christian Poessinger
7174529889 Docs: 1U: Reorder pictures 2018-12-29 12:03:58 +01:00
Christian Poessinger
e3a0ee674c Docs: 1U: added some pictures 2018-12-29 12:03:58 +01:00