mirror of
git://git.yoctoproject.org/yocto-autobuilder-helper.git
synced 2025-07-19 20:59:02 +02:00
Initial population with sample code
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
commit
09d2ec62dc
7
README
Normal file
7
README
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
This repo is designed to work in conjuction yocto-autobuilder. Whilst
|
||||||
|
yocto-autobuilder is designed to cover all releases, this repo has a branch per
|
||||||
|
release and contains the hooks that do the actual build configuration and execution.
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
Richard Purdie <richard.purdie@linuxfoundation.org>
|
||||||
|
Joshua Lock <joshua.g.lock@intel.com>
|
27
scripts/buildhistory-init
Executable file
27
scripts/buildhistory-init
Executable file
|
@ -0,0 +1,27 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
# Example code dumped from an existing nightly-arm buildhistory step for reference
|
||||||
|
|
||||||
|
if [ ! -d /srv/www/vhosts/autobuilder.yoctoproject.org/buildhistory/poky/master-next/nightly-arm ]; then
|
||||||
|
mkdir -p /srv/www/vhosts/autobuilder.yoctoproject.org/buildhistory/poky/master-next/nightly-arm
|
||||||
|
git init /srv/www/vhosts/autobuilder.yoctoproject.org/buildhistory/poky/master-next/nightly-arm
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -rf /srv/www/vhosts/autobuilder.yoctoproject.org/buildhistory/poky/master-next/nightly-arm
|
||||||
|
mkdir -p /srv/www/vhosts/autobuilder.yoctoproject.org/buildhistory/poky/master-next/nightly-arm
|
||||||
|
git init /srv/www/vhosts/autobuilder.yoctoproject.org/buildhistory/poky/master-next/nightly-arm
|
||||||
|
|
||||||
|
if git ls-remote --exit-code ssh://git@push.yoctoproject.org/poky-buildhistory refs/heads/poky/master-next/nightly-arm> /dev/null; then
|
||||||
|
git push -q ssh://git@push.yoctoproject.org/poky-buildhistory :poky/master-next/nightly-arm
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! git ls-remote --exit-code ssh://git@push.yoctoproject.org/poky-buildhistory refs/heads/poky/master-next/nightly-arm > /dev/null; then
|
||||||
|
cd /srv/www/vhosts/autobuilder.yoctoproject.org/buildhistory/poky/master-next/nightly-arm
|
||||||
|
echo 'Initializing Repo' >> README
|
||||||
|
git checkout -b poky/master-next/nightly-arm
|
||||||
|
git add README
|
||||||
|
git commit -s -m 'Initializing Repo'
|
||||||
|
git push -q ssh://git@push.yoctoproject.org/poky-buildhistory poky/master-next/nightly-arm:poky/master-next/nightly-arm
|
||||||
|
fi
|
3
scripts/setup-config
Executable file
3
scripts/setup-config
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
buildhistory-init
|
||||||
|
echo "setup-config called with $@"
|
Loading…
Reference in New Issue
Block a user