Skip to content
Snippets Groups Projects
Commit d2e246aa authored by Hinrikus Wolf's avatar Hinrikus Wolf
Browse files

add further packages

parent 224e9c33
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,10 @@ before_script: ...@@ -8,6 +8,10 @@ before_script:
- mv sources.list.new /etc/apt/sources.list - mv sources.list.new /etc/apt/sources.list
- apt-get update - apt-get update
- apt-get install -y dpkg-dev quilt devscripts - 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 # - python3 -m venv venv
# - source venv/bin/activate # - source venv/bin/activate
# - pip install wheel # - pip install wheel
...@@ -21,11 +25,30 @@ sssd: ...@@ -21,11 +25,30 @@ sssd:
stage: build stage: build
script: scripts/sssd.sh script: scripts/sssd.sh
artifacts: artifacts:
path: paths:
- packages/*.deb - packages/
stages:
- build
build: adcli:
stage: build stage: build
script: scripts/build.py script: scripts/adcli.sh
artifacts:
paths:
- packages/
nginx:
stage: build
script: scripts/nginx.sh
artifacts:
paths:
- packages/
ganeti:
stage: build
script: scripts/ganeti.sh
artifacts:
paths:
- packages/
stages:
- build
scripts/adcli.sh 100644 → 100755
#!/bin/bash #!/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 echo "deb-src http://ftp.halifax.rwth-aachen.de/debian/ stretch main" > /etc/apt/sources.list.d/stretch_src.list
TARGET_DIR=adcli-$ADCLI_VERSION
#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 for patch in ../../patches/adcli/*.patch ; do
quilt import $patch quilt import $patch
done 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 #!/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 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 update
apt-get source --only-source -t buster sssd apt-get source --only-source -t buster sssd
...@@ -13,7 +10,7 @@ dch --local ~bpo9+ --distribution stretch-backports "Rebuild for stretch-backpor ...@@ -13,7 +10,7 @@ dch --local ~bpo9+ --distribution stretch-backports "Rebuild for stretch-backpor
fakeroot debian/rules binary fakeroot debian/rules binary
debuild -us -uc -nc debuild -us -uc -nc
cd /root cd ..
mkdir debug packages mkdir debug packages
mv *dbgsym* debug mv *dbgsym* debug
mv *.deb packages mv *.deb packages
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment