Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
P
packages
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
infra
packages
Commits
d2e246aa
Commit
d2e246aa
authored
Feb 20, 2019
by
Hinrikus Wolf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add further packages
parent
224e9c33
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
126 additions
and
20 deletions
+126
-20
.gitlab-ci.yml
.gitlab-ci.yml
+29
-6
scripts/adcli.sh
scripts/adcli.sh
+19
-10
scripts/ganeti.sh
scripts/ganeti.sh
+41
-0
scripts/nginx-shib.sh
scripts/nginx-shib.sh
+36
-0
scripts/sssd.sh
scripts/sssd.sh
+1
-4
No files found.
.gitlab-ci.yml
View file @
d2e246aa
...
...
@@ -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
scripts/adcli.sh
100644 → 100755
View file @
d2e246aa
#!/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
scripts/ganeti.sh
0 → 100755
View file @
d2e246aa
#!/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
scripts/nginx-shib.sh
0 → 100755
View file @
d2e246aa
#!/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
scripts/sssd.sh
View file @
d2e246aa
#!/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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment