diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 588ee1700a804b4c7da035b44f86acfd733bc0ea..cbde8e7cec1cf944dba25820e2ce6ace26cfee11 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -109,6 +109,28 @@ server_rpm:
     paths:
       - artifacts/
 
+ci_cd_test:
+  stage: build
+  image: gitlab-registry.cern.ch/linuxsupport/cc7-base
+  script:
+    - echo "GitLab CI/CD | Print all environment variables"
+    - env
+
+ci_cd_test_with_rules:
+  stage: build
+  image: gitlab-registry.cern.ch/linuxsupport/cc7-base
+  script:
+    - echo "GitLab CI/CD | Print all environment variables"
+    - env
+  rules:
+    - if: '$CI_PROJECT_NAMESPACE != "fts"'
+      when: never
+    - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
+      when: never
+    - if: '$CI_COMMIT_REF_NAME == "develop" || $CI_COMMIT_TAG != null'
+    - if: '$CI_COMMIT_REF_NAME != "develop" && $CI_COMMIT_TAG == null'
+      when: manual
+
 #--------------------------
 # Docker build templates
 #--------------------------
@@ -236,6 +258,8 @@ rpms:
   rules:
     - if: '$CI_PROJECT_NAMESPACE != "fts"'
       when: never
+    - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
+      when: never
     - if: '$CI_COMMIT_REF_NAME == "develop" || $CI_COMMIT_TAG != null'
     - if: '$CI_COMMIT_REF_NAME != "develop" && $CI_COMMIT_TAG == null'
       when: manual