Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
M
mp-rude
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Maalepaaler
mp-rude
Commits
05131927
Commit
05131927
authored
Jul 09, 2019
by
Kolbjørn Barmen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enter buster
parent
e16602ea
Pipeline
#18881
passed with stages
in 58 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
.gitlab-ci.yml
.gitlab-ci.yml
+17
-1
Dockerfile
Dockerfile
+1
-1
No files found.
.gitlab-ci.yml
View file @
05131927
...
...
@@ -15,12 +15,26 @@ build-debian-stretch:
-
mkdir build-stretch
-
mv -v *.deb build-stretch/
build-debian-buster
:
cache
:
{}
stage
:
build
image
:
debian:buster
artifacts
:
expire_in
:
1h
paths
:
-
build-buster
script
:
-
./build.sh
-
mkdir build-buster
-
mv -v *.deb build-buster/
deploy-apt
:
stage
:
deploy
image
:
debian:
stretch
image
:
debian:
buster
artifacts
:
paths
:
-
build-stretch
-
build-buster
script
:
-
apt-get update && apt-get install openssh-client -y
-
(
...
...
@@ -30,5 +44,7 @@ deploy-apt:
echo "${SSH_APT_HOSTKEY}" > ~/.ssh/known_hosts;
)
-
ssh jenkins@apt.uninett.no mkdir -p /www/apt.uninett.no/htdocs/debian/pool/stretch/main/all/m
-
ssh jenkins@apt.uninett.no mkdir -p /www/apt.uninett.no/htdocs/debian/pool/buster/main/all/m
-
scp build-stretch/*.deb jenkins@apt.uninett.no:/www/apt.uninett.no/htdocs/debian/pool/stretch/main/all/m/
-
scp build-buster/*.deb jenkins@apt.uninett.no:/www/apt.uninett.no/htdocs/debian/pool/buster/main/all/m/
-
ssh jenkins@apt.uninett.no /www/apt.uninett.no/bin/mkrepo.debian
Dockerfile
View file @
05131927
FROM
debian:
stretch
FROM
debian:
buster
WORKDIR
/root/
COPY
mp-rude mp-rude
COPY
build.sh build.sh
...
...
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