From de680716d48c5dc9305d793dfe5af0a082c81c1d Mon Sep 17 00:00:00 2001
From: Johannes Mey <johannes.mey@tu-dresden.de>
Date: Fri, 8 May 2020 18:39:16 +0200
Subject: [PATCH] create artefact

---
 .gitlab-ci.yml      | 3 +++
 kernel/compile.bash | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 99844a3..0802d23 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,6 +4,9 @@ stages:
 build-kernel:
   image: ubuntu:bionic
   stage: build
+  artifacts:
+    paths:
+      - kernel/*.deb
   script:
     - apt-get update
     - apt-get install -y build-essential curl bison flex bc rsync kmod cpio lsb-release libssl-dev
diff --git a/kernel/compile.bash b/kernel/compile.bash
index 02d54ea..c0dee08 100755
--- a/kernel/compile.bash
+++ b/kernel/compile.bash
@@ -51,3 +51,5 @@ cp ../config .config
 # update config with defaults if new options have been added
 make olddefconfig
 make deb-pkg
+
+mv *.deb ..
-- 
GitLab