Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timeout support added #54

Merged
merged 4 commits into from
Dec 12, 2024
Merged

timeout support added #54

merged 4 commits into from
Dec 12, 2024

Conversation

ginilpg
Copy link
Contributor

@ginilpg ginilpg commented Nov 26, 2024

Title Value
Type Feature
Ticket/Issue https://appknox.atlassian.net/browse/PD-1604
Migrations No / <apps introducing migrations (eg: core, organization)>
Migration Scripts No / Yes (provide script in description)
ENV vars change No / <list of env vars added or removed (eg: APPKNOX_SAMPLE_ENV=local_dev_value)>
Frontend No / <irene PR link>
Local testing Pending / Done
Staging testing Pending / Skip / <preview link>
On premise notes NA / <any notes specific to on premise deployments>
Documentation None / <Confluence design specification document link>
Release notes None / <Confluence changelog document link>
Version upgrade Minor

Changelog

  1. Added an option to override default 30 mins timeout using cicheck command

Dependent PRs

cmd/cicheck.go Outdated
@@ -45,12 +46,18 @@ var cicheckCmd = &cobra.Command{
helper.PrintError(err)
os.Exit(1)
}
helper.ProcessCiCheck(fileID, riskThresholdInt)
timeoutMinutes, _ := cmd.Flags().GetInt("sast-timeout")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
timeoutMinutes, _ := cmd.Flags().GetInt("sast-timeout")
timeoutMinutes, _ := cmd.Flags().GetInt("timeout")

should be timeout instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be timeout instead.

This has been resolved

Copy link

sonarqubecloud bot commented Dec 5, 2024

@cosmosgenius cosmosgenius merged commit 6df9536 into develop Dec 12, 2024
4 checks passed
@cosmosgenius cosmosgenius deleted the custom-timeout branch December 12, 2024 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants