Commit graph

688 commits

Author SHA1 Message Date
ce2e2635f5 * make executabel-name configurable
* mv infra code from app to infra
2023-03-11 17:16:49 +01:00
bom
c23c5287bd Remove old project files
As this is now in a subdirectory we can have the main project handle
these files
2023-03-10 13:40:09 +01:00
bom
4575785dfa Rename release-mixin to release_mixin 2023-03-10 13:39:31 +01:00
bom
408c25028b Move tests from release_mixin to project test folder 2023-03-10 13:37:45 +01:00
f7668231be fix tests 2023-03-09 20:24:11 +01:00
a94a7ea62b Remove unused imports and order imports 2023-03-09 14:29:33 +01:00
5d2bbb758c Enable release mixin test 2023-03-09 14:26:30 +01:00
4098d00409 Cleanup redundant comments 2023-03-09 13:48:59 +01:00
21bafab882 Adapt tests for helper class 2023-03-09 13:44:50 +01:00
e4996dfb20 Turn test helper into class and rename 2023-03-09 13:43:55 +01:00
f49b44f5e0 Add test for version repo using helper scripts 2023-03-09 13:17:20 +01:00
27f2bf2d2e Move api tests to api test file
Some formatting and missing imports
2023-03-09 13:15:35 +01:00
2c2f528371 Condense copy logic into helper script 2023-03-09 13:13:47 +01:00
dfddd5ee33 refactor: only builds & mixins should inherit
test are not working fully atmo
2023-03-05 14:17:36 +01:00
9dbc5f8ab0 add doc 2023-03-05 13:59:40 +01:00
4bdbccd722 fix c4k_mixin tests 2023-03-05 13:48:20 +01:00
55c9b7f2fd mv work to application 2023-03-05 13:39:47 +01:00
dfc420f6c2 BREAKING: c4k_module_name should be filled with builds-module-name 2023-03-05 13:09:46 +01:00
2acda459b2 last wip comment :-) 2023-03-05 13:01:50 +01:00
68ffbf23e2 last wip comment :-) 2023-03-05 13:01:17 +01:00
bdc1b5c942 Add assertion for release count 2023-03-03 15:54:11 +01:00
8c0ae19fdc Clean up whitespaces 2023-03-03 15:07:02 +01:00
c76804ad92 Make counters count up 2023-03-03 15:01:56 +01:00
3f44148237 Implement write_and_commit_bump() test 2023-03-03 14:54:48 +01:00
15992d3500 WIP Implement service test 2023-03-03 13:36:39 +01:00
b63e6b47fc Implement basic test for infrastructure api 2023-03-03 13:35:24 +01:00
07abf81bda Add mock API 2023-03-03 13:31:51 +01:00
bom
0617348e84 Merged release_mixin repo 2023-03-03 10:59:59 +01:00
4fbbe26714 Update arch documentation 2023-03-02 18:19:18 +01:00
81458c6acc dd todos from review 2023-03-02 18:16:11 +01:00
bom
d5d8b8e7e1 Add test for TagAndPushReleaseService 2023-03-02 16:56:09 +01:00
bom
950d76c883 Add get_latest_tag to GitApi
also rename system_repo to system_api
2023-03-02 16:55:49 +01:00
bom
58e6473747 Split tag_and_push_release into two 2023-03-02 16:39:12 +01:00
bom
21e941cce0 Import GitApi from correct module 2023-03-02 16:26:52 +01:00
874106e1d4 Disable test_release_mixin 2023-03-02 16:18:07 +01:00
63d3823d87 Implement release class test 2023-03-02 16:18:07 +01:00
8eb510d034 Base bump version on release version 2023-03-02 16:18:07 +01:00
99877b3fbf Implement git init
Allows creation of new git repo, may be of use in tests.
2023-03-02 16:18:07 +01:00
0d36a8a66a Fix service test and cleanup services
We now create a temporary git repository that creates a release commit.
Remove whitespaces, unused imports.
2023-03-02 16:17:28 +01:00
9dc32ac92f Refactor Class Name 2023-03-02 16:13:16 +01:00
455585f78c Remove Config class
If the config class was to replace the config dict,
further refactorings upstream would be needed.
This is out of scope.
2023-03-02 16:13:16 +01:00
5700b42098 Remove redundant method 2023-03-02 16:13:16 +01:00
bom
8855a2c6b6 Remove unused imports 2023-03-02 15:08:41 +01:00
bom
24e8f65aaf Remove run_test line
Will not be implemented, as it is already run in CI beforehand
2023-03-02 15:07:31 +01:00
bom
9c9676b5b8 Pass Release instead of Version object 2023-03-02 15:04:30 +01:00
bom
28344667db Remove unused fields from ReleaseMixin
These are handled through repos and services instead
2023-03-02 15:03:11 +01:00
bom
338cafc211 Validate correct branch in Release object
Avoids throwing exceptions in service and delegates validation to the
domain level
2023-03-02 14:59:06 +01:00
9bde301ee4 Use release class
Create it out of the given release_repo.
Thus simplifying the call tree as we only access the release_repo in the
service.
2023-02-28 15:04:14 +01:00
39d60f6854 WIP Remove prepare release service 2023-02-28 14:55:51 +01:00
802dd7d57b WIP Remove prepare release service 2023-02-28 14:55:41 +01:00