public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [RFC][PATCH] ci: Build in kas docker image
@ 2018-02-26 13:43 Jan Kiszka
  2018-03-02 12:37 ` Alexander Smirnov
  2018-03-02 14:24 ` Alexander Smirnov
  0 siblings, 2 replies; 5+ messages in thread
From: Jan Kiszka @ 2018-02-26 13:43 UTC (permalink / raw)
  To: isar-users

From: Jan Kiszka <jan.kiszka@siemens.com>

This models a gitlab CI build via the kas-isar docker image. That image
provides a stable execution environment, resolving all currently
required host-side dependencies for us.

Change the build stage to run the CI tests directly, instead of falling
back to the - by now - incompatible ci_build.sh script.

Drop artifact deployment from the public CI setup for now. They were
incomplete anyway, and they should be accompanied with an expiry date if
they should be reintroduced.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---

RFC because I only suspect that this script was no longer in use for the
Jenkin CI.

 .gitlab-ci.yml | 22 +++++++++++++++++-----
 1 file changed, 17 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 43caaea..79a6710 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,8 +1,20 @@
+image: kasproject/kas-isar:latest
+
 all:
   stage: build
   script:
-    - ./scripts/ci_build.sh
-  artifacts:
-    paths:
-    - images/isar-image-base-qemuarm.ext4.img.gz
-    - images/isar-image-base.rpi-sdimg.gz
+    - export http_proxy=$HTTP_PROXY
+    - export https_proxy=$HTTPS_PROXY
+    - export ftp_proxy=$FTP_PROXY
+    - export no_proxy=$NO_PROXY
+    - source isar-init-build-env out
+    - bitbake
+        multiconfig:qemuarm-wheezy:isar-image-base
+        multiconfig:qemuarm-jessie:isar-image-base
+        multiconfig:qemuarm-stretch:isar-image-base
+        multiconfig:qemuarm64-stretch:isar-image-base
+        multiconfig:qemui386-jessie:isar-image-base
+        multiconfig:qemui386-stretch:isar-image-base
+        multiconfig:qemuamd64-jessie:isar-image-base
+        multiconfig:qemuamd64-stretch:isar-image-base
+        multiconfig:rpi-jessie:isar-image-base
-- 
2.13.6

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-03-02 14:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-26 13:43 [RFC][PATCH] ci: Build in kas docker image Jan Kiszka
2018-03-02 12:37 ` Alexander Smirnov
2018-03-02 12:43   ` Jan Kiszka
2018-03-02 13:24     ` Alexander Smirnov
2018-03-02 14:24 ` Alexander Smirnov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox