[odrs-web] ci: Change so it maybe runs on merge requests



commit 848a9fbb35a4a2804e5489a1ea8f127448217c5f
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Thu Sep 1 07:16:26 2022 +0000

    ci: Change so it maybe runs on merge requests

 .gitlab-ci.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6b1724b..178f035 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,6 +8,7 @@ stages:
 
 build-image:
   stage: test
+  needs: []
   extends:
     - .kaniko-root
   variables:
@@ -15,6 +16,7 @@ build-image:
 
 tests:
   stage: test
+  needs: []
   image: registry.access.redhat.com/ubi8/python-39
   script:
     - pip install -r requirements.txt
@@ -30,7 +32,7 @@ deploy-dev:
     OCI_TAG: "dev"
   rules:
   - if: $CI_COMMIT_REF_NAME == "master"
-    when: always
+    when: on_success
 
 deploy-prod:
   stage: deploy


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