Azure Pipeline Caching
Hello,
we have Azure pipelines in place for our ci/cd process like it is described here
The execution of the pipeline currently takes quite long (the largest step is the docker/sdk up -t
). Does anybody know if it's possible to add the Azure pipeline build in caching system to reduce the image download part, and maybe also the composer part?
Answers
-
So, let's compare numbers - this is how the pipeline looks for them:
Is it much worse for you?
0 -
Thanks for checking @profuel!
I assume the 'Build images' step (docker/sdk up -t ) is the 'Launch project' step from the documentation. Is that right?
Regarding the numbers, this step takes a lot longer for me:
Is there any way to add caching to this step? The project I'm referring to does not have many changes (quite close to the B2B demo shop) at the moment.
0 -
Thanks to my colleague, I have some ideas for you:
- Docker build itself is really fast, like 1 minute. The rest of time is building data based on the configuration you have made.
- so, review your install scripts for CI pipeline, and make sure you have bare minimum to make it work correctly.
0 -
Hey @LukasB ! I see we're on the same boat regarding Azure pipelines in our projects ;) Maybe we can sync sometime to share ideas regarding our setups (as we share the same infra ;) )
I believe this is not a Spryker specific topic, but a topic for the DevOps team to resolve (or enable us to resolve)0 -
Hey @victor.vanherpt!
Sure let's sync and share some ideas :)
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 919 Developer Corner
- 779 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 69 Spryker Safari Questions
- 50 Random