Franco Fichtner
e06105e069
composite/watch: make globbing more strict
2024-04-16 10:44:17 +02:00
Franco Fichtner
3c68989919
composite/nightly: add "watch" step as an overview of the build
2024-04-16 08:30:45 +02:00
Franco Fichtner
a3a2101c61
composite/hotfix: without forced rebuild we get no log messages
...
It might be better to revisit logging with pkg-msg/pkg-err but for
now this helps make the operation clearer.
2024-02-20 04:36:33 +01:00
Franco Fichtner
5dd1403005
composite/hotfix: minor tweak to the ports hotfix invoke
...
Plus a stray semicolon. ;)
2024-02-19 12:16:58 +01:00
Franco Fichtner
2aedf54827
composite/hotfix: switch default hotfixing to partial core/plugins build
...
I have been unintentionally scrubbing packages sets in the past which
is not a lot of fun so make the default hotfix mode a little less coarse.
While here the biggest issue of the hotfixing is not being able to see
package messages (not errors, these are shown as the build aborts) so
collect them in a variable to show at the end if all was building ok.
This is only relevant for multi-step hotfixing between core/plugins.
2024-02-16 09:52:12 +01:00
Franco Fichtner
11eac352ab
build: add hotfix clean target which does core and plugins in one step
2024-02-15 15:23:51 +01:00
Franco Fichtner
e3471710d9
composite/hotfix: use MISMATCH in explicit "ports" target
...
Improve hotfixing just a little bit now that we have the MISMATCH
option. "make hotfix-ports" now does this automatically and wasn't
used before.
2024-02-15 13:30:39 +01:00
Franco Fichtner
49f84e452b
build/ports: add MISMATCH knob; closes #225
2024-02-14 10:01:56 +01:00
Franco Fichtner
d0e6c47d7c
composite/nightly: clear /usr/obj after a full run
...
We do this to avoid /usr/obj longering causing it to be caught in
ZFS snapshots allegedly done by freebsd-update reducing our available
space ever so slightly until nothing works anymore.
2023-12-01 08:54:08 +01:00
Franco Fichtner
277fa7be97
composite: make 'watch' more usable and add a small documentation
2023-11-08 09:00:30 +01:00
Franco Fichtner
783ccad16f
composite/watch: improve this a little
2023-11-08 08:41:08 +01:00
Franco Fichtner
f213553e74
composite/hotfix: improve step parsing
...
We don't intend to pass down arguments to individual steps passed
down but if someone makes that mistake (like me) at least we don't
run the ports build step now which produces a bogus result.
2023-07-26 08:15:23 +02:00
Franco Fichtner
ef89cfd749
composite: custom image support
2023-04-17 10:41:23 +02:00
Franco Fichtner
7faf1e99f4
composite/hotfix: same same but shorter
2023-02-08 09:57:32 +01:00
Franco Fichtner
62cf737ea3
build|composite: remove PRODUCT_FLAVOUR where irrelevant
2023-02-03 15:13:55 +01:00
Franco Fichtner
fc8df43beb
composite/hotfix: strip aux in standard mode
2023-01-31 18:46:42 +01:00
Franco Fichtner
c951256976
composite/nightly: repair and reduce code
2023-01-26 08:28:40 +01:00
Franco Fichtner
b448dfb032
composite: remove batch script and multi-flavour handling in nightly
...
We only support OpenSSL now and the base build is also not fully
hooked up. Perhaps we can improve the situation later on but for
now just remove the spurious bits leading to errors.
2023-01-25 10:38:44 +01:00
Franco Fichtner
0d085b0da8
composite/watch: refine further
2022-11-02 12:32:56 +01:00
Franco Fichtner
73c8a6039c
composite: fix watch target expectation
2022-11-02 12:21:54 +01:00
Franco Fichtner
458fae9083
composite: add (nightly) log watcher
2022-11-02 12:11:46 +01:00
Franco Fichtner
8ab4d23004
build: support pkg 1.17
2022-04-29 09:31:43 +02:00
Franco Fichtner
8ddbaaab99
composite/hotfix: allow custom PORTSENV if needed
2022-04-22 09:56:19 +02:00
Franco Fichtner
9a23fa6145
composite/hotfix: extra mile
2022-03-16 10:23:15 +01:00
Franco Fichtner
125d9ae582
composite/distribution: remove hotfix indicator from image versioning
2022-03-14 09:17:40 +01:00
Franco Fichtner
f3519e7fbb
composite/factory: compress by default
2022-02-23 14:12:45 +01:00
Franco Fichtner
9dfa2d964e
composite/factory: omit the GPTDUMMY partition
...
We want to reserve the last partition for later swap use.
2022-02-23 13:13:26 +01:00
Franco Fichtner
6977ea2d7b
composite/factory: remove debug
2022-02-17 16:39:31 +01:00
Franco Fichtner
5f64cb5902
composite: add factory target
2022-02-17 15:32:21 +01:00
Franco Fichtner
a99e8b6e8c
composite/hotfix: do not use "packages" here at all
...
Most of the time "packages" was already done and sometimes we
want to retain aux ports for e.g. suricata rebuilds using rust.
2022-02-09 09:05:49 +01:00
Franco Fichtner
bbfe097159
composite/hotfix: packages is for forcing plugin/core rebuild only
2022-02-08 14:11:27 +01:00
Franco Fichtner
775737ffd5
composite/nightly: tail log lines into "ok" log anyway
...
More often than not it is useful to peek at the ports build
exit warnings but when there is no error a 100 MB file doesn't
load nicely in the browser.
2022-01-04 08:50:40 +01:00
Franco Fichtner
464d2dbc2c
composite/nightly: don't stop on opportunistic stages including distfiles
2022-01-04 08:45:04 +01:00
Franco Fichtner
c6184a48b4
composite/hotfix: stop on error instead of marching on
2021-11-11 20:11:37 +01:00
Franco Fichtner
1c7b8b26a0
composite/nightly: run options checker for each flavour and ignore errors
...
This is similar to the audit where we want to check, but not fatally abort.
2021-10-15 14:54:34 +02:00
Franco Fichtner
b3818a032c
build/options: port option scanner; closes #226
2021-10-12 21:02:32 +02:00
Franco Fichtner
bbca59c891
composite/nightly: clear packages after distfiles stage
...
That helps us with distfiles go:modules dilemma.
2021-09-08 14:03:34 +02:00
Franco Fichtner
36b1f402ff
build|composite: use -x grep
2021-04-18 15:05:04 +02:00
Franco Fichtner
10d94fc215
composite/distribution: proper release build top target; closes #216
2021-04-09 13:33:54 +02:00
Franco Fichtner
9db21c46da
composite/batch: use builtin
2021-04-06 22:00:09 +02:00
Franco Fichtner
3cfb240871
composite/hotfix: add port hotfix option
...
Plugins and core steps are relatively fast so we do not have to
assume anything else passed here belongs to their rebuild. So
we are free to assume the argument was a port that shoud be replaced
inline without tampering with later build steps.
2021-04-06 14:24:39 +02:00
Franco Fichtner
bc91f00cd5
build/audit: fail on vulnerabilities, but continue on nightly
2021-02-17 11:58:48 +01:00
Franco Fichtner
3cb53e308c
make: when processing ARGS for SCRIPTS defer their parsing
...
# make batch-ports-a,b -V batch_ARGS
Before: ports-a b
After: ports-a,b
It also means we ever only take one argument.
2021-02-05 12:46:51 +01:00
Franco Fichtner
8a2fe31f97
composite/nightly: run audit prior to test stage
2021-01-27 16:23:19 +01:00
Franco Fichtner
ae05088ef2
composite/nightly: omit rebuild argument on nightly from scratch builds
2021-01-22 09:12:02 +01:00
Franco Fichtner
45ce56fc95
composite/nighty: clear packages earlier if requested
...
If we fail too early in non-flavoured build steps the package
progress is not reset so we do not get a rebuild later on even
though the nightly was missed...
2020-07-16 14:54:14 +02:00
Franco Fichtner
fa946d07bd
nightly: tail STAGE1 error logs as well
2020-06-10 07:52:43 +02:00
Franco Fichtner
75ecf3eb70
composite/nightly: extend error check to all stages
2019-12-04 08:18:51 +01:00
Franco Fichtner
4149851d5d
composite/nighty: create dir before using it
2019-12-02 14:15:40 +01:00
Franco Fichtner
15479a1deb
comosite/nightly: add sequence numbers to log names
...
Also add clean output in case it would error out...
2019-12-02 09:42:40 +01:00