Removes line which allowed catalyst-auto to convert to snapshot_treeish
on the fly as it's no longer needed.
Signed-off-by: Ian Jordan <immoloism@gmail.com>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
* non-bash formatted lines are executed; results in several "command not found" errors
* instead, parse the file for the specific var
[this still leaves the doublequotes " around the value- dilfridge]
Signed-off-by: Nic Boet <nic@boet.cc>
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* catalyst commit 6493f3bc534f97468c514a12035b10e3107c4ecf
* --preclean would now fail as catalyst.conf is invalid
Signed-off-by: Nic Boet <nic@boet.cc>
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* output failure events to stdout if verbose set, useful for those without a mailer
* do not email if recipient var is undef; allows flexibility for non-releng use cases
Signed-off-by: Nic Boet <nic@boet.cc>
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
SSH defaults to IPQoS=cs1 for non-interative sessions, like scp.
OSUOSL's network prioritizes these packets lower and often drops them,
reducing uplaod performance significantly.
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This assumes that the spec sets are logically independent from each other,
i.e., building different ABIs.
Code shamelessly adapted from locale-gen.
Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>
The snapshot generation logic was moved earlier in the build (before
the cleaning logic) which caused the preclean to nuke the freshly
generated cache. Move all the preclean logic back up before that.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Most architecture's build systems are hosted at OSUOSL. The place the
stages need to end up is ultimately masterreleases.gentoo.org, also at
OSUOSL. For some unknown reason, instead of rsync'ing from one system to
another in the same building, we were sending the stages first (slowly,
I might add) to nightheron in France, before sending them back to
OSUOSL.
robbat2 has added a releng-incoming.gentoo.org DNS record that currently
points to nightheron. This will allow us to switch the record in the
future and save the stages from needing to circumnavigate the globe
before reaching the mirrors.
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Commit b7e493b4e4 (run trigger_post_build
after every successful spec) broke a lot of builders. The configs were
written to be called only after everything was done, but by calling it
after the first build (stage1 only), all the other artifacts we expected
did not yet exist.
Change post_build to pass the current set & spec name down so the config
can figure out what is available at that point in time.
All configs defining update_symlinks run it in pre_build, and all the
other configs will want to do the same. So make it the default in the
pre_build phase.
Mixing inline funcs and executable code makes it hard to follow and
shuffle ordering of operations. Put everything other than variables
into functions.
The delta here is large, but it's almost entirely indentation changes.
This also makes updating the script (like `git pull`) more resilient.