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 383595f..2a7fc9b 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 4a319da..9289c5e 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 7cbeaf1..b770868 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 229d4e9..c963e89 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 aff4348..9c8a878 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 9e92c27..6ad2bf2 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 3a9b5d5..489f8e6 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 615bf35..3f40c7e 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 3126b17..365e333 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 b74a8b2..5e28236 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 673e3c6..ad15305 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 712f35b..287a5e1 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 defb509..9bb80b7 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 2f8a865..6aaca0e 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 7a65ec8..aa76c5c 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 c489829..8c70ea4 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 6a186bc..79bc976 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 adeeba3..8480379 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 134ac3b..69d775d 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 4603267..6cf2362 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 8c3298c..7bf0268 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 026fc8e..4e15f25 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 8e98bc3..72bffa1 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}}$" `)) )