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(oci): integrate new FS backend into Flipt #2359

Merged
merged 5 commits into from
Nov 10, 2023
Merged

Conversation

GeorgeMac
Copy link
Contributor

@GeorgeMac GeorgeMac commented Nov 9, 2023

Fixes FLI-663

This the last PR to add the OCI backend to Flipt.
It installs the new OCI storage into the main Flipt process.
It also includes the wiring to add the OCI integration test suite to dagger and the associated GH workflow.

Copy link
Contributor

github-actions bot commented Nov 9, 2023

Uffizzi Preview deployment-40493 was deleted.

Copy link

codecov bot commented Nov 9, 2023

Codecov Report

Merging #2359 (6392ef8) into gm/fs-oci (b22f5f0) will decrease coverage by 0.13%.
The diff coverage is 28.00%.

@@              Coverage Diff              @@
##           gm/fs-oci    #2359      +/-   ##
=============================================
- Coverage      70.70%   70.58%   -0.13%     
=============================================
  Files             81       81              
  Lines           7941     7956      +15     
=============================================
+ Hits            5615     5616       +1     
- Misses          1982     1996      +14     
  Partials         344      344              
Files Coverage Δ
internal/oci/file.go 63.49% <80.00%> (+1.14%) ⬆️
internal/config/storage.go 81.03% <52.63%> (-5.84%) ⬇️
internal/cmd/grpc.go 8.31% <0.00%> (-0.37%) ⬇️

... and 1 file with indirect coverage changes

📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

Base automatically changed from gm/bundles-push-pull to gm/fs-oci November 9, 2023 18:16
@GeorgeMac GeorgeMac marked this pull request as ready for review November 9, 2023 18:20
@GeorgeMac GeorgeMac requested a review from a team as a code owner November 9, 2023 18:20
Copy link
Contributor

@yquansah yquansah left a comment

Choose a reason for hiding this comment

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

Awesome man!

@@ -60,7 +62,15 @@ func (c *StorageConfig) setDefaults(v *viper.Viper) error {
v.SetDefault("storage.object.s3.poll_interval", "1m")
}
case string(OCIStorageType):
Copy link
Collaborator

Choose a reason for hiding this comment

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

do we need to update the JSON and cue schemas as well for this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah yes, thank you!

Copy link
Collaborator

@markphelps markphelps left a comment

Choose a reason for hiding this comment

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

Looks great. 👍🏻 would you mind updating the config schemas also?

@GeorgeMac GeorgeMac merged commit 84806a1 into gm/fs-oci Nov 10, 2023
26 of 28 checks passed
@GeorgeMac GeorgeMac deleted the gm/oci-integrate branch November 10, 2023 11:51
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.

3 participants