Skip to content

Fix dev loop#758

Merged
dgageot merged 2 commits intoGoogleContainerTools:masterfrom
dgageot:fix-dev-loop
Jun 27, 2018
Merged

Fix dev loop#758
dgageot merged 2 commits intoGoogleContainerTools:masterfrom
dgageot:fix-dev-loop

Conversation

@dgageot
Copy link
Copy Markdown
Contributor

@dgageot dgageot commented Jun 27, 2018

  • Don't exit if deploy fails after the first time
  • Run the cleanup after a build or deploy error on first run

Fixes #747, #746

dgageot added 2 commits June 27, 2018 10:20
Fixes GoogleContainerTools#747

Signed-off-by: David Gageot <david@gageot.net>
Fixes GoogleContainerTools#746

Signed-off-by: David Gageot <david@gageot.net>
if err := runDev(ctxDev, out, filename); err != nil {
logrus.Warnln("dev:", err)
logrus.Errorln("dev:", err)
cancelMainLoop()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think this is getting deferred before we enter the dev loop, does it matter that the cancel function might get called twice?

@dgageot
Copy link
Copy Markdown
Contributor Author

dgageot commented Jun 27, 2018 via email

@dgageot dgageot merged commit 7fce7e4 into GoogleContainerTools:master Jun 27, 2018
@dgageot dgageot deleted the fix-dev-loop branch December 28, 2018 07:11
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.

2 participants