Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
rude
rude
Commits
4d065eeb
Commit
4d065eeb
authored
Mar 07, 2019
by
Kolbjørn Barmen
Browse files
Attempt to move building of rude and crude to gitlab-ci
parent
e2e9153d
Pipeline
#15764
failed with stages
in 21 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
4d065eeb
stages
:
-
build
-
deploy
build-debian-stretch
:
cache
:
{}
stage
:
build
image
:
debian:stretch
artifacts
:
expire_in
:
1h
paths
:
-
build-stretch
script
:
-
apt-get update
-
apt-get install --no-install-recommends -q -y \
-o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y \
build-essential autoconf ruby ruby-dev libpcap-dev
-
gem install fpm
-
autoheader autoconf/configure.in
-
autoconf autoconf/configure.in > configure
-
chmod 755 configure
-
./configure --enable-wall --with-debug-lvl=3 --prefix=/usr
-
make deb
-
rm -rf build-stretch
-
mkdir build-stretch
-
mv -v rude/rude*.deb crude/crude*.deb build-stretch/
deploy-apt
:
stage
:
deploy
image
:
debian:stretch
artifacts
:
paths
:
-
build-stretch
script
:
-
apt-get update && apt-get install ssh -y
-
(
umask 077;
mkdir -p ~/.ssh;
echo "${SSH_PRIVKEY}" > ~/.ssh/id_rsa;
echo "${SSH_APT_HOSTKEY}" > ~/.ssh/known_hosts;
)
-
scp build-stretch/rude*.deb jenkins@apt.uninett.no:/www/apt.uninett.no/htdocs/debian/pool/stretch/main/binary-amd64/r/rude/
-
scp build-stretch/crude*.deb jenkins@apt.uninett.no:/www/apt.uninett.no/htdocs/debian/pool/stretch/main/binary-amd64/c/crude/
-
ssh jenkins@apt.uninett.no /www/apt.uninett.no/bin/mkrepo.debian
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