[librsvg: 2/7] Use custom OCI images instead of building a new enviroment from scratch each time.



commit 1182b64a96866f53d26623e78ebeb40e6130b9e7
Author: Jordan Petridis <jordanpetridis protonmail com>
Date:   Fri Feb 23 13:33:11 2018 +0000

    Use custom OCI images instead of building a new enviroment from scratch each time.

 .gitlab-ci.yml | 51 ++++++++++++++++++---------------------------------
 1 file changed, 18 insertions(+), 33 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fd4db2a1..0309c957 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,14 +20,14 @@ stages:
       - tests/*.log
       - png_artifacts
 
-.deb_template: &deb_deps
-  before_script:
-    - apt update -yqq
-    - apt-get install -yqq gcc make
-                  automake autoconf libtool gettext itstool
-                  libgdk-pixbuf2.0-dev libgirepository1.0-dev
-                  gtk-doc-tools git libgtk-3-dev rustc cargo
-                  libxml2-dev libcroco3-dev libcairo2-dev libpango1.0-dev
+# .deb_template: &deb_deps
+#   before_script:
+#     - apt update -yqq
+#     - apt-get install -yqq gcc make
+#                   automake autoconf libtool gettext itstool
+#                   libgdk-pixbuf2.0-dev libgirepository1.0-dev
+#                   gtk-doc-tools git libgtk-3-dev rustc cargo
+#                   libxml2-dev libcroco3-dev libcairo2-dev libpango1.0-dev
 
 
 fedora:test:
@@ -37,39 +37,24 @@ fedora:test:
 
 
 opensuse:tumbleweed:
-  image: opensuse:tumbleweed
+  image: registry.gitlab.com/alatiera/librsvg-oci-images/opensuse:tumbleweed
   stage: distro_test
-  before_script:
-    - zypper install -y gcc rust rust-std cargo make
-                     automake autoconf libtool gettext itstool
-                     gtk-doc
-                     git
-                     gobject-introspection-devel
-                     libxml2-devel
-                     libcroco-devel
-                     cairo-devel
-                     pango-devel
-                     gdk-pixbuf-devel
-                     gtk3-devel
   <<: *distro_test
   only:
-    refs:
-      - master
-      - schedules
-      - tags
-      - web
+    - master
+    - schedules
+    - tags
+    - web
 
 debian:testing:
-  image: debian:testing
+  image: registry.gitlab.com/alatiera/librsvg-oci-images/debian:testing
   stage: distro_test
-  <<: *deb_deps
   <<: *distro_test
   only:
-    refs:
-      - master
-      - schedules
-      - tags
-      - web
+    - master
+    - schedules
+    - tags
+    - web
 
 # TODO: Enable this when ubuntu update it's rustc package
 # https://launchpad.net/ubuntu/+source/rustc/1.23.0+dfsg1+llvm-0ubuntu2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]