returnfmt.Errorf("failed to copy %q: %v Output: %q",bin,err,out)
}
}
// Include the GCI mounter artifacts in the deployed tarball
k8sDir,err:=builder.GetK8sRootDir()
iferr!=nil{
returnfmt.Errorf("Could not find K8s root dir! Err: %v",err)
}
localSource:="cluster/gce/gci/mounter/mounter"
source:=filepath.Join(k8sDir,localSource)
// Require the GCI mounter script, we want to make sure the remote test runner stays up to date if the mounter file moves
if_,err:=os.Stat(source);err!=nil{
returnfmt.Errorf("Could not find GCI mounter script at %q! If this script has been (re)moved, please update the e2e node remote test runner accordingly! Err: %v",source,err)
return"",fmt.Errorf("failed to copy %q: %v Output: %q",bin,err,out)
}
}
// Include the GCI mounter artifacts in the deployed tarball
k8sDir,err:=builder.GetK8sRootDir()
// Call the suite function to setup the test package.
err=suite.SetupTestPackage(tardir)
iferr!=nil{
return"",fmt.Errorf("Could not find K8s root dir! Err: %v",err)
}
localSource:="cluster/gce/gci/mounter/mounter"
source:=filepath.Join(k8sDir,localSource)
// Require the GCI mounter script, we want to make sure the remote test runner stays up to date if the mounter file moves
if_,err:=os.Stat(source);err!=nil{
return"",fmt.Errorf("Could not find GCI mounter script at %q! If this script has been (re)moved, please update the e2e node remote test runner accordingly! Err: %v",source,err)