Commit graph

1163 commits

Author SHA1 Message Date
83a7c7ad7d Fix CI: Update how pylint and mypy look for files 2023-04-20 17:01:04 +02:00
066c874734 DDD Refactor: Use only init with object 2023-04-20 16:27:04 +02:00
b510314135 Fix CI: Removed R0201
This has been moved to optional and does not need
to be disabled by us.
2023-04-19 15:43:27 +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
a1f9992fba Refactor tests to accomodate changes 2023-04-18 15:34:29 +02:00
84d3e29c28 Refactor for call consistency 2023-04-18 15:33:58 +02:00
537a5836b9 Refactor to use ReleaseConfig object 2023-04-18 15:33:14 +02:00
d0ddeb3288 Implement ReleaseConfig 2023-04-18 15:31:47 +02:00
fce12d2e21 Make Release object available 2023-04-18 15:30:20 +02:00
d3049271cc Uncomment tag_and_push_release 2023-04-18 12:44:05 +02:00
ce1fd3f559 Add_remote functionality to GitApi 2023-04-18 12:43:19 +02:00
6dc078877c Move build.py and config.json to resources 2023-04-18 12:39:39 +02:00
eab4a8e3e3 Sanitize arguments to system calls 2023-04-18 12:39:02 +02:00
fc17d6a14d Move Documentation of ReleaseMixin 2023-04-18 10:49:13 +02:00
446ed9744a add review 2023-04-18 08:57:00 +02:00
785940d3b6 add review 2023-04-18 08:56:50 +02:00
d4d49970ec reviwe 2023-04-14 17:48:12 +02:00
d6d668902b add review comments 2023-04-14 17:24:15 +02:00
a253960f52 Add ReleaseMixin to architecture 2023-04-14 17:15:17 +02:00
Clemens
1ba7f01b93 Added some todos and extended mypy ci-pipeline 2023-04-14 12:04:10 +02:00
4667c58dbb Implement priority: env first, then git
Add test for this behavior.
2023-04-11 16:16:59 +02:00
3776116383 Use EnvironmentKeys, refactor in test accordingly 2023-04-11 16:16:08 +02:00
f51afe8bbc Add EnvironmentKeys enum class 2023-04-11 16:15:17 +02:00
012a04115a Implement test for EnvironmentApi() 2023-04-11 15:03:01 +02:00
Clemens
6ede2528c2 fixed pytest 2023-03-31 15:03:49 +02:00
Clemens
50a722794c Resolved some pylint issues 2023-03-31 14:59:37 +02:00
Clemens
32847914a7 fix mypy issues 2023-03-31 14:50:14 +02:00
Clemens
cfa05beae4 added method set_user_config to GitApi 2023-03-31 13:43:26 +02:00
Clemens
e69bb6adb0 fix wrong imports 2023-03-31 13:12:48 +02:00