-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
feat: --container-options
#1462
Conversation
This deprecates the following options - `--privileged` - `--container-cap-add` - `--container-cap-drop` - `--container-architecture` - `--userns`
🦙 MegaLinter status: ✅ SUCCESS
See errors details in artifact MegaLinter reports on CI Job page |
Codecov Report
@@ Coverage Diff @@
## master #1462 +/- ##
==========================================
+ Coverage 57.50% 60.58% +3.07%
==========================================
Files 32 44 +12
Lines 4594 6998 +2404
==========================================
+ Hits 2642 4240 +1598
- Misses 1729 2455 +726
- Partials 223 303 +80
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Seems like the options merge process should be improved, a EDIT |
@ChristopherHX this pull request has failed checks 🛠 EDIT I don't like these messages |
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.
Before we merge this there should be warnings about changed parameters, you are right.
I will approve when you add warnings.
This change needs some adjustments to correctly replace the old flags. I will look into improving this change this weekend and switch this PR again to ready to review state. Currently this change doesn't alter the the functionality of the old flags, which should continue to work as before without a |
Added deprecation warning, options are also applied to stepcontainer. I'm not shure what happens with the docker network option if it isn't in the options string |
This deprecates the following options
--privileged
--container-cap-add
--container-cap-drop
--container-architecture
--userns
If we decide to get rid of the options, we might want to add a warning before removal.