Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caching breaks luarocks install on Ubuntu #22

Open
vadi2 opened this issue Mar 19, 2022 · 1 comment
Open

Caching breaks luarocks install on Ubuntu #22

vadi2 opened this issue Mar 19, 2022 · 1 comment

Comments

@vadi2
Copy link

vadi2 commented Mar 19, 2022

The cache key does not differentiate between Ubuntu versions used, which is an issue for the readline dependency down the road if you're building with multiple versions of Ubuntu in several jobs. In an example here Lua is built on one version of Ubuntu, the cache is restored on another verison of Ubuntu (wrong) and this the Lua binary doesn't work.

Turning cache off with buildCache: false is a viable workaround.

@leafo
Copy link
Owner

leafo commented Mar 19, 2022

Thanks for the report. I'm not seeing an obvious name to access the OS version from the provided environment variables inside the gitlab runner. I'll keep looking, maybe we can use uname

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

No branches or pull requests

2 participants