Commit d2e246aa authored by Hinrikus Wolf's avatar Hinrikus Wolf

add further packages

parent 224e9c33
......@@ -8,6 +8,10 @@ before_script:
- mv sources.list.new /etc/apt/sources.list
- apt-get update
- apt-get install -y dpkg-dev quilt devscripts
- export DEBIAN_FRONTEND="noninteractive"
- export DEBIAN_PRIORITY="critical"
- export DEBFULLNAME="FSMPI Admin-Team"
- export DEBEMAIL="admin@fsmpi.rwth-aachen.de"
# - python3 -m venv venv
# - source venv/bin/activate
# - pip install wheel
......@@ -21,11 +25,30 @@ sssd:
stage: build
script: scripts/sssd.sh
artifacts:
path:
- packages/*.deb
stages:
- build
paths:
- packages/
adcli:
stage: build
script: scripts/adcli.sh
artifacts:
paths:
- packages/
nginx:
stage: build
script: scripts/nginx.sh
artifacts:
paths:
- packages/
build:
ganeti:
stage: build
script: scripts/build.py
script: scripts/ganeti.sh
artifacts:
paths:
- packages/
stages:
- build
#!/bin/bash
export DEBIAN_FRONTEND="noninteractive"
export DEBIAN_PRIORITY="critical"
export DEBFULLNAME = "FSMPI Admin-Team"
export DEBEMAIL = "admin@fsmpi.rwth-aachen.de"
ADCLI_VERSION=$(rmadison adcli --architecture=amd64 | cut -d\| -f2 | sed s"/ //g" | sed s"/\-.*$//g")
ADCLI_VERSION=$(rmadison adcli --architecture=amd64 -s stretch| cut -d\| -f2 | sed s"/ //g" | sed s"/\-.*$//g")
apt-get source adcli
TARGET_DIR=adcli-$ADCLI_VERSION
echo "deb-src http://ftp.halifax.rwth-aachen.de/debian/ stretch main" > /etc/apt/sources.list.d/stretch_src.list
#cp -r patches/adcli $TARGET_DIR/debian
apt-get update
apt-get source --only-source adcli
TARGET_DIR=adcli-$ADCLI_VERSION
cd $TARGET_DIR/debian
cd ${TARGET_DIR}/debian
for patch in ../../patches/adcli/*.patch ; do
quilt import $patch
done
cd ..
debchange --preserve --newversion ${ADCLI_VERSION}-fsmpi "Apply the unreleased upstream-patches, fixing RT#100"
apt-get build-dep -y adcli
fakeroot debian/rules binary
debuild -b -uc -us
cd ..
mkdir debug packages
mv *dbgsym* debug
mv *.deb packages
#TODO: pakete bauen
#!/bin/bash
GANETI_VERSION=$(rmadison ganeti -s stretch| cut -d\| -f2 | sed s"/ //g" | sed s"/\-.*$//g")
echo "deb-src http://ftp.halifax.rwth-aachen.de/debian/ stretch main" > /etc/apt/sources.list.d/stretch_src.list
apt-get update
apt-get source --only-source ganeti
TARGET_DIR=ganeti-$GANETI_VERSION
cd ${TARGET_DIR}/debian
for patch in ../../patches/ganeti/*.patch ; do
quilt import $patch
done
cd ..
function dch() {
debchange --preserve --newversion ${GANETI_VERSION}-fsmpi $1
}
dch "Fix broken ceph support in bdev.py, see GitHub #1233."
dch "Remove blockdev storage from the movable and mirrored devices lists."
dch "Increase maximum disk count per instance."
dch "Add support for disk cache usage with rbd devices."
apt-get build-dep -y ganeti
fakeroot debian/rules binary
debuild -b -uc -us
cd ..
mkdir debug packages
mv *dbgsym* debug
mv *.deb packages
#!/bin/bash
NGINX_VERSION=$(rmadison nginx -s stretch| cut -d\| -f2 | sed s"/ //g" | sed s"/\-.*$//g")
echo "deb-src http://ftp.halifax.rwth-aachen.de/debian/ stretch main" > /etc/apt/sources.list.d/stretch_src.list
apt-get update
apt-get source --only-source nginx
TARGET_DIR=nginx-$NGINX_VERSION
cd ${TARGET_DIR}/debian/modules
git clone "https://github.com/nginx-shib/nginx-http-shibboleth.git"
cd ..
cp libnginx-mod.nginx.skeleton libnginx-mod-http-shibboleth.nginx
cd ..
patch -d . -p0 < ../patches/nginx/00-add-module.patch
debchange --preserve --newversion ${NGINX_VERSION}-fsmpi "Add libnginx-mod-http-shibboleth"
apt-get build-dep -y nginx
fakeroot debian/rules binary
debuild -b -uc -us
cd ..
mkdir debug packages
mv *dbgsym* debug
mv *.deb packages
#!/bin/bash
export DEBIAN_FRONTEND="noninteractive"
export DEBIAN_PRIORITY="critical"
echo "deb-src http://ftp.halifax.rwth-aachen.de/debian/ buster main" > /etc/apt/sources.list.d/buster_src.list
apt-get update
apt-get source --only-source -t buster sssd
......@@ -13,7 +10,7 @@ dch --local ~bpo9+ --distribution stretch-backports "Rebuild for stretch-backpor
fakeroot debian/rules binary
debuild -us -uc -nc
cd /root
cd ..
mkdir debug packages
mv *dbgsym* debug
mv *.deb packages
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment