- 28 Mar, 2020 3 commits
-
-
Shawn Webb authored
When we publish builds, the publish directory is named "build-N" whereas on the build server, the the publish directory is named "N". Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
Shawn Webb authored
Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
Shawn Webb authored
I really should've tackled this sooner. The cleanup script is a rather dumb one, keeping up to a configurable number of builds. Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
- 18 Dec, 2019 1 commit
-
-
Shawn Webb authored
Originally, the thought was to manually inspect the cause of the failure prior to unlocking the build. However, this prevents auto-recovery of build failures, especially ones caused from upstream. Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
- 07 Dec, 2019 1 commit
-
-
Shawn Webb authored
Performing full builds during development of these scripts can chew up a large chunk of time. Given that the process of building the artifacts takes the majority of the time, but don't change much, provide a -S option to skip building the artifacts. Uppercase is used as an additional measure to prevent footshooting. Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org> github-issue: #8
-
- 06 Dec, 2019 8 commits
-
-
Shawn Webb authored
Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
Shawn Webb authored
Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
Shawn Webb authored
Instead of publishing the results to a private mailing list, publish the results to git. Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org> github-issue: #7
-
Shawn Webb authored
There are times when the git revision check prevents us from being able to test this build framework. This commit teaches `bin/ci.sh` the `-f` flag to force a build. Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org> github-issue: #5
-
Shawn Webb authored
Make sure to have a fresh BUILD-LATEST symlink. Prepend "build-" to the symlink name. Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
(cherry picked from commit 4c72477c ) Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
(cherry picked from commit 0ef61c81 ) Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
(cherry picked from commit d9a0b019 ) Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
- 20 Nov, 2019 1 commit
-
-
Shawn Webb authored
Teach `bin/ci.sh` to cache the git commit hash of the last successful build. Use the cached hash to determine whether building is even necessary. This feature introduces a new variable, `HBSD_CACHEDIR`, to use as cache storage for the build. Introduce `bin/cleanup.sh`. This script isn't even close to being complete. Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
- 09 Nov, 2019 2 commits
-
-
Shawn Webb authored
Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
Shawn Webb authored
Clean the release artifacts prior to building. This ensures that the build artifacts properly reflect the source. Do not double-compress distsets. Provide a revision.txt file that contains the git commit as given by `git rev-list -n 1 HEAD`. Do not attempt to publish to a mirror if no mirror is set. Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
- 20 Oct, 2019 7 commits
-
-
Shawn Webb authored
Lots of details missing, but at least it's a start. Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
Shawn Webb authored
Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
Shawn Webb authored
D'oh! Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
Shawn Webb authored
Given that we are going to publish to an rsync master, HardenedBSD only needs to support syncing to one given mirror. rsync-over-ssh is used for this purpose. Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
Shawn Webb authored
Use `.` instead of `source`. Fix populating the index file. Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
Shawn Webb authored
When setting non-default values in a custom config, the dynamic variables are already set based on the defaults. This commit makes the dynamic variables respect the values from the config. Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
Shawn Webb authored
Make HBSD_OBJRELDIR dynamic, based on HBSD_SRC. Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
- 19 Oct, 2019 1 commit
-
-
Shawn Webb authored
Still provide sensible (debug) defaults. "Sensible" is defined as per my environment. Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
- 06 Oct, 2019 2 commits
-
-
Shawn Webb authored
Ensure full build logs are always persisted. The new build_number function always increments the build number index, so we need to cache it at the earliest possible moment in main. Thus, build_number should only be called once and only once. Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
Shawn Webb authored
Also separate out some of the utility functions. Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
- 29 Sep, 2019 1 commit
-
-
Shawn Webb authored
We now have the basics for building HardenedBSD and publishing built artifacts. Note that this is just a functionality check-in before more extensive work. The build is currently performed with hard-coded variables. Obviously, that will need to change to a dynamic config file. Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-
- 16 Sep, 2019 1 commit
-
-
Shawn Webb authored
Commit just to make sure I don't lose stuffs. Signed-off-by:
Shawn Webb <shawn.webb@hardenedbsd.org>
-