Commit Graph

26 Commits

Author SHA1 Message Date
Conrad Lara - KG6JEI a57d5cd08c bugfix: olsrd-watchdog false reports
olsrd-watchdog can trigger when the olsrd service is restarted
Such as when a tunnel comes up, or when a config change is
made to olsrd.

procd already monitors olsrd and makes sure it remains running.

With procd we no longer need olsrd-watchdog and can remove it.

fixes AREDN->ticket:215

Change-Id: I5067d380a22bd0ab5e597746478ef3e1ba05d72d
2017-03-31 19:34:49 +00:00
Conrad Lara - KG6JEI c592f44ab0 Sourcecode license text spelling correction.
Inside the source files the word "contained" was mispelled
as "conained"

The website currently lists this correctly as "contained"

This was an error in the intial stamping of the source files in
changeset:5c3ee1d0686c6e6f2907fe4fc393d86d6c5a69b5/aredn_ar71xx

Line is part of "Additional Conditions" permitted by GPLv3.
Line does not impact coders prior to the AREDN setup date
as it was added by the AREDN team.

Change-Id: I3bc09aea548100f35c08aebe8686b8d4808d56d8
Signed-off-by: Conrad Lara - KG6JEI <KG6JEI@amsat.org>
Signed-off-by: Joe Ayers <ae6xe@arrl.net>
Signed-off-by: Darryl Quinn <k5dlq@arrl.net>
Signed-off-by: Trevor Paskett - K7FPV <snoopytjp@gmail.com>
2016-12-30 18:54:05 +00:00
Conrad Lara - KG6JEI 83a0b08a3a build: Add tests for final image name.
Checks to make sure the correct images are in the
bin/*/ directory.

Has an adjustable paramater for setting the expected files count.

This will likely require more complex logic if we add a new
platform to our build environment.

Change-Id: I1bb28cfb2ac4dc5e30823918c3fc884c9848bef3
2016-12-21 23:12:43 -08:00
Conrad Lara - KG6JEI e8c0417e5e buildroot: Add post-build tests framework
Add framework for post-build tests.

Change-Id: Ia51ef30f2297cc3ce535333d3e8f81aee45072b7
2016-12-21 23:12:43 -08:00
Conrad Lara - KG6JEI 579692d15d bugfix: Correct final output image file name.
After Change-Id: I4ac2a7aa903fb0d86f9a5200a4160e5028352fdd the build
version is being put into the middle of the file name.

Change-Id: I36c0d9b4c5bc509f45f3a8861bbfc1e97fea3f46
2016-12-21 23:12:32 -08:00
Conrad Lara - KG6JEI bc1046f705 bugfix: Build version not correctly set by build system.
Parent options were not enabled in kconfig for setting the version
information in the buildroot.

In addition the release version strings need to be quoted to
be processed.

Change-Id: I4ac2a7aa903fb0d86f9a5200a4160e5028352fdd
2016-12-16 22:42:01 +00:00
Darryl Quinn a1da9c0ad7 migrate snrlog to lua
Change-Id: Icecf72e370c5e938d8d689a858d57094fe847e45
2016-12-03 20:18:24 +00:00
Conrad Lara - KG6JEI d9cd982818 bugfix: Correct buildroot package selection flaw.
Introduced in changeset:48452725543d70dedc183f54d645f9551158c48e/aredn_ar71xx
(Change-ID of I693bed9fb2a4f7ee1471a8dbf440bbd391d3e783)

when using the feeds file we don't want "origin/develop" (used in Jenkins elsewhere) just "develop"

Strip off the prefix to correct.

Change-Id: I847b0878bf591eba81e7896dd6a099d0be3bfe3c
2016-11-04 14:41:51 -07:00
Conrad Lara - KG6JEI 4845272554 build: Make buildroot correctly build packages from correct branch.
This is intended for the Gerrit buildbot's use only.

When environment variable $GERRIT_PROJECT=aredn_packages

Assumptions:
$BUILDROOTBASE/../aredn_packages exists.
The changeset/refspec/patchset_revision has already been checked out into this aredn_pacakges folder
$GERRIT_PATCHSET_REVISION is set.

When GIT_BRANCH is set and not on aredn_packages gerrit project ensure aredn_packages is checked out
as above or system may fallback to sane defaults.

Change-Id: I693bed9fb2a4f7ee1471a8dbf440bbd391d3e783
2016-10-27 10:57:01 -07:00
Conrad Lara - KG6JEI ace8e365cb build environment: Build tests add LUA support and unify tests.
Primary purpose is to add LUA support.

While adding LUA support we will be replacing some files with LUA equivalents.

By uniforming the tests under single scripts for each folder file renames will less impact test results order.

Change-Id: I067ffc994bc60b8c872710c686022117801f65ea
2016-09-18 01:48:50 +00:00
Darryl Quinn ca24742bbb add support for lua and minimal luci libs to the build
Change-Id: Ife8afe95a5f71a4d65258db8a1f78d3931c7c8c7
2016-08-12 15:14:07 +00:00
Conrad Lara - KG6JEI a219802d5b build: Remove cleanup stage
Remove the cleanup stage from the build files.

The build server should clear these files on its own steps
independent of the image creation process.  There are often times
with local development where having to rebuild the entire system
base doesn't make sense.

Change-Id: Idd621b29a3f35fafb21c872a01af6a055aa63584
2016-07-08 15:58:03 -07:00
Conrad Lara - KG6JEI 798a96144d build change: Set build version in buildroot config
Set the openwrt build version to be the version of AREDN.

We don't currently use the OpenWRT version anywhere

This will be useful for implementing /etc/banner version tagging

Change-Id: I484564d28ae2f2e9f6017c038efe288bf1809ce1
2016-06-14 01:11:41 +00:00
KG6JEI fe8ae5296f Merge "bugfix: Build script missing packages" into develop 2016-06-01 04:14:27 +00:00
Conrad Lara - KG6JEI bbf5a70052 bugfix: buildsteps scripts if checks rework
Checks for BUILD_SET_VERSION use wrong bracket type
OSTYPE check wasn't portable to Ubuntu

Change-Id: I0183f3beae068b8524dc4dff411203fdb3878e94
2016-05-30 12:54:39 -07:00
Conrad Lara - KG6JEI fd7ae74f69 bugfix: Build script missing packages
snmp,socat,xinet.d are required package as part of the build

Change-Id: Ibb68dec4a5e92f8ee8511d971f1189f1d6e8a9a2
2016-05-30 11:44:57 -07:00
Darryl Quinn 7314a868e5 feature: added button to post data to aredn server including olsrd topology info 2016-01-11 12:46:12 -06:00
Trevor Paskett - K7FPV 3359c44ca7 feature: add jsoninfo to olsr and open firewall ports 9090 2016-01-05 11:00:22 -07:00
Conrad Lara - KG6JEI 316cb4f9c9 bugfix: build all arednpackages 2015-07-30 10:28:13 -07:00
Conrad Lara - KG6JEI 751ab212f4 bugfix: ntpclient missing from firmware image
fixes AREDN->ticket:119
2015-06-18 21:54:30 -07:00
Conrad Lara - KG6JEI 47fa0e4b6d bugfix: Reduce file name length.
Reduce filename length by 15 characters at all time.  Help reduce problems with max name length for TPLink devices.

This will not solve all issues as our file name style of branch-buildnumber-8CharCommitID the releases can get long.

This will however allow the final build name for a release version to be under the max file length (for now)

ref AREDN->ticket:107
2015-05-24 14:55:37 -07:00
Darryl Quinn de5cfaf3bb bugfix: fix tests-prebuild.sh to work on OS X 2015-05-08 23:08:31 -05:00
Conrad Lara - KG6JEI 885e93b241 feature: Add scripts for generating images.
These scripts are intended to be run by Jenkins.

minimal/no error checking is done with these scripts at this time.

Some ENV variables needs to be set before executing these scripts.
2015-05-03 12:13:38 -07:00
Conrad Lara - KG6JEI 741bb65e4b Refactor pre-build test scripts to work with upcomming build scripts 2015-04-30 10:41:04 -07:00
Conrad Lara - KG6JEI b920402b1f build: Create test scripts for basic code quality
Test scripts run to ensure the programs will execute and report back into junit format for Jenkins reporting.

These scripts can be run manually outside of the build system to check code prior to commiting.

usrlocalbinshell requires that shellcheck be installed on the testing system.
2015-04-13 11:37:45 -07:00
Conrad Lara - KG6JEI 6d66446d12 Add shell2junit for use of creating junit reports of the tests.
NOTE: sh2ju is under the ASF2 license
2015-04-09 20:18:01 -07:00