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(ext): add support for flag type and rollout definitions #1826

Merged
merged 17 commits into from
Jul 7, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/testing/integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ func importExport(ctx context.Context, _ *dagger.Client, base, flipt *dagger.Con

diff := cmp.Diff(expected, generated)
if diff != "" {
fmt.Printf("Unexpected difference in %q exported output:\n", conf.name)
fmt.Printf("Unexpected difference in %q exported output: \n", conf.name)
fmt.Println(diff)
return errors.New("exported yaml did not match")
}
Expand Down
2 changes: 1 addition & 1 deletion build/testing/integration/readonly/readonly_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func TestReadOnly(t *testing.T) {
require.NoError(t, err)

if flags.NextPageToken == "" {
// ensure last page contains 2 entres (boolean and disabled)
// ensure last page contains 2 entries (boolean and disabled)
assert.Len(t, flags.Flags, 2)

found = append(found, flags.Flags...)
Expand Down
2 changes: 1 addition & 1 deletion build/testing/migration.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func Migration(ctx context.Context, client *dagger.Client, base, flipt *dagger.C

// import testdata into latest Flipt instance
_, err = flipt.
WithFile("import.yaml", base.File("build/testing/integration/readonly/testdata/default.yaml")).
WithFile("import.yaml", base.File("build/testing/testdata/migration/default.yaml")).
WithServiceBinding("flipt", latest.WithExec(nil)).
WithExec([]string{"/flipt", "import", "--address", "grpc://flipt:9000", "import.yaml"}).
Sync(ctx)
Expand Down
Loading
Loading