Commit graph

260 commits

Author SHA1 Message Date
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
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
Clemens
897784ddea Fix pytest errors 2023-03-31 12:50:33 +02:00
325c9d477f rename docker -> image & introduce domain sub-ns 2023-03-17 17:27:36 +01:00
a4fbeaadd9 docker_build now works 2023-03-17 16:16:47 +01:00
51304f3b85 docker_build now works 2023-03-17 16:05:46 +01:00
bom
50faa89f6e Implement infrastructure for ReleaseTypes from Environment 2023-03-17 11:52:22 +01:00
bom
befb5eb653 Add EnvironmentApi 2023-03-17 11:32:01 +01:00
bom
85250f1c5f Change inconsistent api naming 2023-03-17 11:29:25 +01:00
bom
162815b5ba Import local files instead of modules of the same name
These modules don't exist and caused our tests to fail
2023-03-17 09:22:05 +01:00
7ba7cce801 refactor to dedicated parameters 2023-03-14 19:11:34 +01:00
4eeaefc1a3 refactor to dedicated parameters 2023-03-14 18:06:04 +01:00
7b198c7215 add devops_build test 2023-03-14 16:43:41 +01:00
d650f67dbf refactor to dedicated parameters 2023-03-14 16:11:00 +01:00
1bcc8908e9 refactoring: rename C4kBuild -> C4k 2023-03-14 15:07:47 +01:00
5ff4a4c9bb refactoring: rename DockerBuild -> Docker 2023-03-14 12:22:05 +01:00
571828f6cd fix tests 2023-03-14 12:07:11 +01:00
0717b0b361 refactoring: rename Build -> Devops 2023-03-14 12:04:52 +01:00
dd85b7b95b refactor devops_c4k_mixin to arch 2023-03-12 19:09:32 +01:00
eec7392470 refactor devops_docker_build to arch 2023-03-12 17:57:31 +01:00
d95827e1e0 refactor devops_build to arch 2023-03-12 17:40:10 +01:00
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
ce24ab6fc2 wip 2023-02-28 09:32:26 +01:00
54e3f7f41a make devopsBuild ddd 2023-02-25 15:59:41 +01:00
23b143f5af use yaml instead of edn 2022-12-30 17:59:40 +01:00
f5458fd55f fix test 2022-12-30 16:45:07 +01:00
e943740b82 fix c4k mixin 2022-12-30 15:57:33 +01:00
f49b74af24 adjust apply name to other modules 2022-12-30 15:53:29 +01:00
b38b0f1f87 add c4k-mixin 2022-12-30 13:05:15 +00:00
50ac1e93e2 fix backend config 2022-12-10 17:11:31 +01:00
9d801f0a19 fix imports 2022-12-10 15:43:00 +01:00
d244214242 add do-backend-mixin 2022-12-10 15:29:29 +01:00
bec4d01063 rename do-mixin to do-build 2022-12-10 15:29:08 +01:00
ed55f98b95 remove dda-simple-mixin 2022-12-10 15:28:35 +01:00
692756e5c5 fix s3-credentials init 2022-12-10 14:06:22 +01:00
4d8b4164d5 fix do config 2022-12-10 13:24:11 +01:00
dd2d6668fb fix & update requirements 2022-12-10 12:42:48 +01:00
74351db902 Merge branch 'release-1.0' into main 2022-12-09 15:38:38 +01:00
32ef36642b fix filename 2022-12-09 15:26:39 +01:00
253c514919 fix devops_terraform_build 2022-12-09 15:10:42 +01:00
8cb3da6d92 add do mixin 2022-12-09 14:53:54 +01:00
80947e6684 remove dda-tenant support 2022-12-09 14:42:51 +01:00
29785a14fd only user can see provs config 2022-12-09 14:08:20 +01:00
ef32125554 fix 2022-08-19 15:22:50 +02:00
c068900745 fix 2022-08-19 15:10:56 +02:00
e90a46bb67 fix terraform versioning usage 2022-08-19 15:01:10 +02:00
bom
296ed5f9ba removed Terraform from wrong import 2022-05-20 10:34:38 +02:00
dbf6cd38e5 fix provs config generation 2022-03-29 18:53:31 +02:00
3f38e910c1 make k3s values avaiable as build property 2022-03-29 18:42:13 +02:00
7ee5088b44 remove asyncio 2022-03-25 18:34:21 +01:00