Skip to content

Remove docker pull to have a clean build without cache - #354

Merged
luisremis merged 4 commits into
developfrom
clean-build
Dec 7, 2023
Merged

luisremis merged 4 commits into
developfrom
clean-build

Conversation

@ali-asadpoor

@ali-asadpoor ali-asadpoor commented Dec 6, 2023 •

Copy link
Copy Markdown
Contributor

The apt packages in dependencies image and any other image created from it are very old. Reusing old layers prevent docker from running apt upgrade again. This PR creates a cronjob to create dependencies image without any cache.

build_images.sh is not used in any part of repository and is removed.

@ali-asadpoor
ali-asadpoor requested a review from a team December 6, 2023 05:47
gsaluja9
gsaluja9 previously approved these changes Dec 6, 2023

@gsaluja9 gsaluja9 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, although I though @luisremis and me added this long time ago to speed things up.
CI logs still show that dependencies is being fetched, so maybe this is a better way to go.

Comment thread ci.sh Resolved
luisremis
luisremis previously approved these changes Dec 6, 2023
@ali-asadpoor
ali-asadpoor dismissed stale reviews from luisremis and gsaluja9 via 6ae1e02 December 7, 2023 00:11
Comment thread .github/workflows/pr.yaml Resolved
@luisremis
luisremis merged commit 4e2813e into develop Dec 7, 2023
@luisremis
luisremis deleted the clean-build branch December 7, 2023 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants