Christian Poessinger
000cd8b2d9
build-submodules: change VERBOSE logic
2019-01-27 18:33:41 +01:00
Christian Poessinger
9210522425
build-submodules: report back package error when build with --verbose
2019-01-27 16:01:09 +01:00
Christian Poessinger
b10711d42e
build-submodules: add libyang
2019-01-27 16:01:09 +01:00
Christian Poessinger
4d073e64d0
build-submodules: ease FRR build procedure
...
Commit 670b6ca83b018 ("Docker: build libyang Debian package") build the
libyang package into a proper Debian package which is used during build
of FRR.
With this change we can remove the FRR compile hack!
2019-01-26 21:41:34 +01:00
Christian Poessinger
750f603f1f
build-kernel: no need to build source and debug package
2019-01-26 21:40:03 +01:00
Christian Poessinger
873cf3a68f
When building linux-kernel use number of host CPUs on parallel build
2019-01-26 10:01:50 +01:00
Christian Poessinger
9d52ba2003
When building parse Git commit ID
2019-01-26 10:00:58 +01:00
Christian Poessinger
0ad391b9e2
When building frr clean out Git repository first
2019-01-26 10:00:10 +01:00
Christian Poessinger
8a727f71fa
Fix --verbose option when building submodules
2019-01-26 09:59:15 +01:00
Christian Poessinger
b8dca95039
Build submodules in parallel with number of host CPUs
2019-01-26 09:58:37 +01:00
Christian Poessinger
d1e120574d
submodules: add igmpproxy
2019-01-26 09:57:04 +01:00
Christian Poessinger
3bd1273e9c
submodules: add vyos-xe-guest-utilities
2019-01-26 09:55:33 +01:00
Christian Poessinger
daaaa3eaf8
build-submodules: add vyos-1x package
2019-01-21 20:19:21 +01:00
Christian Poessinger
d952ca236d
build-submodules: add vyos-netplug
2019-01-17 23:46:10 +01:00
Christian Poessinger
cf168e38a4
Merge pull request #37 from runborg/current
...
Add selective package build, show commit id and small fix for overwriting text
2019-01-17 16:53:03 +01:00
Runar Borge
be0c850e75
Changed command to get commit id
2019-01-17 10:08:21 +01:00
Runar Borge
5b7c04ca8d
Fixed print error when using SKIP message, all text was not overwritten
2019-01-17 09:28:46 +01:00
Runar Borge
f2358fc926
Added display of the current commit id on built packages
2019-01-17 09:28:46 +01:00
Christian Poessinger
beb556c4fa
build-submodules: add libvyosconfig
2019-01-17 07:13:50 +01:00
Christian Poessinger
fc721e01d3
build-submodules: add librtr
2019-01-17 07:13:40 +01:00
Christian Poessinger
0e8cbf9715
build-submodules: add vyos-salt-minion
2019-01-17 07:11:44 +01:00
Christian Poessinger
cb2a1e3124
build-submodules: add vyos-opennhrp
2019-01-17 07:09:15 +01:00
Christian Poessinger
7f57ddd453
build-submodules: add ddclient and vyatta-biosdevname
2019-01-17 07:03:51 +01:00
Runar Borge
4b01d95b11
Merge remote-tracking branch 'upstream/current' into current
2019-01-16 22:56:52 +01:00
Christian Poessinger
04389cbef5
build-submodules: add eventwatchd
2019-01-16 20:28:27 +01:00
Christian Poessinger
c5cef286f3
build-submodules: add conntrack-tools
2019-01-16 19:34:05 +01:00
Runar Borge
fc61294dd0
Adding help for --build-
2019-01-15 07:43:48 +01:00
Runar Borge
99838ee7d4
Added support for building only selected packages
2019-01-15 07:42:44 +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
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
71e1588f1f
build-submodules: build frr from source
2019-01-13 22:17:29 +01:00
Christian Poessinger
3598b2ab5c
build-submodules: remove vyos-frr
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
Runar Borge
f672f325bb
build-submodules: Changed relative paths to full-paths on most commands
2019-01-11 21:48:21 +01:00
Christian Poessinger
4004496e89
Docker build files for entrypoint and UIDs
2019-01-11 09:15:33 +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
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
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
Christian Poessinger
88c8b3440b
CI/CD: add verbose output option to for 'build-submodules' script
2019-01-06 17:52: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
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
Runar Borge
a47e9599b4
Merge remote-tracking branch 'upstream/current' into current
2019-01-01 23:37:16 +01:00