Commit graph

259 commits

Author SHA1 Message Date
bom
c70daa346d Resolve pylint errors in release.py 2023-04-28 14:50:35 +02:00
2463d36674 [Skip-CI] More specific exception 2023-04-28 14:42:42 +02:00
9db91c0a16 Fix pylint messages for repo 2023-04-28 14:41:37 +02:00
953e05ecfb Remove unused imports 2023-04-28 14:27:41 +02:00
bom
d801a71b49 Make ReleaseContextRepository stateless 2023-04-28 14:20:22 +02:00
bom
f4fed5293a Add and use throw_if_invalid function
Validates objects and raises an error if they are invalid
2023-04-28 14:20:22 +02:00
61d99a7b12 Merge branch 'mypy-fixes' into 'ddd-intro'
[Sip-CI] Update Type Hints

See merge request domaindrivenarchitecture/dda-devops-build!9
2023-04-28 12:17:54 +00:00
7637f65779 [Sip-CI] Update Type Hints 2023-04-28 14:12:57 +02:00
2ad63b8a75 Remove unused files 2023-04-28 13:32:40 +02:00
91a5964448 Remove deprecated function 2023-04-28 13:32:10 +02:00
349884cb6c Refactor to C4kBuild 2023-04-28 13:29:09 +02:00
bom
a28a1b43d3 Stop mocking domain objects
Resolves 1 TODO
2023-04-27 15:01:07 +02:00
bom
35465b543b Make services stateless
Resolves 2 TODOs
2023-04-27 14:46:49 +02:00
bom
3a83be485c Fix invalid code 2023-04-27 14:46:15 +02:00
749c8f2849 Refactor release domain 2023-04-22 12:40:40 +00:00
92081947c5 going to merge Release & ReleaseConfig [skip-ci] 2023-04-21 15:11:33 +02:00
84cf82ac57 reformat 2023-04-21 15:11:08 +02:00
d717cd5a8c removed deprecated dict create option 2023-04-21 15:10:36 +02:00
28f0b629c3 fixed tests 2023-04-21 14:54:24 +02:00
bom
134ee68cfa Remove deprecated SystemAPI 2023-04-21 14:52:06 +02:00
bom
54f3938088 Finish refactoring for ExecutionAPI 2023-04-21 14:51:17 +02:00
5fe58e95cd Deprecate SystemApi
in Favour of ExecutionApi
2023-04-21 14:38:35 +02:00
3d29277285 tried to get debugg outputs 2023-04-21 14:20:03 +02:00
bom
b6f03c70c5 Comment out tewst for later use 2023-04-21 14:06:40 +02:00
223ba498d3 Review TODOs 2023-04-21 13:49:12 +02:00
381baa2eb2 [Skip CI] Uncomment assertion in test_image_build
Add logging.
2023-04-21 12:19:01 +02:00
580bf81c15 Fix CI: Remove whitespaces, add newlines 2023-04-20 17:01:04 +02:00
066c874734 DDD Refactor: Use only init with object 2023-04-20 16:27:04 +02:00
d263ba73ce Fix CI: Test for Exception rather than None 2023-04-19 15:43:27 +02:00
8e8ad034a7 Fix CI: Refactor None like logic
We now do check wether from_git or from_env was
called and then take a bool based decision on which
method to call. Also: Type declarations and specific errors.
2023-04-19 15:43:27 +02:00
420030fa0a Fix CI: Update type declaration and value assignments 2023-04-19 15:43:27 +02:00
10e7deb74b Fix CI: Update Type declarations 2023-04-19 15:43:27 +02:00
578ac29ebb Fix CI: Remove unnecessary default val 2023-04-19 15:43:27 +02:00
e31b4ef7b2 Fix CI: More Specific Error 2023-04-19 15:43:27 +02:00
44d1708448 Fix CI: Move ValueError to new line 2023-04-19 15:43:27 +02:00
24fc95ff8a Fix CI: Rename to avoid warnings 2023-04-19 13:11:57 +02:00
b6d21167b1 Remove todo 2023-04-19 13:11:46 +02:00
943cde3aeb Fix ToDo: Method for always tagging second last 2023-04-19 13:11:26 +02:00
55114f0075 Fix CI: Fix validation 2023-04-19 13:11:18 +02:00
b050e9d07c Fix CI: Correctly validate 2023-04-19 13:11:09 +02:00
e424732a30 Fix CI: Fix mocks 2023-04-19 13:11:03 +02:00
c530628192 Fix CI: Raise specific exception.
Do comparison with !=.
2023-04-19 13:10:52 +02:00
0a85790410 Fix CI: Update Imports on tests 2023-04-19 13:10:37 +02:00
2c65187741 DDD Refactor: Move release_mixin infrastructure to infrastructure 2023-04-19 13:10:28 +02:00
38f700cad5 DDD Refactor: Move release_mixin one layer up 2023-04-19 13:10:23 +02:00
858666a957 DDD Refactor: Move release_mixin_services to application layer 2023-04-19 13:10:18 +02:00
bf8fef87c7 DDD Refactor: Move release to domain
Merge release_config and release.
Make imports available.
2023-04-19 13:10:11 +02:00
628ff35303 Fix CI: Add fields for stage and module
As required by linter.
2023-04-19 13:08:43 +02:00
1eac5d36ef DDD Refactor: Move infrastructure.py to infrastructure layer
Make imports available as module.
2023-04-19 13:08:36 +02:00
529f5f165b DDD Refactor: Move image_build_service to application layer
Make imports available as package.
2023-04-19 13:08:09 +02:00