[polari/ci-test] ci: foo



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

    ci: foo

 .gitlab-ci.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4e36eaf..f168c17 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,6 +8,12 @@ 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
     stage: commit_check
@@ -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]