-
Notifications
You must be signed in to change notification settings - Fork 5
fix: Complete Schematics migration cleanup and add comprehensive tests #1063
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
Conversation
cloudinfo/schematics.go
Outdated
| workspaceID string, | ||
| jobID string, | ||
| location string, | ||
| logger commonpkg.Logger, |
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.
Instead of passing logger should we use CloudInfoService.Logger ?
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.
Many functions in cloudinfo/schematics.go that take logger as a parameter
|
|
||
| // GetRefreshToken will use a previously established Authenticator to create a new IAM Token object, | ||
| // if existing is not valid, and return the refresh token propery from the token object. | ||
| func (svc *SchematicsTestService) GetRefreshToken() (string, error) { |
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.
think this is no longer used
|
schematics authenticates using the We're getting:
Update: Update: Tested update to cloudInfo authenticator adding |
|
/run pipeline |
|
🎉 This PR is included in version 1.60.23 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |

Description
Release required?
x.x.X)x.X.x)X.x.x)Release notes content
Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
Checklist for reviewers
For mergers