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

litex_setup.py: Disable auto-update of litex_setup for CI #1779

Closed

Conversation

cklarhorst
Copy link
Contributor

This adds a new config option to litex_setup (--disable-auto-update) to disable the auto-update mechanism. It further changes the CI flow to use that flag.

Why? The auto-update is a problem for the CI workflow because it will override any (especially branch-specific) changes to the litex_setup script. Then CI is testing the wrong litex_setup script.

This should fix the CI flow for #1776

This adds a new config option to litex_setup (--disable-auto-update) to disable
the auto-update mechanism. It further changes the CI flow to use that flag.

Why? The auto-update is a problem for the CI workflow because it will override
any (especially branch-specific) changes to the litex_setup script. Then CI
is testing the wrong litex_setup script.
@Dolu1990
Copy link
Collaborator

<3<3

@enjoy-digital
Copy link
Owner

Hi and thanks @cklarhorst,

this is in fact the intend of --dev mode, I'll try to see if we can merge both.

@cklarhorst
Copy link
Contributor Author

@enjoy-digital
I tried --dev first but as it rewrites the repo URLs to SSH it breaks the CI flow (at least for me) because it had no credentials.

@enjoy-digital
Copy link
Owner

Indeed, there is now a CI detection to avoid this with #1782.

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