7268ac9875
Since we need to set HOME and PATH, let's do that in a central place rather than scattering it around by having all of our entrypoint scripts source the `libbuild.sh` shell "library". Move the CoreOS CI entrypoint into a script like the others.
18 lines
535 B
Bash
Executable File
18 lines
535 B
Bash
Executable File
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
dn=$(dirname $0)
|
|
. ${dn}/libbuild.sh
|
|
|
|
# fetch tags so `git describe` gives a nice NEVRA when building the RPM
|
|
git fetch origin --tags
|
|
git submodule update --init --recursive
|
|
ci/installdeps.sh
|
|
ci/install-extra-builddeps.sh
|
|
# Our primary CI build goes via RPM rather than direct to binaries
|
|
# to better test that path, including our vendored spec file, etc.
|
|
# The RPM build expects pre-generated bindings, so do that now.
|
|
make -f Makefile.bindings bindings
|
|
cd packaging
|
|
make -f Makefile.dist-packaging rpm
|