btrfs-progs: ci: update and sync scripts

The main script ci/images/test-build should be most up to date and
copied to all docker templates, sync them. Fix descriptions that were
copy&pasted from musl. Add missing test-build script from musl image.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2023-02-16 19:36:09 +01:00
parent cfc093bb6a
commit 256e64dfa8
12 changed files with 36 additions and 14 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
# Usage: $0 [branch]
# Create source tarball from HEAD or given branch and build it in musl CI
# Create source tarball from HEAD or given branch and build it in Centos 7 CI
# environment
HERE=`pwd`

View File

@ -1,6 +1,6 @@
#!/bin/sh
# Usage: $0 [branch]
# Create source tarball from HEAD or given branch and build it in musl CI
# Create source tarball from HEAD or given branch and build it in Centos 8 CI
# environment
HERE=`pwd`

View File

@ -1,6 +1,6 @@
#!/bin/sh
# Usage: $0 [branch]
# Create source tarball from HEAD or given branch and build it in musl CI
# Create source tarball from HEAD or given branch and build it in openSUSE Leap 15.3 CI
# environment
HERE=`pwd`

View File

@ -1,6 +1,6 @@
#!/bin/sh
# Usage: $0 [branch]
# Create source tarball from HEAD or given branch and build it in musl CI
# Create source tarball from HEAD or given branch and build it in openSUSE Leap 15.4 CI
# environment
HERE=`pwd`

View File

@ -1,6 +1,6 @@
#!/bin/sh
# Usage: $0 [branch]
# Create source tarball from HEAD or given branch and build it in musl CI
# Create source tarball from HEAD or given branch and build it in openSUSE Tumbleweed CI
# environment
HERE=`pwd`

View File

@ -3,7 +3,7 @@
urlbase="https://github.com/kdave/btrfs-progs/archive"
branch=${1:-devel}
fname=${branch}.tar.gz
fname="${branch}.tar.gz"
url="${urlbase}/${fname}"
shift
@ -18,5 +18,5 @@ else
wget "$url" -O "$fname"
fi
tar xf "$fname"
cd btrfs-progs-$branch
cd "btrfs-progs-$branch"
ci/build-default "$@"

View File

@ -3,7 +3,7 @@
urlbase="https://github.com/kdave/btrfs-progs/archive"
branch=${1:-devel}
fname=${branch}.tar.gz
fname="${branch}.tar.gz"
url="${urlbase}/${fname}"
shift
@ -18,5 +18,5 @@ else
wget "$url" -O "$fname"
fi
tar xf "$fname"
cd btrfs-progs-$branch
cd "btrfs-progs-$branch"
ci/build-default "$@"

View File

@ -0,0 +1,22 @@
#!/bin/sh
# usage: $0 [branch name] [configure parameters]
urlbase="https://github.com/kdave/btrfs-progs/archive"
branch=${1:-devel}
fname="${branch}.tar.gz"
url="${urlbase}/${fname}"
shift
echo "btrfs-progs build test of branch ${branch}"
cd /tmp
if [ -f "$fname" -a -s "$fname" ]; then
echo "Found local file $fname, not downloading"
else
echo "Missing or empty tar, downloading devel branch from git"
rm -- "$fname"
wget "$url" -O "$fname"
fi
tar xf "$fname"
cd "btrfs-progs-$branch"
ci/build-default "$@"

View File

@ -4,7 +4,7 @@
urlbase="https://github.com/kdave/btrfs-progs/archive"
branch=${1:-devel}
fname="${branch}.tar.gz"
url="$urlbase/$fname"
url="${urlbase}/${fname}"
shift

View File

@ -4,7 +4,7 @@
urlbase="https://github.com/kdave/btrfs-progs/archive"
branch=${1:-devel}
fname="${branch}.tar.gz"
url="$urlbase/$fname"
url="${urlbase}/${fname}"
shift

View File

@ -4,7 +4,7 @@
urlbase="https://github.com/kdave/btrfs-progs/archive"
branch=${1:-devel}
fname="${branch}.tar.gz"
url="$urlbase/$fname"
url="${urlbase}/${fname}"
shift

View File

@ -3,7 +3,7 @@
urlbase="https://github.com/kdave/btrfs-progs/archive"
branch=${1:-devel}
fname=${branch}.tar.gz
fname="${branch}.tar.gz"
url="${urlbase}/${fname}"
shift
@ -18,5 +18,5 @@ else
wget "$url" -O "$fname"
fi
tar xf "$fname"
cd btrfs-progs-$branch
cd "btrfs-progs-$branch"
ci/build-default "$@"