[polari/ci-test] ci: foo



commit 6481c7d59ea65c2bd40746dd6847bdc66e457559
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Feb 14 23:17:00 2019 +0100

    ci: foo

 .gitlab-ci.yml | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4e36eaf..64874c0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,8 +8,14 @@ variables:
     BUNDLE: "polari-git.flatpak"
     LINT_LOG: "eslint-report.txt"
 
+.only_default: &only_default
+    only:
+        - branches
+        - tags
+        - merge_requests
+
 check_commit_log:
-    image: fedora:latest
+    image: registry.gitlab.gnome.org/gnome/gjs:fedora.static-analysis
     stage: commit_check
     before_script:
         - dnf install -y git
@@ -23,6 +29,7 @@ eslint:
     stage: source_check
     script:
         - sh lint/generate-report.sh -o $LINT_LOG || { cat $LINT_LOG; false; }
+    <<: *only_default
     artifacts:
         paths:
             - ${LINT_LOG}
@@ -57,6 +64,7 @@ flatpak:
         - flatpak build-bundle repo ${BUNDLE} --runtime-repo=${RUNTIME_REPO} ${DBUS_ID} ${BRANCH}
     after_script:
         - tar -czf cache.tar.gz .flatpak-builder/cache
+    <<: *only_default
 
     artifacts:
         paths:
@@ -75,6 +83,7 @@ review:
         - flatpak
     script:
         - echo "Generating flatpak deployment"
+    <<: *only_default
     artifacts:
         paths:
             - ${BUNDLE}
@@ -92,6 +101,7 @@ stop_review:
     stage: review
     script:
         - echo "Stopping flatpak deployment"
+    <<: *only_default
     when: manual
     environment:
         name: review/$CI_COMMIT_REF_NAME


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