[SOLVED] Umbraco Cloud Devops Pipeline 'Zip Source...
# help-with-umbraco
d
Hi there, Currently I'm trying to get an new website using our starter to Umbraco cloud. To get me started I'm using the recommended devops github project. https://github.com/umbraco/Umbraco.Cloud.CICDFlow.Samples Our devops agents pools are windows. Therefor i'm changing some settings in de CI/CD files for example the zip step. Instead of using
Copy code
# zip everything, except what is defined in the 'cloud.zipignore'
      - script: zip -r sources.zip . -x@cloud.zipignore
        displayName: Zip Source Code
I use
Copy code
# zip everything, except what is defined in the 'cloud.zipignore'
- script: 7zFM.exe -r $(System.DefaultWorkingDirectory)\sources.zip . -x@cloud.zipignore
  displayName: Zip Source Code
This zip process takes at least 20 minutes. Anybody an idea on why this takes this long and how to improve this?
Fix instead use:
Copy code
- script: 7z.exe a -r -tzip $(System.DefaultWorkingDirectory)\sources.zip . -x@cloud.zipignore
s
-mx0
will make sure it doesn't use compression, should make it faster too.
d
Thanks will add it.
13 Views