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

feat(operator): adapt TaskDefinition validation webhook to consider python and deno runtime #1534

Conversation

geoffrey1330
Copy link
Member

@geoffrey1330 geoffrey1330 commented Jun 7, 2023

Fixes #1527 Added logic to the validation webhook to accommodate the new fields for python-runtime and deno functionality.

Signed-off-by: geoffrey1330 israelgeoffrey13@gmail.com

…ime and deno functionality

Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
@geoffrey1330 geoffrey1330 requested a review from a team as a code owner June 7, 2023 11:18
@netlify
Copy link

netlify bot commented Jun 7, 2023

Deploy Preview for keptn-lifecycle-toolkit ready!

Name Link
🔨 Latest commit e90286c
🔍 Latest deploy log https://app.netlify.com/sites/keptn-lifecycle-toolkit/deploys/6486c2c39751f900086dd0c6
😎 Deploy Preview https://deploy-preview-1534--keptn-lifecycle-toolkit.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@bacherfl bacherfl changed the title Added logic to validation webhook consider new fields for python-runt… feat(operator): adapt TaskDefinition validation webhook to consider python and deno runtime Jun 7, 2023
@codecov
Copy link

codecov bot commented Jun 7, 2023

Codecov Report

Merging #1534 (37c155e) into main (0cb7f14) will increase coverage by 0.18%.
The diff coverage is 100.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1534      +/-   ##
==========================================
+ Coverage   63.04%   63.22%   +0.18%     
==========================================
  Files         142      142              
  Lines       10779    10794      +15     
==========================================
+ Hits         6796     6825      +29     
+ Misses       3724     3714      -10     
+ Partials      259      255       -4     
Impacted Files Coverage Δ
.../lifecycle/v1alpha3/keptntaskdefinition_webhook.go 93.44% <100.00%> (+2.13%) ⬆️

... and 4 files with indirect coverage changes

Flag Coverage Δ
certificate-operator 68.55% <ø> (ø)
component-tests 59.42% <ø> (+1.47%) ⬆️
lifecycle-operator 84.39% <100.00%> (+0.03%) ⬆️
metrics-operator 81.66% <ø> (ø)
scheduler 30.45% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
@odubajDT
Copy link
Contributor

odubajDT commented Jun 7, 2023

Nice work! Can you please add some integration tests and also adapt the failing unit tests ? Thank you!

@geoffrey1330
Copy link
Member Author

Nice work! Can you please add some integration tests and also adapt the failing unit tests ? Thank you!

Alright I will do that

Copy link
Member

@rakshitgondwal rakshitgondwal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The error with unit tests should be resolved after fixing these @geoffrey1330

Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
@odubajDT
Copy link
Contributor

Hello @geoffrey1330 nice work! The PR looks good, can you just please check why the integration tests are failing? Thank you

RealAnna and others added 3 commits June 12, 2023 08:41
Signed-off-by: RealAnna <89971034+RealAnna@users.noreply.github.com>
Signed-off-by: geoffrey1330 <israelgeoffrey13@gmail.com>
@sonarcloud
Copy link

sonarcloud bot commented Jun 12, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@odubajDT odubajDT merged commit 59cdfc8 into keptn:main Jun 12, 2023
36 checks passed
@odubajDT
Copy link
Contributor

Thank you for your contribution @geoffrey1330 :)

@keptn-bot keptn-bot mentioned this pull request Jun 12, 2023
StackScribe pushed a commit to StackScribe/lifecycle-toolkit that referenced this pull request Jun 19, 2023
…ython and deno runtime (keptn#1534)

Signed-off-by: RealAnna <89971034+RealAnna@users.noreply.github.com>
Co-authored-by: RealAnna <89971034+RealAnna@users.noreply.github.com>
StackScribe pushed a commit to StackScribe/lifecycle-toolkit that referenced this pull request Jun 22, 2023
…ython and deno runtime (keptn#1534)

Signed-off-by: RealAnna <89971034+RealAnna@users.noreply.github.com>
Co-authored-by: RealAnna <89971034+RealAnna@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

chore: adapt validation webhook to consider new fields for python-runtime functionality
5 participants