Commit graph

1169 commits

Author SHA1 Message Date
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
bom
ef51db1403 Fix some of the tests 2023-02-28 13:25:47 +01:00
ce24ab6fc2 wip 2023-02-28 09:32:26 +01:00
54e3f7f41a make devopsBuild ddd 2023-02-25 15:59:41 +01:00
975de636ed mob 2023-02-24 11:39:38 +01:00
bom
c6ef13ca7c mob 2023-02-24 11:02:11 +01:00
a09eaa7521 mob 2023-02-24 10:46:43 +01:00
bom
0551fe6bfe mob 2023-02-24 10:31:04 +01:00
74925a90b7 mob 2023-02-24 10:14:26 +01:00
4f499bd1f4 ignore target 2023-02-24 10:00:11 +01:00
bom
0cdf4b4c9c Update files for in project release testing
1. commit anything and include one release type
2. run `pyb release` in project root
3. check that release commit and version bump commit were added
4. reset with `git reset origin/main`
2023-02-23 16:34:22 +01:00
bom
b93772d3a1 Fix naming and arguments in release_mixin 2023-02-23 16:31:33 +01:00
bom
a109759c68 Return stdout from git_repository functions 2023-02-23 16:30:43 +01:00
bom
4a23b0b800 Implement and use TagAndPushReleaseService 2023-02-23 15:33:34 +01:00
bom
e7152301dd Add utility functions to git_repository 2023-02-23 15:33:00 +01:00
bom
fa6beebc4e Move commit logic to prepare_release_service 2023-02-23 15:15:29 +01:00
bom
c58ddf70da Compact updating config into one call 2023-02-23 14:40:10 +01:00
bom
1ce4bd9c55 Remove release_type as requirement for Version
Require it in functions that actually use it instead
2023-02-23 14:38:54 +01:00
bom
992c72bda3 Give 'file' a more descriptive name 2023-02-23 14:23:32 +01:00
bom
0df4db54d8 Copy the version list when creating new Version 2023-02-23 14:16:17 +01:00