Commit 648c0f9a authored by Booloki's avatar Booloki

[CI] packaging from Ubuntu TLS 18.04 to 20.04

parent 05c6b203
Pipeline #1759 failed with stages
in 60 minutes and 13 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment