Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Move list yaml splitting to render #712

Merged
merged 10 commits into from
Nov 19, 2018
Merged

Conversation

Rob0h
Copy link
Contributor

@Rob0h Rob0h commented Nov 17, 2018

What I Did

  • Move list yaml splitting to render

How I Did it

  • Removed usage of rootFs to ensure proper location of overlays
  • Created a pre execution lifecycle step to be run prior to execution

How to verify it

  • Integration for jaeger and cassandra, included as github assets

Description for the Changelog

  • Move list yaml splitting to render

Picture of a Boat (not required but encouraged)

🛶

Copy link
Contributor

@ebramanti ebramanti left a comment

Choose a reason for hiding this comment

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

If tests pass, :shipit:

@@ -194,6 +196,7 @@ func TestDaemonAPI(t *testing.T) {

for _, test := range tests {
t.Run(test.name, func(t *testing.T) {
fmt.Println("name", test.name)
Copy link
Contributor

Choose a reason for hiding this comment

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

Kill this

@@ -26,6 +27,16 @@ func (d *NavcycleRoutes) getStep(c *gin.Context) {
return
}

if preExecuteFunc, exists := d.PreExecuteFuncMap[step.ShortName()]; exists {
if err := preExecuteFunc(context.Background(), step); err != nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we be using background context here? What do these preExecuteFuncs do?

Copy link
Contributor

Choose a reason for hiding this comment

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

OK, looks like your current use of this does not use context yet, but this is still worth considering before we merge.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

discussed irl - background context from the request handler is passed to pre execute funcs

@Rob0h Rob0h merged commit 7c07a65 into replicatedhq:master Nov 19, 2018
@Rob0h Rob0h deleted the fix/list branch November 19, 2018 18:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants