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

Refactor result visualisation #323

Merged
merged 4 commits into from
Oct 20, 2021
Merged

Conversation

olblak
Copy link
Member

@olblak olblak commented Oct 20, 2021

Refactor result visualisation

Fix #267

This pull request contains many small improvements to the consol output such

REPORTS:


✗ HUGO.YAML
	Sources:
		✔  Get netlify configuration(file)
		✔  Get the latest hugo version(githubRelease)
		✔  Get netlify configuration(file)
	Condition:
		✗  Test if docker Image klakegg/hugoPublished is available on docker Registry(dockerImage)
	Target:
		  ()
		  ()

becomes

REPORTS:


 HUGO.YAML:
	Sources:
		✔ [hugoVersion] Get the latest hugo version(githubRelease)
		✔ [hugoVersionFromNetlifyConfig] Get netlify configuration(file)
		✔ [netlifyConfig] Get netlify configuration(file)
	Condition:
		✗ [docker] Test if docker Image klakegg/hugoPublished is available on docker Registry(dockerImage)
	Target:
		- [netlifyConfig]  Get netlify configuration(file)
		- [updateDockerfileArgHelmfileVersion]  Update default HUGO_VERSION value in the Dockerfile(dockerfile)

Test

The only way to this pull request, is to build a binary and then use it in different scenarios

  go build -o bin/updatecli
  $PWD/bin/updatecli diff --config <existing file>

Additionnal Information

Signed-off-by: Olivier Vernin <olivier@vernin.me>
Signed-off-by: Olivier Vernin <olivier@vernin.me>
@olblak olblak added the enhancement New feature or request label Oct 20, 2021
@olblak olblak merged commit fc536f5 into updatecli:main Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

By default only show changelog information when available
1 participant