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

Programming exercises: Make docker network customizable #10431

Open
chrisknedl opened this issue Mar 1, 2025 · 0 comments
Open

Programming exercises: Make docker network customizable #10431

chrisknedl opened this issue Mar 1, 2025 · 0 comments
Labels
exercise Pull requests that affect the corresponding module feature programming Pull requests that affect the corresponding module quiz Pull requests that affect the corresponding module

Comments

@chrisknedl
Copy link
Contributor

Is your feature request related to a problem?

Customizable docker container CPU, memory and memory-swap flags are currently being added to Artemis. This is a huge improvement, and the ability to define upper bounds in the config makes it more safe.

However, the network flag is currently not as customizable: Containers either use the standard docker network or not use one at all. A custom network can theoretically be set in the config, but that network is shared between all containers created by this Artemis instance.

Describe the solution you'd like

Similarly to the other flags, a list of allowed network names are defined in the config file. During exercise creation, the network can be chosen using a dropdown in the build plan customization section. This gets rid of possible typos that could arise if we'd let developers enter the network name into an input field.

Describe alternatives you've considered

Multiple Artemis instances, each with different network flags, where each instance hosts the exercises that use the corresponding network. This is impractical at best.

Additional context

No response

@github-actions github-actions bot added exercise Pull requests that affect the corresponding module programming Pull requests that affect the corresponding module quiz Pull requests that affect the corresponding module labels Mar 1, 2025
@chrisknedl chrisknedl assigned chrisknedl and unassigned chrisknedl Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exercise Pull requests that affect the corresponding module feature programming Pull requests that affect the corresponding module quiz Pull requests that affect the corresponding module
Projects
None yet
Development

No branches or pull requests

1 participant