-
Notifications
You must be signed in to change notification settings - Fork 274
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: add build arguments to build page #7253
Conversation
90c6f0c
to
fc78300
Compare
fc78300
to
daa71e7
Compare
@odockal Need your help on the failure if that's okay! I've been trying locally to get it "not strict" button selection?
|
@cdrage You need to add strict check into the locator since you have added new buttons that introduce an ambiguity.
Just add strict: true : this.buildButton = page.getByRole('button', { name: 'Build', strict: true });
|
daa71e7
to
15bea6e
Compare
Updated! |
Note: correct is |
### What does this PR do? Build arguments is already built-in to podman desktop API. This adds to the UI the ability to pass in build arguments. ### Screenshot / video of UI <!-- If this PR is changing UI, please include screenshots or screencasts showing the difference --> ### What issues does this PR fix or reference? <!-- Include any related issues from Podman Desktop repository (or from another issue tracker). --> Closes containers#7250 ### How to test this PR? <!-- Please explain steps to verify the functionality, do not forget to provide unit/component tests --> - [X] Tests are covering the bug fix or the new feature 1. Build a Containerfile with ARG 2. See it fail (normal) 3. In build args, add your arg (ex. foo=bar) 4. It will now build and pass. Signed-off-by: Charlie Drage <charlie@charliedrage.com>
15bea6e
to
65dfabf
Compare
I don't know if long term maybe we should have an 'advanced section' or tab to separate actions that are optionals Also I think we discussed to remember all the build options over run (to run again the same build later) (not preventing the merge of this PR, just highlighting some previous discussions) |
100% agree. I've created issue #7254 which is about automatically filling in those sections automatically. I have opened up issue: #7308 about adding an advanced drop-down section / tab. |
### What does this PR do? Fixes the tests as the PR containers#7253 wasn't rebased before merging and it has a failing test. ### Screenshot / video of UI <!-- If this PR is changing UI, please include screenshots or screencasts showing the difference --> N/A ### What issues does this PR fix or reference? <!-- Include any related issues from Podman Desktop repository (or from another issue tracker). --> N/A ### How to test this PR? <!-- Please explain steps to verify the functionality, do not forget to provide unit/component tests --> - [X] Tests are covering the bug fix or the new feature Signed-off-by: Charlie Drage <charlie@charliedrage.com>
### What does this PR do? Fixes the tests as the PR #7253 wasn't rebased before merging and it has a failing test. ### Screenshot / video of UI <!-- If this PR is changing UI, please include screenshots or screencasts showing the difference --> N/A ### What issues does this PR fix or reference? <!-- Include any related issues from Podman Desktop repository (or from another issue tracker). --> N/A ### How to test this PR? <!-- Please explain steps to verify the functionality, do not forget to provide unit/component tests --> - [X] Tests are covering the bug fix or the new feature Signed-off-by: Charlie Drage <charlie@charliedrage.com>
### What does this PR do? Build arguments is already built-in to podman desktop API. This adds to the UI the ability to pass in build arguments. ### Screenshot / video of UI <!-- If this PR is changing UI, please include screenshots or screencasts showing the difference --> ### What issues does this PR fix or reference? <!-- Include any related issues from Podman Desktop repository (or from another issue tracker). --> Closes containers#7250 ### How to test this PR? <!-- Please explain steps to verify the functionality, do not forget to provide unit/component tests --> - [X] Tests are covering the bug fix or the new feature 1. Build a Containerfile with ARG 2. See it fail (normal) 3. In build args, add your arg (ex. foo=bar) 4. It will now build and pass. Signed-off-by: Charlie Drage <charlie@charliedrage.com>
### What does this PR do? Fixes the tests as the PR containers#7253 wasn't rebased before merging and it has a failing test. ### Screenshot / video of UI <!-- If this PR is changing UI, please include screenshots or screencasts showing the difference --> N/A ### What issues does this PR fix or reference? <!-- Include any related issues from Podman Desktop repository (or from another issue tracker). --> N/A ### How to test this PR? <!-- Please explain steps to verify the functionality, do not forget to provide unit/component tests --> - [X] Tests are covering the bug fix or the new feature Signed-off-by: Charlie Drage <charlie@charliedrage.com>
feat: add build arguments to build page
What does this PR do?
Build arguments is already built-in to podman desktop API.
This adds to the UI the ability to pass in build arguments.
Screenshot / video of UI
Screen.Recording.2024-05-17.at.4.15.22.PM.mov
What issues does this PR fix or reference?
Closes #7250
How to test this PR?