From 81254cdf7a3b17d78de7d5e8f0a8463aa4927097 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Fri, 6 Jan 2023 15:40:03 +0100 Subject: [PATCH] Limit run regex for generated workflows Signed-off-by: Kristoffer Dalby --- .../test-integration-v2-TestAuthKeyLogoutAndRelogin.yaml | 2 +- ...est-integration-v2-TestAuthWebFlowAuthenticationPingAll.yaml | 2 +- .../test-integration-v2-TestAuthWebFlowLogoutAndRelogin.yaml | 2 +- .github/workflows/test-integration-v2-TestCreateTailscale.yaml | 2 +- .github/workflows/test-integration-v2-TestEnablingRoutes.yaml | 2 +- .github/workflows/test-integration-v2-TestHeadscale.yaml | 2 +- .github/workflows/test-integration-v2-TestNamespaceCommand.yaml | 2 +- .../test-integration-v2-TestOIDCAuthenticationPingAll.yaml | 2 +- .github/workflows/test-integration-v2-TestOIDCExpireNodes.yaml | 2 +- .../workflows/test-integration-v2-TestPingAllByHostname.yaml | 2 +- .github/workflows/test-integration-v2-TestPingAllByIP.yaml | 2 +- .../workflows/test-integration-v2-TestPreAuthKeyCommand.yaml | 2 +- ...t-integration-v2-TestPreAuthKeyCommandReusableEphemeral.yaml | 2 +- .../test-integration-v2-TestPreAuthKeyCommandWithoutExpiry.yaml | 2 +- .github/workflows/test-integration-v2-TestResolveMagicDNS.yaml | 2 +- .../workflows/test-integration-v2-TestSSHIsBlockedInACL.yaml | 2 +- .../test-integration-v2-TestSSHMultipleNamespacesAllToAll.yaml | 2 +- .../workflows/test-integration-v2-TestSSHNoSSHConfigured.yaml | 2 +- .../test-integration-v2-TestSSHOneNamespaceAllToAll.yaml | 2 +- .../test-integration-v2-TestSSNamespaceOnlyIsolation.yaml | 2 +- .github/workflows/test-integration-v2-TestTaildrop.yaml | 2 +- .../test-integration-v2-TestTailscaleNodesJoiningHeadcale.yaml | 2 +- cmd/gh-action-integration-generator/main.go | 2 +- 23 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/test-integration-v2-TestAuthKeyLogoutAndRelogin.yaml b/.github/workflows/test-integration-v2-TestAuthKeyLogoutAndRelogin.yaml index 383595f9..2a7fc9bf 100644 --- a/.github/workflows/test-integration-v2-TestAuthKeyLogoutAndRelogin.yaml +++ b/.github/workflows/test-integration-v2-TestAuthKeyLogoutAndRelogin.yaml @@ -44,4 +44,4 @@ jobs: -failfast \ -timeout 120m \ -parallel 1 \ - -run TestAuthKeyLogoutAndRelogin + -run "^TestAuthKeyLogoutAndRelogin$" diff --git a/.github/workflows/test-integration-v2-TestAuthWebFlowAuthenticationPingAll.yaml b/.github/workflows/test-integration-v2-TestAuthWebFlowAuthenticationPingAll.yaml index 4a319da0..9289c5ea 100644 --- a/.github/workflows/test-integration-v2-TestAuthWebFlowAuthenticationPingAll.yaml +++ b/.github/workflows/test-integration-v2-TestAuthWebFlowAuthenticationPingAll.yaml @@ -44,4 +44,4 @@ jobs: -failfast \ -timeout 120m \ -parallel 1 \ - -run TestAuthWebFlowAuthenticationPingAll + -run "^TestAuthWebFlowAuthenticationPingAll$" diff --git a/.github/workflows/test-integration-v2-TestAuthWebFlowLogoutAndRelogin.yaml b/.github/workflows/test-integration-v2-TestAuthWebFlowLogoutAndRelogin.yaml index 7cbeaf1f..b7708682 100644 --- a/.github/workflows/test-integration-v2-TestAuthWebFlowLogoutAndRelogin.yaml +++ b/.github/workflows/test-integration-v2-TestAuthWebFlowLogoutAndRelogin.yaml @@ -44,4 +44,4 @@ jobs: -failfast \ -timeout 120m \ -parallel 1 \ - -run TestAuthWebFlowLogoutAndRelogin + -run "^TestAuthWebFlowLogoutAndRelogin$" diff --git a/.github/workflows/test-integration-v2-TestCreateTailscale.yaml b/.github/workflows/test-integration-v2-TestCreateTailscale.yaml index 229d4e90..c963e893 100644 --- a/.github/workflows/test-integration-v2-TestCreateTailscale.yaml +++ b/.github/workflows/test-integration-v2-TestCreateTailscale.yaml @@ -44,4 +44,4 @@ jobs: -failfast \ -timeout 120m \ -parallel 1 \ - -run TestCreateTailscale + -run "^TestCreateTailscale$" diff --git a/.github/workflows/test-integration-v2-TestEnablingRoutes.yaml b/.github/workflows/test-integration-v2-TestEnablingRoutes.yaml index aff4348d..9c8a878d 100644 --- a/.github/workflows/test-integration-v2-TestEnablingRoutes.yaml +++ b/.github/workflows/test-integration-v2-TestEnablingRoutes.yaml @@ -44,4 +44,4 @@ jobs: -failfast \ -timeout 120m \ -parallel 1 \ - -run TestEnablingRoutes + -run "^TestEnablingRoutes$" diff --git a/.github/workflows/test-integration-v2-TestHeadscale.yaml b/.github/workflows/test-integration-v2-TestHeadscale.yaml index 9e92c272..6ad2bf28 100644 --- a/.github/workflows/test-integration-v2-TestHeadscale.yaml +++ b/.github/workflows/test-integration-v2-TestHeadscale.yaml @@ -44,4 +44,4 @@ jobs: -failfast \ -timeout 120m \ -parallel 1 \ - -run TestHeadscale + -run "^TestHeadscale$" diff --git a/.github/workflows/test-integration-v2-TestNamespaceCommand.yaml b/.github/workflows/test-integration-v2-TestNamespaceCommand.yaml index 3a9b5d59..489f8e6c 100644 --- a/.github/workflows/test-integration-v2-TestNamespaceCommand.yaml +++ b/.github/workflows/test-integration-v2-TestNamespaceCommand.yaml @@ -44,4 +44,4 @@ jobs: -failfast \ -timeout 120m \ -parallel 1 \ - -run TestNamespaceCommand + -run "^TestNamespaceCommand$" diff --git a/.github/workflows/test-integration-v2-TestOIDCAuthenticationPingAll.yaml b/.github/workflows/test-integration-v2-TestOIDCAuthenticationPingAll.yaml index 615bf355..3f40c7ed 100644 --- a/.github/workflows/test-integration-v2-TestOIDCAuthenticationPingAll.yaml +++ b/.github/workflows/test-integration-v2-TestOIDCAuthenticationPingAll.yaml @@ -44,4 +44,4 @@ jobs: -failfast \ -timeout 120m \ -parallel 1 \ - -run TestOIDCAuthenticationPingAll + -run "^TestOIDCAuthenticationPingAll$" diff --git a/.github/workflows/test-integration-v2-TestOIDCExpireNodes.yaml b/.github/workflows/test-integration-v2-TestOIDCExpireNodes.yaml index 3126b177..365e3335 100644 --- a/.github/workflows/test-integration-v2-TestOIDCExpireNodes.yaml +++ b/.github/workflows/test-integration-v2-TestOIDCExpireNodes.yaml @@ -44,4 +44,4 @@ jobs: -failfast \ -timeout 120m \ -parallel 1 \ - -run TestOIDCExpireNodes + -run "^TestOIDCExpireNodes$" diff --git a/.github/workflows/test-integration-v2-TestPingAllByHostname.yaml b/.github/workflows/test-integration-v2-TestPingAllByHostname.yaml index b74a8b26..5e282363 100644 --- a/.github/workflows/test-integration-v2-TestPingAllByHostname.yaml +++ b/.github/workflows/test-integration-v2-TestPingAllByHostname.yaml @@ -44,4 +44,4 @@ jobs: -failfast \ -timeout 120m \ -parallel 1 \ - -run TestPingAllByHostname + -run "^TestPingAllByHostname$" diff --git a/.github/workflows/test-integration-v2-TestPingAllByIP.yaml b/.github/workflows/test-integration-v2-TestPingAllByIP.yaml index 673e3c62..ad153058 100644 --- a/.github/workflows/test-integration-v2-TestPingAllByIP.yaml +++ b/.github/workflows/test-integration-v2-TestPingAllByIP.yaml @@ -44,4 +44,4 @@ jobs: -failfast \ -timeout 120m \ -parallel 1 \ - -run TestPingAllByIP + -run "^TestPingAllByIP$" diff --git a/.github/workflows/test-integration-v2-TestPreAuthKeyCommand.yaml b/.github/workflows/test-integration-v2-TestPreAuthKeyCommand.yaml index 712f35bf..287a5e11 100644 --- a/.github/workflows/test-integration-v2-TestPreAuthKeyCommand.yaml +++ b/.github/workflows/test-integration-v2-TestPreAuthKeyCommand.yaml @@ -44,4 +44,4 @@ jobs: -failfast \ -timeout 120m \ -parallel 1 \ - -run TestPreAuthKeyCommand + -run "^TestPreAuthKeyCommand$" diff --git a/.github/workflows/test-integration-v2-TestPreAuthKeyCommandReusableEphemeral.yaml b/.github/workflows/test-integration-v2-TestPreAuthKeyCommandReusableEphemeral.yaml index defb509e..9bb80b75 100644 --- a/.github/workflows/test-integration-v2-TestPreAuthKeyCommandReusableEphemeral.yaml +++ b/.github/workflows/test-integration-v2-TestPreAuthKeyCommandReusableEphemeral.yaml @@ -44,4 +44,4 @@ jobs: -failfast \ -timeout 120m \ -parallel 1 \ - -run TestPreAuthKeyCommandReusableEphemeral + -run "^TestPreAuthKeyCommandReusableEphemeral$" diff --git a/.github/workflows/test-integration-v2-TestPreAuthKeyCommandWithoutExpiry.yaml b/.github/workflows/test-integration-v2-TestPreAuthKeyCommandWithoutExpiry.yaml index 2f8a8654..6aaca0ec 100644 --- a/.github/workflows/test-integration-v2-TestPreAuthKeyCommandWithoutExpiry.yaml +++ b/.github/workflows/test-integration-v2-TestPreAuthKeyCommandWithoutExpiry.yaml @@ -44,4 +44,4 @@ jobs: -failfast \ -timeout 120m \ -parallel 1 \ - -run TestPreAuthKeyCommandWithoutExpiry + -run "^TestPreAuthKeyCommandWithoutExpiry$" diff --git a/.github/workflows/test-integration-v2-TestResolveMagicDNS.yaml b/.github/workflows/test-integration-v2-TestResolveMagicDNS.yaml index 7a65ec89..aa76c5cc 100644 --- a/.github/workflows/test-integration-v2-TestResolveMagicDNS.yaml +++ b/.github/workflows/test-integration-v2-TestResolveMagicDNS.yaml @@ -44,4 +44,4 @@ jobs: -failfast \ -timeout 120m \ -parallel 1 \ - -run TestResolveMagicDNS + -run "^TestResolveMagicDNS$" diff --git a/.github/workflows/test-integration-v2-TestSSHIsBlockedInACL.yaml b/.github/workflows/test-integration-v2-TestSSHIsBlockedInACL.yaml index c4898295..8c70ea41 100644 --- a/.github/workflows/test-integration-v2-TestSSHIsBlockedInACL.yaml +++ b/.github/workflows/test-integration-v2-TestSSHIsBlockedInACL.yaml @@ -44,4 +44,4 @@ jobs: -failfast \ -timeout 120m \ -parallel 1 \ - -run TestSSHIsBlockedInACL + -run "^TestSSHIsBlockedInACL$" diff --git a/.github/workflows/test-integration-v2-TestSSHMultipleNamespacesAllToAll.yaml b/.github/workflows/test-integration-v2-TestSSHMultipleNamespacesAllToAll.yaml index 6a186bcf..79bc9766 100644 --- a/.github/workflows/test-integration-v2-TestSSHMultipleNamespacesAllToAll.yaml +++ b/.github/workflows/test-integration-v2-TestSSHMultipleNamespacesAllToAll.yaml @@ -44,4 +44,4 @@ jobs: -failfast \ -timeout 120m \ -parallel 1 \ - -run TestSSHMultipleNamespacesAllToAll + -run "^TestSSHMultipleNamespacesAllToAll$" diff --git a/.github/workflows/test-integration-v2-TestSSHNoSSHConfigured.yaml b/.github/workflows/test-integration-v2-TestSSHNoSSHConfigured.yaml index adeeba33..8480379f 100644 --- a/.github/workflows/test-integration-v2-TestSSHNoSSHConfigured.yaml +++ b/.github/workflows/test-integration-v2-TestSSHNoSSHConfigured.yaml @@ -44,4 +44,4 @@ jobs: -failfast \ -timeout 120m \ -parallel 1 \ - -run TestSSHNoSSHConfigured + -run "^TestSSHNoSSHConfigured$" diff --git a/.github/workflows/test-integration-v2-TestSSHOneNamespaceAllToAll.yaml b/.github/workflows/test-integration-v2-TestSSHOneNamespaceAllToAll.yaml index 134ac3b6..69d775d2 100644 --- a/.github/workflows/test-integration-v2-TestSSHOneNamespaceAllToAll.yaml +++ b/.github/workflows/test-integration-v2-TestSSHOneNamespaceAllToAll.yaml @@ -44,4 +44,4 @@ jobs: -failfast \ -timeout 120m \ -parallel 1 \ - -run TestSSHOneNamespaceAllToAll + -run "^TestSSHOneNamespaceAllToAll$" diff --git a/.github/workflows/test-integration-v2-TestSSNamespaceOnlyIsolation.yaml b/.github/workflows/test-integration-v2-TestSSNamespaceOnlyIsolation.yaml index 46032672..6cf23627 100644 --- a/.github/workflows/test-integration-v2-TestSSNamespaceOnlyIsolation.yaml +++ b/.github/workflows/test-integration-v2-TestSSNamespaceOnlyIsolation.yaml @@ -44,4 +44,4 @@ jobs: -failfast \ -timeout 120m \ -parallel 1 \ - -run TestSSNamespaceOnlyIsolation + -run "^TestSSNamespaceOnlyIsolation$" diff --git a/.github/workflows/test-integration-v2-TestTaildrop.yaml b/.github/workflows/test-integration-v2-TestTaildrop.yaml index 8c3298ca..7bf0268d 100644 --- a/.github/workflows/test-integration-v2-TestTaildrop.yaml +++ b/.github/workflows/test-integration-v2-TestTaildrop.yaml @@ -44,4 +44,4 @@ jobs: -failfast \ -timeout 120m \ -parallel 1 \ - -run TestTaildrop + -run "^TestTaildrop$" diff --git a/.github/workflows/test-integration-v2-TestTailscaleNodesJoiningHeadcale.yaml b/.github/workflows/test-integration-v2-TestTailscaleNodesJoiningHeadcale.yaml index 026fc8ea..4e15f256 100644 --- a/.github/workflows/test-integration-v2-TestTailscaleNodesJoiningHeadcale.yaml +++ b/.github/workflows/test-integration-v2-TestTailscaleNodesJoiningHeadcale.yaml @@ -44,4 +44,4 @@ jobs: -failfast \ -timeout 120m \ -parallel 1 \ - -run TestTailscaleNodesJoiningHeadcale + -run "^TestTailscaleNodesJoiningHeadcale$" diff --git a/cmd/gh-action-integration-generator/main.go b/cmd/gh-action-integration-generator/main.go index 8e98bc36..72bffa17 100644 --- a/cmd/gh-action-integration-generator/main.go +++ b/cmd/gh-action-integration-generator/main.go @@ -58,7 +58,7 @@ jobs: -failfast \ -timeout 120m \ -parallel 1 \ - -run {{.Name}} + -run "^{{.Name}}$" `)) )