Skip to content

Commit 8b666d3

Browse files
tkdchenchmeliik
authored andcommitted
Create a class to manage workflow data
* CLOUDBLD-8271 All workflow data are moved to a dedicated class. These data are accessible via workflow.data attributes. A new abstract class ISerialize is added to define the load/dump interface for data classes referenced from the workflow data class and the data class itself. New methods is_empty and __eq__ are added to some classes for writing tests easily. BuildResult class can be loaded and dumped as a normal attribute like others. It's a little special than others due to the build step is not implemented yet, no multi-arch build result object is handled. Signed-off-by: Chenxiong Qi <[email protected]>
1 parent 64b3140 commit 8b666d3

File tree

89 files changed

+1785
-800
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+1785
-800
lines changed

.pylintrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ disable=I,
6464
useless-import-alias, # nice to have
6565
useless-super-delegation, # nice to have
6666
wrong-import-order,
67-
wrong-import-position
67+
wrong-import-position,
68+
eq-without-hash # no need to hash objects which have method __eq__
6869

6970
[REPORTS]
7071

0 commit comments

Comments
 (0)