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

🌱 ci: fix GitHub action to test make test-e2e for deploy-image #4118

Merged

Conversation

camilamacedo86
Copy link
Member

@camilamacedo86 camilamacedo86 commented Aug 30, 2024

For the DeployImage sample, we are only using validating webhooks.
This commit updates the scaffold to reflect this by customizing
the configuration accordingly.

Additionally, there is a known bug in the tool where it scaffolds
uncommented data for MutatingWebhooks. As a workaround, this commit
comments out the unnecessary MutatingWebhook configurations to avoid
issues during the test execution.

@k8s-ci-robot
Copy link
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 30, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: camilamacedo86

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Aug 30, 2024
@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Aug 30, 2024
@camilamacedo86 camilamacedo86 force-pushed the fix-e2e-deploy-image branch 2 times, most recently from 6a7ea5a to d1a0cb8 Compare August 30, 2024 08:54
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Aug 30, 2024
@camilamacedo86 camilamacedo86 changed the title WIP 🌱 ci: enable and fix the e2e tests for deploy image sample Aug 30, 2024
@camilamacedo86 camilamacedo86 marked this pull request as ready for review August 30, 2024 08:58
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 30, 2024
@camilamacedo86 camilamacedo86 changed the title 🌱 ci: enable and fix the e2e tests for deploy image sample WIP ci: enable and fix the e2e tests for deploy image sample Aug 30, 2024
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 30, 2024
@k8s-ci-robot k8s-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 31, 2024
@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Aug 31, 2024
@camilamacedo86 camilamacedo86 force-pushed the fix-e2e-deploy-image branch 2 times, most recently from 7adb1e4 to f63a05d Compare August 31, 2024 08:40
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 31, 2024
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Aug 31, 2024
@k8s-ci-robot k8s-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Aug 31, 2024
@camilamacedo86 camilamacedo86 force-pushed the fix-e2e-deploy-image branch 2 times, most recently from 57f6f01 to d177c64 Compare August 31, 2024 11:08
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Aug 31, 2024
@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 31, 2024
@camilamacedo86 camilamacedo86 changed the title WIP ci: enable and fix the e2e tests for deploy image sample 🌱 ci: fix GitHub action to test make test-e2e for deploy-image Aug 31, 2024
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Aug 31, 2024
For the DeployImage sample, we are only using validating webhooks.
This commit updates the scaffold to reflect this by customizing
the configuration accordingly.

Additionally, there is a known bug in the tool where it scaffolds
uncommented data for MutatingWebhooks. As a workaround, this commit
comments out the unnecessary MutatingWebhook configurations to avoid
issues during the test execution.
@camilamacedo86
Copy link
Member Author

I am moving forward because it is a nit/fix
We have big fishes to fry and we need help with a lot of PRs reviews.
So, I will not make nobody waste time on this one.

Also, anyone can propose further changes in follow ups
All help is welcome !
Please, feel free.

@camilamacedo86 camilamacedo86 added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Aug 31, 2024
@k8s-ci-robot k8s-ci-robot merged commit 7e02efb into kubernetes-sigs:master Aug 31, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants