diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3c5f7eca6ae4f4845d989be964f44de90536979d..feaec5b2acaf36cd066722669df71b19fd08cf0c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -35,13 +35,17 @@ compile:
 
 upload:
   stage: test
+  needs:
+    - compile
   <<: *ansible-job
   script:
     - ansible $ANSIBLE_ARGS -m include_tasks -a file=ansible/ciupload.yaml localhost
   
 test-cluster:
   stage: test
-  needs: upload
+  needs:
+    - upload
+  dependencies: []
   <<: *ansible-job
   parallel:
     matrix: