Hello I need to emulate a network failure on my pipeline so I can check my caching solution I implement:
https://devops.stackexchange.com/q/11410/4396
Do you know how?
Hello I need to emulate a network failure on my pipeline so I can check my caching solution I implement:
https://devops.stackexchange.com/q/11410/4396
Do you know how?
For further actions, you may consider blocking this person and/or reporting abuse
OpenSource -
GargeeBhatnagar -
Shubham Murti -
Sarvar Nadaf -
Top comments (2)
What's the relation between cache and pulling off the internet plug ?
Even if CodeBuild has access to internet, if cache was created the first time and is still not expired, you should verify if dependencies are coming from cache.
You can check CodeBuild logs and see if the overall duration was reduced.
In my understanding, the
UPLOAD_ARTIFACTS
duration should reduce, althoughDOWNLOAD_SOURCE
duration may or may not decrease.Additionally, you can verify if cache is getting created during build by going to S3 and manually deleting the old cache archive.
I want to test that if I pull the plug the build would also run with cached content.