add testing functions
@@ -344,6 +344,13 @@ func TestExpectedBuildFailures(t *testing.T) {
}
func TestBuildKanikoInsecureRegistry(t *testing.T) {
+ if testing.Short() {
+ t.Skip("skipping integration test")
+ }
+ if ShouldRunGCPOnlyTests() {
+ t.Skip("skipping test that is not gcp only")
+ }
+
ns, k8sClient, cleanupNs := SetupNamespace(t)
defer cleanupNs()
