]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
ci: fixed artefacts path
authorVasek Sraier <git@vakabus.cz>
Thu, 28 Oct 2021 16:45:11 +0000 (18:45 +0200)
committerAleš Mrázek <ales.mrazek@nic.cz>
Fri, 8 Apr 2022 14:17:53 +0000 (16:17 +0200)
manager/.gitlab-ci.yml
manager/scripts/make-debian-package.sh

index 3745d870bb0d3a8cf743e9f53c69eefb921629ff..49702e371233627fb9cd825e057ae80b8e6f7389 100644 (file)
@@ -49,6 +49,6 @@ package-debian:
     - 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
index c1093c1a66c15cbab781aa83f2e96fc06699aa82..c78cb495577f2c7247a9cf00be19cd9b9f4b5367 100644 (file)
@@ -1,5 +1,8 @@
 #!/bin/bash
 
+set -o errexit
+set -o nounset
+
 export DEBIAN_FRONTEND=noninteractive
 
 # upgrade system to latest
@@ -16,20 +19,23 @@ apt-get update -qqq
 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
+