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

Build extra riotdocker variant that includes nightly Rust #222

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chrysn
Copy link
Member

@chrysn chrysn commented Jan 17, 2023

After #214 is merged (which, on its own, is not blocked any more), users who used riotdocker but also needed nightly features are in a bit of a pickle: There is no image any more with which they can just dockerbuild their applications in.

As this is not part of the critical CI tests, and the features this'd be used with are usually rather mature, I see no immediate need to pin the nightly version (which also means that, if we want to go this way, I may occasionally press the "master: re-run" button as the need arises).

I'm not 100% sure the tests that are added for this part of the GitHub actions really take -- I'm still investigating whether CARGO_CHANNEL is correctly passed through run-in-docker (but maybe that's unwarranted anyway because RIOT-OS/RIOT#18840 is a next step and would remove that variable altogether in favor of just using cargo's mechanisms, now that regular RIOT tests don't need to interfere with it any more).

Due disclaimer / more precise motivation: I expect to be the next user of these myself. There are upcoming abstractions in riot-wrappers that'd depend on nightly-only crates. While such features would not be covered by what is tested when RIOT's own riot-wrappers version is updated (for RIOT's tests are built on riotbuild, and with stable only, so the relevant features of riot-wrappers would just not be enabled). But riot-wrappers itself runs its tests (esp. native) on GitHub actions, and for these it'd be quite handy to have a riotdocker image with nightly available.


As for reviewing, the biggest question is whether we want to have this built and maintained in here. I think it fits, especially as it can re-use all the established secrets and uploading infrastructure, and because it ensures that the images are in sync with the base image (so that whoever switches from stable to nightly just needs to download a small Docker delta image).

@chrysn chrysn force-pushed the riotbuild-rustnightly branch from b92cf73 to 1480bea Compare February 3, 2023 10:19
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.

1 participant