- bash scripts/make-debian-package.sh
artifacts:
paths:
- - pkg/pkgs/debian-10
- - pkg/srcpkgs/debian-10
+ - knot-resolver/pkg/pkgs/debian-10
+ - knot-resolver/pkg/srcpkgs/debian-10
expire_in: 1 week
#!/bin/bash
+set -o errexit
+set -o nounset
+
export DEBIAN_FRONTEND=noninteractive
# upgrade system to latest
apt-get install -y python3-pip
pip3 install apkg
-# git
-apt-get install -y git
-
# prepare the repo
git clone https://gitlab.nic.cz/knot/knot-resolver
cd knot-resolver
+git config --global user.email "ci@knot-resolver"
+git config --global user.name "GitLab CI"
git checkout manager-pkg
git rebase origin/manager-integration
git submodule update --init --recursive
+# install meson, because its not installed for some reason
+apt-get install -y meson
+
# build the package
apkg system-setup
-apkg srcpkg
apkg build -b
+apkg srcpkg
+