OciDevOpsBuildConfiguration¶
- class oci.adm.models.OciDevOpsBuildConfiguration(**kwargs)¶
Bases:
VerifyConfigurationOCI DevOps configuration extends a Verify Configuration with necessary data to reach and use the OCI DevOps Build Service.
Attributes:
A constant which can be used with the build_service_type property of a VerifyConfiguration.
A constant which can be used with the build_service_type property of a VerifyConfiguration.
A constant which can be used with the build_service_type property of a VerifyConfiguration.
A constant which can be used with the build_service_type property of a VerifyConfiguration.
A constant which can be used with the build_service_type property of a VerifyConfiguration.
Gets the additional_parameters of this OciDevOpsBuildConfiguration.
[Required] Gets the build_service_type of this VerifyConfiguration.
[Required] Gets the pipeline_id of this OciDevOpsBuildConfiguration.
Methods:
__init__(**kwargs)Initializes a new OciDevOpsBuildConfiguration 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 OciDevOpsBuildConfiguration object with values from keyword arguments. The default value of the
build_service_typeattribute of this class isOCI_DEVOPS_BUILDand it should not be changed. 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 OciDevOpsBuildConfiguration. Allowed values for this property are: “OCI_DEVOPS_BUILD”, “GITLAB_PIPELINE”, “GITHUB_ACTIONS”, “JENKINS_PIPELINE”, “NONE”
pipeline_id (str) – The value to assign to the pipeline_id property of this OciDevOpsBuildConfiguration.
additional_parameters (dict(str, str)) – The value to assign to the additional_parameters property of this OciDevOpsBuildConfiguration.
- property additional_parameters¶
Gets the additional_parameters of this OciDevOpsBuildConfiguration. Additional key-value pairs passed as parameters to the build service when running an experiment.
- Returns
The additional_parameters of this OciDevOpsBuildConfiguration.
- Return type
dict(str, str)
- property 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.