@@ -71,8 +71,7 @@ func RunCreateTestRepo(ctx context.Context, candidate string, testRepo string, r
7171 target := fmt .Sprintf ("%s-%s" , candidate , testRepo )
7272
7373 creator := repo .NewGithub (githubClient )
74-
75- logger .Info ("Creating repository..." )
74+ logger .Infof ("Creating repository %s/%s..." , org , target )
7675 _ , err = creator .CreateRepo (ctx , org , & github.Repository {
7776 Name : github .String (target ),
7877 Private : github .Bool (true ),
@@ -84,7 +83,7 @@ func RunCreateTestRepo(ctx context.Context, candidate string, testRepo string, r
8483 return errwrap .Wrapf ("could not create github repo for candidate: {{err}}" , err )
8584 }
8685
87- logger .Info ("Adding collaborators to repository..." )
86+ logger .Infof ("Adding %s as collaborator to %s/%s" , candidate , org , target )
8887 collaboratorsOpts := []* config.Collaborator {
8988 & config.Collaborator {
9089 Username : candidate ,
@@ -106,12 +105,16 @@ func RunCreateTestRepo(ctx context.Context, candidate string, testRepo string, r
106105 return errwrap .Wrapf ("error cloning to repository: {{err}}" , err )
107106 }
108107
108+ logger .Debugf ("Repository %s/%s cloned" , org , testRepo )
109+
109110 logger .Info ("Changing remote..." )
110111 remote , err := r .Remote (git .DefaultRemoteName )
111112 if err != nil {
112113 return errwrap .Wrapf ("error changing remote for repository: {{err}}" , err )
113114 }
114115
116+ logger .Debugf ("Remote on %s/%s changed to %s" , org , testRepo , git .DefaultRemoteName )
117+
115118 logger .Info ("Pushing changes..." )
116119 remote .
Config ().
URLs = []
string {
fmt .
Sprintf (
"https://%[email protected] /%s/%s" ,
cfg .
GithubTestOrg .
Token ,
org ,
target )}
117120 err = remote .Push (& git.PushOptions {
0 commit comments