Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Booloki
wazzuf-ripper
Commits
648c0f9a
Commit
648c0f9a
authored
Jul 13, 2020
by
Booloki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CI] packaging from Ubuntu TLS 18.04 to 20.04
parent
05c6b203
Pipeline
#1759
failed with stages
in 60 minutes and 13 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
.gitlab-ci.yml
.gitlab-ci.yml
+6
-6
No files found.
.gitlab-ci.yml
View file @
648c0f9a
...
...
@@ -14,17 +14,17 @@ lint:
script
:
-
./shellcheck_all.sh
## Stage "package" for Ubuntu
18
.04 LTS
Bionic packaging
## Stage "package" for Ubuntu
20
.04 LTS
Focal Fossa
deb-package
:
stage
:
build
image
:
ubuntu:
bionic
image
:
ubuntu:
focal
tags
:
-
ubuntu
only
:
-
tags
script
:
# Use local repository mirror
-
echo -e "deb http://miroir.lan/ubuntu/
bionic
main multiverse restricted universe\ndeb http://miroir.lan/ubuntu/
bionic
-updates main multiverse restricted universe" > /etc/apt/sources.list
-
echo -e "deb http://miroir.lan/ubuntu/
focal
main multiverse restricted universe\ndeb http://miroir.lan/ubuntu/
focal
-updates main multiverse restricted universe" > /etc/apt/sources.list
# Update env
-
apt-get update -qq
# Dependencies install
...
...
@@ -34,7 +34,7 @@ deb-package:
# Add changelog entry
-
dch -v "${CI_COMMIT_TAG}-1" --force-distribution "New upstream release. See /usr/share/doc/wazzuf-ripper/changelog.gz"
# Changelog distro name fix
-
sed -i 's/UNRELEASED/
bionic
/' debian/changelog
-
sed -i 's/UNRELEASED/
focal
/' debian/changelog
# Build package (whithout .orig.tar.gz file)
-
dpkg-buildpackage -b -us -uc
-
mkdir build
...
...
@@ -98,7 +98,7 @@ archlinux-package:
## Stage "check" : Install/Uninstall deb packages
deb-install
:
stage
:
check
image
:
ubuntu:
bionic
image
:
ubuntu:
focal
tags
:
-
ubuntu
only
:
...
...
@@ -107,7 +107,7 @@ deb-install:
GIT_STRATEGY
:
none
script
:
# Use local repository mirror
-
echo -e "deb http://miroir.lan/ubuntu/
bionic
main multiverse restricted universe\ndeb http://miroir.lan/ubuntu/
bionic
-updates main multiverse restricted universe" > /etc/apt/sources.list
-
echo -e "deb http://miroir.lan/ubuntu/
focal
main multiverse restricted universe\ndeb http://miroir.lan/ubuntu/
focal
-updates main multiverse restricted universe" > /etc/apt/sources.list
# Add main repository
-
echo "deb [trusted=yes] http://wazzuf-ripper.lokizone.net/ubuntu/ trusty main" > /etc/apt/sources.list.d/wazzuf-ripper.list
# Add testing repository
...
...
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