Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): switch to small go image (#5099)
* chore(ci): switch to small go image Context: p95 duration for this job over the last 90 days is 2m 17s Solution: Switch from 2.3Gb image to generic 513mb image. Fetching the `bastiandoetsch209/cli-build` image can increase the Job time by ~60 seconds if the image is not cached. ``` Warning: No authentication provided, using CircleCI credentials for pulls from Docker Hub. image cache not found on this host, downloading bastiandoetsch209/cli-build:20240214-145818 … bastiandoetsch209/cli-build:20240214-145818: using image bastiandoetsch209/cli-build@sha256:1504fdbb34f02aab15475c3eacf8c0fc82be83059cda435b91327e43a98cb863 pull stats: download 2.279GiB in 23.682s (98.54MiB/s), extract 2.31GiB in 58.549s (40.39MiB/s) ``` Even pipelines run within minutes of each other do not necessarily hit the same image cache. The caching layer at use here is entirely opaque to me, but the observed affects are that the `Spin up environment` step can take either 0 or 60 seconds. Switching to one of the Circle CI provided images which also tend to be smaller could help here. Perhaps the inscrutable image caching is more likely to be optimised for their own images. * chore(ci): removes unused dep to speed up feedback cycle i The test-go job has dependency on the artifacts generated as part of the prepare-build job. Running this asap to reduce time to results.
- Loading branch information