Note that exim contains tracker-specific configuration
[mirror/dsa-puppet.git] / .gitlab-ci.yml
index 568ea63..568f97e 100644 (file)
@@ -8,15 +8,16 @@
     - git config --global user.email "you@example.com"
 
     - apt-get update
-    - apt-get install -y cmake libldap-dev libsasl2-dev
+    - apt-get install -y cmake libaugeas-dev libcurl4-openssl-dev libssl-dev libldap-dev libsasl2-dev pkg-config
     - bundle install --binstubs bin --with octocatalog
 
-    - git branch -f base $REF_BASE
-    - git branch -f test $CI_BUILD_REF
-
-    - echo -n "$R10K" > r10k.yaml
-    - bundle exec r10k deploy environment --verbose debug base test
-    - spec/octocatalog/run-octocatalog base test
+    - echo -n "$FILE_R10K" > r10k.yaml
+    - git branch -f $ENV_BASE origin/$ENV_BASE
+    - git branch -f $ENV_TEST $CI_BUILD_REF
+    - bundle exec r10k deploy environment --puppetfile --verbose debug $ENV_BASE $ENV_TEST
+    - spec/octocatalog/init-system
+    - spec/octocatalog/init-env
+    - spec/octocatalog/run-octocatalog
 
 test-octocatalog/master:
   <<: *test-octocatalog
@@ -25,8 +26,9 @@ test-octocatalog/master:
     - master
 
   variables:
-    REF_BASE: origin/master
-    R10K: |
+    ENV_BASE: master
+    ENV_TEST: test_octocatalog
+    FILE_R10K: |
       cachedir: 'cache'
       sources:
         plain: