Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
krb525-debian10
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
702
Security
krb525-debian10
Commits
f80c8cc5
Commit
f80c8cc5
authored
2 years ago
by
Pavel Vondruska
Browse files
Options
Downloads
Patches
Plain Diff
Initial commit
parents
No related branches found
No related tags found
No related merge requests found
Pipeline
#3587
canceled
2 years ago
Stage: build
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+28
-0
28 additions, 0 deletions
.gitlab-ci.yml
make.sh
+38
-0
38 additions, 0 deletions
make.sh
with
66 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
28
−
0
View file @
f80c8cc5
image
:
debian:bullseye
# Is performed before the scripts in the stages step
before_script
:
-
source /etc/profile
variables
:
DEBEMAIL
:
"
Daniel
Kouril
<kouril@ics.muni.cz>"
# Defines stages which are to be executed
stages
:
-
build
# Stage "build"
run-build
:
stage
:
build
script
:
-
./make.sh
# This stage is only executed if commited to master
only
:
-
master
# The files which are to be made available in GitLab
artifacts
:
paths
:
-
build/*
This diff is collapsed.
Click to expand it.
make.sh
0 → 100755
+
38
−
0
View file @
f80c8cc5
#!/bin/bash -x
# Nastaveni promennych
export
DEBIAN_FRONTEND
=
noninteractive
export
DEBEMAIL
=
"Pavel Vondruska <vondruska@cesnet.cz>"
# Nacteni promennych o bezicim systemu vcetne verzi
.
/etc/os-release
# Od Debian 11 Bullseye ma debian-security trochu jinou cestu, abychom mohli pouzit heredoc, rozskocime si pres funkci
function
get_debian_security
()
{
if
[
"
${
VERSION_ID
}
"
-lt
"11"
]
;
then
echo
"
${
VERSION_CODENAME
}
/updates"
;
else
echo
"
${
VERSION_CODENAME
}
-security"
;
fi
}
# Vygenerovani sources.list podle verze Debianu
cat
>
/etc/apt/sources.list
<<
EOSOURCES
deb http://ftp.zcu.cz/pub/linux/debian
${
VERSION_CODENAME
}
main contrib non-free
deb http://ftp.zcu.cz/pub/linux/debian
${
VERSION_CODENAME
}
-updates main contrib non-free
deb http://deb.debian.org/debian-security/
$(
get_debian_security
)
main contrib non-free
deb-src http://ftp.zcu.cz/pub/linux/debian
${
VERSION_CODENAME
}
main contrib non-free
deb-src http://ftp.zcu.cz/pub/linux/debian
${
VERSION_CODENAME
}
-updates main contrib non-free
deb-src http://deb.debian.org/debian-security/
$(
get_debian_security
)
main contrib non-free
EOSOURCES
apt update
-qqq
apt
install
git ca-certificates build-essential heimdal-dev debhelper automake autoconf libtool pkg-config
--no-install-recommends
-qqq
-y
git clone https://github.com/cesnet/krb525
cd
krb525
dpkg-buildpackage
-uc
-us
-b
cd
..
mkdir
build
mv
*
.deb build/
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment