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

Rancher logging and Release workflow #16

Merged
merged 5 commits into from
Sep 7, 2022
Merged

Conversation

guido9j
Copy link

@guido9j guido9j commented Sep 2, 2022

Following changes:

  • cmd/arcade/arcade.go: Set Flags for logging

  • internal/rancher/client.go: Add logging when getting token fails

  • internal/rancher/client_test.go: Added 2 test cases to cover new code paths for logging

  • build.sh: Add script to build arcade (same process can now be used manually and workflow files)

  • get-dependencies.sh: Add script to get build dependencies (same process can now be used manually and workflow files)

  • docker/build.sh → docker/docker-build.sh: Rename to avoid confusion with build.sh and call get-dependencies.sh and build.sh instead of duplicating logic

  • .github/workflows/go.yml: Updated to call get-dependencies.sh and build.sh instead of duplicating logic

  • .github/workflows/release.yml: New workflow with version parameter to build docker image

* cmd/arcade/arcade.go: Set Flags for logging

* internal/rancher/client.go: Add logging when getting token fails

* internal/rancher/client_test.go: Added 2 test cases to cover new code paths for logging

* build.sh: Add script to build arcade (same process can now be used manually and workflow files)

* get-dependencies.sh: Add script to get build dependencies (same process can now be used manually and workflow files)

* docker/build.sh → docker/docker-build.sh: Rename to avoid confusion with build.sh and call get-dependencies.sh and build.sh instead of duplicating logic

* .github/workflows/go.yml: Updated to call get-dependencies.sh and build.sh instead of duplicating logic

* .github/workflows/release.yml: New workflow with version parameter to build docker image
Copy link

@victor-homedepot victor-homedepot left a comment

Choose a reason for hiding this comment

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

LGTM just one small update for clarity in the test case

@guido9j guido9j merged commit b033c46 into homedepot:master Sep 7, 2022
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.

3 participants