diff --git a/cmd/deploytarget.go b/cmd/deploytarget.go index e1025b33..4dfe254a 100644 --- a/cmd/deploytarget.go +++ b/cmd/deploytarget.go @@ -3,6 +3,8 @@ package cmd import ( "context" "fmt" + "strconv" + "github.com/spf13/cobra" "github.com/uselagoon/lagoon-cli/internal/lagoon" "github.com/uselagoon/lagoon-cli/internal/lagoon/client" @@ -11,7 +13,6 @@ import ( l "github.com/uselagoon/machinery/api/lagoon" lclient "github.com/uselagoon/machinery/api/lagoon/client" s "github.com/uselagoon/machinery/api/schema" - "strconv" ) var addDeployTargetCmd = &cobra.Command{ @@ -353,6 +354,7 @@ var addDeployTargetToOrganizationCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) @@ -410,6 +412,7 @@ var RemoveDeployTargetFromOrganizationCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) diff --git a/cmd/deploytargetconfig.go b/cmd/deploytargetconfig.go index ad0dfcf8..46fdb7ea 100644 --- a/cmd/deploytargetconfig.go +++ b/cmd/deploytargetconfig.go @@ -3,6 +3,7 @@ package cmd import ( "context" "fmt" + l "github.com/uselagoon/machinery/api/lagoon" lclient "github.com/uselagoon/machinery/api/lagoon/client" s "github.com/uselagoon/machinery/api/schema" @@ -61,6 +62,7 @@ var addDeployTargetConfigCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) project, err := l.GetMinimalProjectByName(context.TODO(), cmdProjectName, lc) diff --git a/cmd/environment.go b/cmd/environment.go index 75bc481a..d837aab1 100644 --- a/cmd/environment.go +++ b/cmd/environment.go @@ -3,10 +3,11 @@ package cmd import ( "context" "fmt" - s "github.com/uselagoon/machinery/api/schema" "os" "strings" + s "github.com/uselagoon/machinery/api/schema" + "github.com/spf13/cobra" "github.com/spf13/pflag" "github.com/uselagoon/lagoon-cli/internal/lagoon" @@ -104,6 +105,7 @@ var updateEnvironmentCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) project, err := l.GetMinimalProjectByName(context.TODO(), cmdProjectName, lc) diff --git a/cmd/get.go b/cmd/get.go index acf45c71..6f067d99 100644 --- a/cmd/get.go +++ b/cmd/get.go @@ -65,6 +65,7 @@ var getProjectCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) @@ -148,6 +149,7 @@ This returns information about a deployment, the logs of this build can also be lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) deployment, err := l.GetDeploymentByName(context.TODO(), cmdProjectName, cmdProjectEnvironment, buildName, showLogs, lc) @@ -279,6 +281,7 @@ var getOrganizationCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) organization, err := l.GetOrganizationByName(context.TODO(), organizationName, lc) diff --git a/cmd/groups.go b/cmd/groups.go index 1dedda77..0846ac92 100644 --- a/cmd/groups.go +++ b/cmd/groups.go @@ -4,11 +4,12 @@ import ( "context" "encoding/json" "fmt" + "os" + "strings" + l "github.com/uselagoon/machinery/api/lagoon" lclient "github.com/uselagoon/machinery/api/lagoon/client" s "github.com/uselagoon/machinery/api/schema" - "os" - "strings" "github.com/spf13/cobra" "github.com/spf13/pflag" @@ -266,6 +267,7 @@ var addGroupToOrganizationCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) diff --git a/cmd/list.go b/cmd/list.go index 6ae097d2..090dde61 100644 --- a/cmd/list.go +++ b/cmd/list.go @@ -208,6 +208,7 @@ var listEnvironmentsCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) environments, err := l.GetEnvironmentsByProjectName(context.TODO(), cmdProjectName, lc) @@ -395,6 +396,7 @@ Without a group name, this query may time out in large Lagoon installs.`, lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) data := []output.Data{} @@ -461,6 +463,7 @@ This query can take a long time to run if there are a lot of users.`, lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) allUsers, err := l.AllUsers(context.TODO(), ls.AllUsersFilter{ @@ -513,6 +516,7 @@ var listUsersGroupsCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) allUsers, err := l.GetUserByEmail(context.TODO(), emailAddress, lc) @@ -607,6 +611,7 @@ var listProjectGroupsCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) projectGroups, err := l.GetProjectGroups(context.TODO(), cmdProjectName, lc) @@ -671,6 +676,7 @@ var listOrganizationProjectsCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) @@ -724,6 +730,7 @@ var listOrganizationGroupsCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) @@ -784,6 +791,7 @@ var listOrganizationDeployTargetsCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) deployTargets, err := l.ListDeployTargetsByOrganizationNameOrID(context.TODO(), nullStrCheck(organizationName), nullUintCheck(organizationID), lc) @@ -839,6 +847,7 @@ var ListOrganizationUsersCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) organization, err := l.GetOrganizationByName(context.Background(), organizationName, lc) @@ -884,6 +893,7 @@ var listOrganizationsCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) diff --git a/cmd/login.go b/cmd/login.go index 3152b28b..30e5dd01 100644 --- a/cmd/login.go +++ b/cmd/login.go @@ -78,6 +78,9 @@ func loginToken() error { if err = writeLagoonConfig(&lagoonCLIConfig, filepath.Join(configFilePath, configName+configExtension)); err != nil { return fmt.Errorf("couldn't write config: %v", err) } + if err = versionCheck(lagoonCLIConfig.Current); err != nil { + return fmt.Errorf("couldn't check version: %v", err) + } return nil } diff --git a/cmd/notificationsemail.go b/cmd/notificationsemail.go index 3abe4261..be1cff3e 100644 --- a/cmd/notificationsemail.go +++ b/cmd/notificationsemail.go @@ -5,6 +5,7 @@ import ( "context" "encoding/json" "fmt" + "github.com/spf13/cobra" "github.com/uselagoon/lagoon-cli/internal/lagoon" "github.com/uselagoon/lagoon-cli/internal/lagoon/client" @@ -52,6 +53,7 @@ It does not configure a project to send notifications to email though, you need lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) @@ -163,6 +165,7 @@ var listProjectEmailsCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) diff --git a/cmd/notificationsrocketchat.go b/cmd/notificationsrocketchat.go index a6de9c0a..5618fa4b 100644 --- a/cmd/notificationsrocketchat.go +++ b/cmd/notificationsrocketchat.go @@ -5,6 +5,7 @@ import ( "context" "encoding/json" "fmt" + l "github.com/uselagoon/machinery/api/lagoon" lclient "github.com/uselagoon/machinery/api/lagoon/client" s "github.com/uselagoon/machinery/api/schema" @@ -57,6 +58,7 @@ It does not configure a project to send notifications to RocketChat though, you lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) @@ -171,6 +173,7 @@ var listProjectRocketChatsCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) diff --git a/cmd/notificationsslack.go b/cmd/notificationsslack.go index 8353fd70..24ff8198 100644 --- a/cmd/notificationsslack.go +++ b/cmd/notificationsslack.go @@ -5,6 +5,7 @@ import ( "context" "encoding/json" "fmt" + l "github.com/uselagoon/machinery/api/lagoon" lclient "github.com/uselagoon/machinery/api/lagoon/client" s "github.com/uselagoon/machinery/api/schema" @@ -57,6 +58,7 @@ It does not configure a project to send notifications to Slack though, you need lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) @@ -171,6 +173,7 @@ var listProjectSlacksCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) diff --git a/cmd/notificationsteams.go b/cmd/notificationsteams.go index 1d31953e..017bc09a 100644 --- a/cmd/notificationsteams.go +++ b/cmd/notificationsteams.go @@ -5,6 +5,7 @@ import ( "context" "encoding/json" "fmt" + l "github.com/uselagoon/machinery/api/lagoon" lclient "github.com/uselagoon/machinery/api/lagoon/client" s "github.com/uselagoon/machinery/api/schema" @@ -53,6 +54,7 @@ It does not configure a project to send notifications to Microsoft Teams though, lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) @@ -164,6 +166,7 @@ var listProjectMicrosoftTeamsCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) diff --git a/cmd/notificationswebhook.go b/cmd/notificationswebhook.go index c82524b9..d621fd9b 100644 --- a/cmd/notificationswebhook.go +++ b/cmd/notificationswebhook.go @@ -5,6 +5,7 @@ import ( "context" "encoding/json" "fmt" + l "github.com/uselagoon/machinery/api/lagoon" lclient "github.com/uselagoon/machinery/api/lagoon/client" s "github.com/uselagoon/machinery/api/schema" @@ -53,6 +54,7 @@ It does not configure a project to send notifications to webhook though, you nee lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) @@ -164,6 +166,7 @@ var listProjectWebhooksCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) diff --git a/cmd/organization.go b/cmd/organization.go index 4ca36b13..32c7270e 100644 --- a/cmd/organization.go +++ b/cmd/organization.go @@ -3,6 +3,7 @@ package cmd import ( "context" "fmt" + "github.com/spf13/cobra" "github.com/uselagoon/lagoon-cli/pkg/output" l "github.com/uselagoon/machinery/api/lagoon" @@ -63,6 +64,7 @@ var addOrgCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) @@ -116,6 +118,7 @@ var deleteOrgCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) @@ -189,6 +192,7 @@ var updateOrganizationCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) diff --git a/cmd/project.go b/cmd/project.go index 1819b3af..aa376462 100644 --- a/cmd/project.go +++ b/cmd/project.go @@ -4,11 +4,12 @@ import ( "context" "encoding/json" "fmt" + "os" + "strconv" + l "github.com/uselagoon/machinery/api/lagoon" lclient "github.com/uselagoon/machinery/api/lagoon/client" s "github.com/uselagoon/machinery/api/schema" - "os" - "strconv" "github.com/spf13/cobra" "github.com/spf13/pflag" @@ -163,6 +164,7 @@ var listProjectByMetadata = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) projects, err := l.GetProjectsByMetadata(context.TODO(), key, value, lc) @@ -282,6 +284,7 @@ var updateProjectMetadata = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) project, err := l.GetMinimalProjectByName(context.TODO(), cmdProjectName, lc) @@ -337,6 +340,7 @@ var deleteProjectMetadataByKey = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) project, err := l.GetMinimalProjectByName(context.TODO(), cmdProjectName, lc) @@ -487,6 +491,7 @@ var addProjectToOrganizationCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) @@ -561,6 +566,7 @@ var RemoveProjectFromOrganizationCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) diff --git a/cmd/raw.go b/cmd/raw.go index f79767a3..ef96ec95 100644 --- a/cmd/raw.go +++ b/cmd/raw.go @@ -35,6 +35,7 @@ The output of this command will be the JSON response from the API`, lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) if err != nil { diff --git a/cmd/root.go b/cmd/root.go index a5c8eb55..65ccb481 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -347,13 +347,6 @@ func validateToken(lagoon string) { os.Exit(1) } outputOptions.Debug = debugEnable - // check the API for the version of lagoon if we haven't got one set - // otherwise return nil, nothing to do - err = versionCheck(lagoon) - if err != nil { - output.RenderError(err.Error(), outputOptions) - os.Exit(1) - } } // validateTokenE does the same thing as validateToken, it just returns an @@ -366,7 +359,7 @@ func validateTokenE(lagoon string) error { if graphql.VerifyTokenExpiry(&lagoonCLIConfig, lagoon) { // check the API for the version of lagoon if we haven't got one set // otherwise return nil, nothing to do - return versionCheck(lagoon) + return nil } if err = loginToken(); err != nil { return fmt.Errorf("Couldn't refresh token, try `lagoon login`: %w", err) @@ -389,30 +382,27 @@ func validateTokenE(lagoon string) error { } outputOptions.Debug = debugEnable // fallback if token is expired or there was no token to begin with - return versionCheck(lagoon) + return nil } // check if we have a version set in config, if not get the version. -// this won't re-check the version if lagoon does update to a new api version -// @TODO: maybe set a refresh interval or something on this +// this checks whenever a token is refreshed func versionCheck(lagoon string) error { - if lagoonCLIConfig.Lagoons[lagoon].Version == "" { - lc := client.New( - lagoonCLIConfig.Lagoons[lagoon].GraphQL, - lagoonCLIConfig.Lagoons[lagoon].Token, - lagoonCLIConfig.Lagoons[lagoon].Version, - lagoonCLIVersion, - debugEnable) - lagoonVersion, err := lagooncli.GetLagoonAPIVersion(context.TODO(), lc) - if err != nil { - return err - } - l := lagoonCLIConfig.Lagoons[lagoon] - l.Version = lagoonVersion.LagoonVersion - lagoonCLIConfig.Lagoons[lagoon] = l - if err = writeLagoonConfig(&lagoonCLIConfig, filepath.Join(configFilePath, configName+configExtension)); err != nil { - return fmt.Errorf("couldn't write config: %v", err) - } + lc := client.New( + lagoonCLIConfig.Lagoons[lagoon].GraphQL, + lagoonCLIConfig.Lagoons[lagoon].Token, + lagoonCLIConfig.Lagoons[lagoon].Version, + lagoonCLIVersion, + debugEnable) + lagoonVersion, err := lagooncli.GetLagoonAPIVersion(context.TODO(), lc) + if err != nil { + return err + } + l := lagoonCLIConfig.Lagoons[lagoon] + l.Version = lagoonVersion.LagoonVersion + lagoonCLIConfig.Lagoons[lagoon] = l + if err = writeLagoonConfig(&lagoonCLIConfig, filepath.Join(configFilePath, configName+configExtension)); err != nil { + return fmt.Errorf("couldn't write config: %v", err) } return nil } diff --git a/cmd/tasks.go b/cmd/tasks.go index 96f1a041..7e31f65a 100644 --- a/cmd/tasks.go +++ b/cmd/tasks.go @@ -47,6 +47,7 @@ var getTaskByID = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) result, err := l.TaskByID(context.TODO(), taskID, lc) @@ -106,6 +107,7 @@ If the task fails or fails to update, contact your Lagoon administrator for assi lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) result, err := l.ActiveStandbySwitch(context.TODO(), cmdProjectName, lc) @@ -308,6 +310,7 @@ var uploadFilesToTask = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) result, err := l.UploadFilesForTask(context.TODO(), taskID, files, lc) diff --git a/cmd/users.go b/cmd/users.go index 4cdec7a4..7033d544 100644 --- a/cmd/users.go +++ b/cmd/users.go @@ -170,6 +170,7 @@ var deleteSSHKeyCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) @@ -267,6 +268,7 @@ var getUserKeysCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) userKeys, err := l.GetUserSSHKeysByEmail(context.TODO(), userEmail, lc) @@ -321,6 +323,7 @@ var getAllUserKeysCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) groupMembers, err := l.ListAllGroupMembersWithKeys(context.TODO(), groupName, lc) @@ -396,6 +399,7 @@ var addUserToOrganizationCmd = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) @@ -459,6 +463,7 @@ var RemoveUserFromOrganization = &cobra.Command{ lc := lclient.New( lagoonCLIConfig.Lagoons[current].GraphQL, lagoonCLIVersion, + lagoonCLIConfig.Lagoons[current].Version, &token, debug) diff --git a/go.mod b/go.mod index a24e1dcb..67c84d9f 100644 --- a/go.mod +++ b/go.mod @@ -19,7 +19,7 @@ require ( github.com/spf13/cobra v1.8.0 github.com/spf13/pflag v1.0.5 github.com/stretchr/testify v1.8.2 - github.com/uselagoon/machinery v0.0.19-0.20240322032948-593281438ac1 + github.com/uselagoon/machinery v0.0.19 golang.org/x/crypto v0.21.0 gopkg.in/yaml.v3 v3.0.1 sigs.k8s.io/yaml v1.4.0 diff --git a/go.sum b/go.sum index 613ff325..977ff533 100644 --- a/go.sum +++ b/go.sum @@ -66,12 +66,8 @@ github.com/stretchr/testify v1.7.4/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8= github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/uselagoon/machinery v0.0.18 h1:KQLMAYa0pJOSDlnwv7uKa4XXZTqw8WiI0VL+yIFgesM= -github.com/uselagoon/machinery v0.0.18/go.mod h1:NbgtEofjK2XY0iUpk9aMYazIo+W/NI56+UF72jv8zVY= -github.com/uselagoon/machinery v0.0.19-0.20240322032252-359428673e86 h1:L+GL47tTAr5375Pt3Qui2Azqr2IfXNUKtlPQwfdNSAw= -github.com/uselagoon/machinery v0.0.19-0.20240322032252-359428673e86/go.mod h1:NbgtEofjK2XY0iUpk9aMYazIo+W/NI56+UF72jv8zVY= -github.com/uselagoon/machinery v0.0.19-0.20240322032948-593281438ac1 h1:+zSna/ITc9KF9FUw6QOYKY9bv5qZUUN3WXh/5GoKvYk= -github.com/uselagoon/machinery v0.0.19-0.20240322032948-593281438ac1/go.mod h1:NbgtEofjK2XY0iUpk9aMYazIo+W/NI56+UF72jv8zVY= +github.com/uselagoon/machinery v0.0.19 h1:1R0DWe0Fz2cRhzisnM86SQJXFy+DO9d+9gEa2maRwC4= +github.com/uselagoon/machinery v0.0.19/go.mod h1:NbgtEofjK2XY0iUpk9aMYazIo+W/NI56+UF72jv8zVY= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=