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

support license with DB backed Kong gateways #5648

Merged
merged 6 commits into from
Apr 8, 2024

Conversation

randmonkey
Copy link
Contributor

@randmonkey randmonkey commented Feb 22, 2024

What this PR does / why we need it:

Bump go-database-reconciler to enable sync of licenses with DB backed Kong gateways.
Also enables the test on licenses in isolated integration tests.

Which issue this PR fixes:

fixes #5644

Special notes for your reviewer:

PR Readiness Checklist:

Complete these before marking the PR as ready to review:

  • the CHANGELOG.md release notes have been updated to reflect any significant (and particularly user-facing) changes introduced by this PR

@randmonkey randmonkey requested a review from a team as a code owner February 22, 2024 09:11
@randmonkey randmonkey marked this pull request as draft February 22, 2024 09:11
@randmonkey randmonkey added this to the KIC v3.1.x milestone Feb 22, 2024
@randmonkey randmonkey changed the title Fix/support license in postgres support license with DB backed Kong gateways Feb 22, 2024
Copy link

codecov bot commented Feb 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.0%. Comparing base (510c9ab) to head (b231646).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##            main   #5648     +/-   ##
=======================================
+ Coverage   73.8%   74.0%   +0.1%     
=======================================
  Files        176     176             
  Lines      18210   18212      +2     
=======================================
+ Hits       13455   13478     +23     
+ Misses      3753    3734     -19     
+ Partials    1002    1000      -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@randmonkey randmonkey force-pushed the fix/support_license_in_postgres branch 2 times, most recently from e399849 to 5846c2f Compare March 4, 2024 03:22
@randmonkey randmonkey force-pushed the fix/support_license_in_postgres branch 3 times, most recently from a28d3ab to 6059008 Compare April 2, 2024 07:22
@pull-request-size pull-request-size bot added size/M and removed size/S labels Apr 2, 2024
@randmonkey randmonkey force-pushed the fix/support_license_in_postgres branch from 6059008 to 16139ec Compare April 8, 2024 03:21
@randmonkey randmonkey force-pushed the fix/support_license_in_postgres branch from 16139ec to b231646 Compare April 8, 2024 03:30
@randmonkey randmonkey marked this pull request as ready for review April 8, 2024 03:33
@randmonkey randmonkey merged commit 431a5bc into main Apr 8, 2024
39 checks passed
@randmonkey randmonkey deleted the fix/support_license_in_postgres branch April 8, 2024 09:55
@wombat
Copy link

wombat commented May 6, 2024

When will this finally be released?

@team-k8s-bot
Copy link
Collaborator

The backport to release/3.1.x failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-release/3.1.x release/3.1.x
# Navigate to the new working tree
cd .worktrees/backport-release/3.1.x
# Create a new branch
git switch --create backport-5648-to-release/3.1.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 431a5bc44b8fcb5be448846a8687f7a5d5c4fe3b
# Push it to GitHub
git push --set-upstream origin backport-5648-to-release/3.1.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-release/3.1.x

Then, create a pull request where the base branch is release/3.1.x and the compare/head branch is backport-5648-to-release/3.1.x.

randmonkey added a commit that referenced this pull request May 9, 2024
* update gdr

* enable license test when db backed

* run go mod tidy and update ut

* set IncludeLicense to true

* update gdr

* update dumpConfig and update CHANGELOG

(cherry picked from commit 431a5bc)
randmonkey added a commit that referenced this pull request May 10, 2024
…#5990)

* support license with DB backed Kong gateways (#5648)

* update gdr

* enable license test when db backed

* run go mod tidy and update ut

* set IncludeLicense to true

* update gdr

* update dumpConfig and update CHANGELOG

(cherry picked from commit 431a5bc)

* fix go.mod and update CHANGELOG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot apply licenses to DB backed Kong gateways
4 participants