Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE Now all timeout configurations have default values. This can affect existing pipelines with long-running tests and tasks. The old value was 60000 seconds. The new values for `Build`, `Run`, and `Test` actions are 600 seconds. * refactor: move constant `defaultBuildTimeout` to `constants.ts` * refactor: rename timeout constants for clarity * chore: set the default `Build` action timeout in joi schema * chore: set the default `Run` action timeout in joi schema * chore: set default `Test` action timeout in joi schema * chore: change default run and test action timeouts to 600s * chore: remove the duplicate constant for `Run` action timeout. Use `DEFAULT_RUN_TIMEOUT_SEC` everywhere. * chore: default timeout value for module-based tasks and tests * chore: set the minimal timeout value for module builds * refactor: non-optional timeout in `BaseTestSpec` * refactor: non-optional timeout in `BaseTaskSpec` * refactor: non-optional timeout in `BaseBuildSpec` * chore: replace `DEFAULT_BUILD_TIMEOUT` by `DEFAULT_BUILD_TIMEOUT_SEC`. Constant `DEFAULT_BUILD_TIMEOUT` was used only in tests, and was a duplicate of `DEFAULT_BUILD_TIMEOUT_SEC`. * chore: require integer as a k8s deployment timeout * chore: non-optional timeout in `BaseRunParams` * chore: set the default timeout for exec service * chore: set the default timeout for exec `Deploy` action * refactor: make `timeout` non-optional in `KubernetesTypeCommonDeploySpec` * refactor: add optional `timeout` field in `BaseActionConfig` * chore: make `timeout` required in `runBaseParams`. Non-optional value is always set from outside. * test: updated tests and fixed assertions
- Loading branch information
1 parent
6019d2f
commit e55a595
Showing
93 changed files
with
478 additions
and
413 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.