feat(provider): Added additional logging
Some checks failed
build / build (push) Successful in 44s
Go Tests / go-tests (push) Failing after 1m6s

This commit is contained in:
Patrick Sy 2025-10-23 14:40:33 +02:00
parent 1d8d725fc3
commit 5ee04cd131
Signed by: Patrick.Sy
GPG key ID: DDDC8EC51823195E

View file

@ -79,8 +79,8 @@ type edgeConnectProvider struct {
// CreateInstance creates a new compute instance in the provider.
func (a *edgeConnectProvider) CreateInstance(ctx context.Context, bootstrapParams params.BootstrapInstance) (params.ProviderInstance, error) {
log.Printf("Executing CreateInstance with %v\n", bootstrapParams)
log.Printf("Executing CreateInstance with RepoURL %v\n", bootstrapParams.RepoURL)
log.Printf("Executing CreateInstance with ExtraSpecs %s\n", bootstrapParams.ExtraSpecs)
instancename := fmt.Sprintf("garm-%v-%v", bootstrapParams.PoolID[:8], strings.ToLower(bootstrapParams.Name))
@ -91,6 +91,8 @@ func (a *edgeConnectProvider) CreateInstance(ctx context.Context, bootstrapParam
podSpec := spec.GetPodSpec(gitHubScopeDetails, bootstrapParams)
log.Printf("Executing CreateInstance with PodSpec %v\n", &podSpec)
deployment := appsv1.Deployment{
TypeMeta: metav1.TypeMeta{
Kind: "Deployment",