-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature/project description #8
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Rob Ulbrich <[email protected]>
Signed-off-by: Ulbrich Robert <[email protected]>
Signed-off-by: Ulbrich Robert <[email protected]>
Signed-off-by: Ulbrich Robert <[email protected]>
Signed-off-by: Ulbrich Robert <[email protected]>
Signed-off-by: Ulbrich Robert <[email protected]>
Signed-off-by: Ulbrich Robert <[email protected]>
.run/single-binary.run.xml
Outdated
</component> No newline at end of file | ||
</component> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where does this change come from?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Automatically changed from IntelliJ
cmd/single/start.go
Outdated
projects := []config.Project{{Name: "flytesnacks", Description: "flytesnacks project"}} | ||
if len(cfg.SeedProjects) > 0 { | ||
for _, project := range cfg.SeedProjects { | ||
projects = append(projects, config.Project{Name: project.Name, Description: project.Description}) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AFAIK it will keep "flytesnacks" even if someone defines his/her own projects, right? Previoulsy it wasn't the case
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right, I have fixed it
Signed-off-by: Ulbrich Robert <[email protected]>
Signed-off-by: Ulbrich Robert <[email protected]>
Signed-off-by: Ulbrich Robert <[email protected]>
Signed-off-by: Ulbrich Robert <[email protected]>
Signed-off-by: Ulbrich Robert <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job!
Please consider simplifying your feature branch by dropping merge commits.
@@ -73,7 +73,7 @@ func Test_tokenEndpoint(t *testing.T) { | |||
|
|||
m := map[string]interface{}{} | |||
assert.NoError(t, json.Unmarshal(rw.Body.Bytes(), &m)) | |||
assert.Equal(t, 0.5*time.Hour.Seconds()-1, m["expires_in"]) | |||
assert.GreaterOrEqual(t, m["expires_in"], 0.5*time.Hour.Seconds()-5) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Personally I would separate this using a dedicated fix but not sure if flyte guys care about
Why are the changes needed?
This change allows to set the description of a Flyte project. It could hold the responsible team for a Flyte project including the contact data or some other information.
What changes were proposed in this pull request?
flyte-core
Helm chart so they can hold a name and a description for the projectflyte-binary
and the single binary approach the structure of the Helm chart was changedHow was this patch tested?
flyteadmin migrate seed-projects
was tested with the adaptedflyte-single-binary-local.yaml
config fileSetup process
Screenshots
Check all the applicable boxes
Related PRs
Docs link