Create clone creds for repo update

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
This commit is contained in:
Gabriel Adrian Samfira 2024-04-24 11:39:20 +00:00
parent f5682e6323
commit c2b974dfa0

View file

@ -1,6 +1,8 @@
package e2e
import (
"fmt"
"github.com/cloudbase/garm/params"
)
@ -15,4 +17,7 @@ func EnsureTestCredentials(name string, oauthToken string, endpointName string)
},
}
CreateGithubCredentials(createCredsParams)
createCredsParams.Name = fmt.Sprintf("%s-clone", name)
CreateGithubCredentials(createCredsParams)
}