-
Notifications
You must be signed in to change notification settings - Fork 276
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
Integrated code lifecycle
: Add checks for the docker image architecture
#8490
Integrated code lifecycle
: Add checks for the docker image architecture
#8490
Conversation
.../java/de/tum/in/www1/artemis/service/connectors/localci/buildagent/LocalCIDockerService.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Except two minor comments for improved inline documentation, the code looks good 👍 great work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good 👍
Integrated code lifecycle
: Improve exception handlingIntegrated code lifecycle
: Add checks for the docker image architecture
WalkthroughThe recent updates focus on enhancing Docker integration and testing configurations for ARM-based systems across various Java and RST files. These changes include the addition of new methods for mocking Docker image inspections, updating Docker image architecture settings, and refining exception handling in tests. The modifications aim to improve clarity, extend support for different architectures, and ensure robustness in continuous integration workflows. Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code lgtm. very good find
.../java/de/tum/in/www1/artemis/service/connectors/localci/buildagent/LocalCIDockerService.java
Show resolved
Hide resolved
.../java/de/tum/in/www1/artemis/service/connectors/localci/buildagent/LocalCIDockerService.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested locally
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good 👍
Checklist
General
Server
Changes affecting Programming Exercises
Motivation and Context
We had an issue where a build job for an exercise did not run without any proper error in the client or exception in the log. This was due to the docker image only supporting arm64, while the build agent only supported amd64.
Description
I added some checks and a config value to limit the architecture of the docker images that can be used. By default this is amd64
Steps for Testing
Prerequisites:
arm64v8/ubuntu:latest
Testserver States
Note
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Review Progress
Performance Review
Code Review
Manual Tests
Test Coverage
Virtually unchanged
Summary by CodeRabbit