VerifyConfiguration¶
-
class
oci.adm.models.VerifyConfiguration(**kwargs)¶ Bases:
objectThe Verify stage configuration specifies a build service to run a pipeline for the recommended code changes. The build pipeline will be initiated to ensure that there is no breaking change after the dependency versions have been updated in source to avoid vulnerabilities.
Attributes
BUILD_SERVICE_TYPE_GITHUB_ACTIONSA constant which can be used with the build_service_type property of a VerifyConfiguration. BUILD_SERVICE_TYPE_GITLAB_PIPELINEA constant which can be used with the build_service_type property of a VerifyConfiguration. BUILD_SERVICE_TYPE_JENKINS_PIPELINEA constant which can be used with the build_service_type property of a VerifyConfiguration. BUILD_SERVICE_TYPE_NONEA constant which can be used with the build_service_type property of a VerifyConfiguration. BUILD_SERVICE_TYPE_OCI_DEVOPS_BUILDA constant which can be used with the build_service_type property of a VerifyConfiguration. build_service_type[Required] Gets the build_service_type of this VerifyConfiguration. Methods
__init__(**kwargs)Initializes a new VerifyConfiguration object with values from keyword arguments. get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
BUILD_SERVICE_TYPE_GITHUB_ACTIONS= 'GITHUB_ACTIONS'¶ A constant which can be used with the build_service_type property of a VerifyConfiguration. This constant has a value of “GITHUB_ACTIONS”
-
BUILD_SERVICE_TYPE_GITLAB_PIPELINE= 'GITLAB_PIPELINE'¶ A constant which can be used with the build_service_type property of a VerifyConfiguration. This constant has a value of “GITLAB_PIPELINE”
-
BUILD_SERVICE_TYPE_JENKINS_PIPELINE= 'JENKINS_PIPELINE'¶ A constant which can be used with the build_service_type property of a VerifyConfiguration. This constant has a value of “JENKINS_PIPELINE”
-
BUILD_SERVICE_TYPE_NONE= 'NONE'¶ A constant which can be used with the build_service_type property of a VerifyConfiguration. This constant has a value of “NONE”
-
BUILD_SERVICE_TYPE_OCI_DEVOPS_BUILD= 'OCI_DEVOPS_BUILD'¶ A constant which can be used with the build_service_type property of a VerifyConfiguration. This constant has a value of “OCI_DEVOPS_BUILD”
-
__init__(**kwargs)¶ Initializes a new VerifyConfiguration object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
JenkinsPipelineConfigurationNoneVerifyConfigurationOciDevOpsBuildConfigurationGitHubActionsConfigurationGitLabPipelineConfiguration
The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: build_service_type (str) – The value to assign to the build_service_type property of this VerifyConfiguration. Allowed values for this property are: “OCI_DEVOPS_BUILD”, “GITLAB_PIPELINE”, “GITHUB_ACTIONS”, “JENKINS_PIPELINE”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
build_service_type¶ [Required] Gets the build_service_type of this VerifyConfiguration. The type of Build Service.
Allowed values for this property are: “OCI_DEVOPS_BUILD”, “GITLAB_PIPELINE”, “GITHUB_ACTIONS”, “JENKINS_PIPELINE”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The build_service_type of this VerifyConfiguration. Return type: str
-
static
get_subtype(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-