diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 57ccf210060f956fcf6a97f3debd3de6cd9ca467..aa71e1603c9511fe04e3ffca505ea92cfecea1e9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -122,7 +122,7 @@ spack:concretize:
       - concretize.log
   needs:
     - job: spack:install_compilers
-  timeout: 5h
+  timeout: 24h
 
 spack:install:
   stage: install
@@ -150,7 +150,7 @@ spack:install:
   artifacts:
     reports:
       junit: spack-install-*.xml
-  timeout: 10h
+  timeout: 72h
 
 spack:mksquashfs:
   stage: deploy