Commit graph

475 commits

Author SHA1 Message Date
da872af76e fix linting 2023-05-26 15:38:12 +02:00
406a5e6333 minor fixes 2023-05-26 15:30:47 +02:00
fa4b58b88c remove unused 2023-05-26 15:15:51 +02:00
39d732a04e handle backends in project_vars 2023-05-26 15:14:12 +02:00
4a2fa628f1 handle backends in init_client 2023-05-26 14:53:59 +02:00
f399d1e637 handle the case of non local state 2023-05-26 14:47:22 +02:00
8f61e286ae add resource handling for do_backend 2023-05-26 14:39:13 +02:00
7476c9a2d3 no longer used 2023-05-26 13:06:14 +02:00
d8e10b2fda improve readability 2023-05-26 13:06:04 +02:00
bom
92e3181323 Resolve mypy error 2023-05-26 08:53:32 +02:00
bom
e3703042b0 Resolve linting errors 2023-05-26 08:52:57 +02:00
bom
7ad5468a11 Implement additional resources as sets
Avoids duplicates when using multiple providers
2023-05-26 08:40:41 +02:00
bom
b26cf9ff0a Implement Hetzner provider 2023-05-26 08:29:32 +02:00
dc9236d766 minor fixes 2023-05-25 19:19:34 +02:00
70a671a06d bring credentials-mapping-defaults closer to the domain 2023-05-25 18:28:45 +02:00
cb17b39433 refactor terraform_devops_build to provider domain object 2023-05-25 17:57:57 +02:00
85aa41b2a8 use enhanced terraform structure 2023-05-25 16:48:05 +02:00
4cf3ec8460 enhance terraform class 2023-05-25 15:21:13 +02:00
b24288976e format 2023-05-25 14:51:49 +02:00
20edebf61c added some todos 2023-05-25 14:50:16 +02:00
bom
664f3cfd79 Implement DigitaloceanTerraform build type 2023-05-25 14:49:34 +02:00
de29c1dad8 fix terraform issues 2023-05-24 17:50:09 +02:00
62464afb83 devops_terraform_build now might work 2023-05-24 16:04:42 +02:00
7ede8e345a migrate fkt to service 2023-05-24 14:17:47 +02:00
d909251c08 add project vars fkt 2023-05-24 14:17:13 +02:00
e4fef8b61c add a terraform api 2023-05-24 14:16:27 +02:00
74a95c8c59 add terraform_build_commons_path() 2023-05-24 11:29:49 +02:00
15335ae73f introduce terraform 2023-05-24 08:34:43 +02:00
483d98a3d5 k3s now works 2023-05-22 13:56:53 +02:00
c2fee0f52e fix linting 2023-05-22 13:37:14 +02:00
0e28cbd52d provs_k3s now migth work 2023-05-22 13:23:10 +02:00
fc58f2e807 provs config now is done by domain object 2023-05-22 12:51:35 +02:00
643602e5b7 init now will work 2023-05-22 11:54:34 +02:00
0f212782d5 introduce k3s 2023-05-22 11:08:34 +02:00
61dfa82661 initial try 2023-05-22 10:46:11 +02:00
f8c6af8fd1 fix init.py 2023-05-22 10:08:06 +02:00
bae844dfdb Breaking: remove outdated mixins 2023-05-22 09:53:50 +02:00
8b348771e0 fix terraform-build 2023-05-22 09:51:29 +02:00
ed2f4d5ad0 fix pylint 2023-05-20 16:23:19 +02:00
b44751149a fix pylint 2023-05-20 16:14:35 +02:00
ce35bc2d54 make mypy green 2023-05-20 15:40:27 +02:00
cc9119111f Merge branch 'ddd-intro' into introduce-domain-factories 2023-05-20 13:42:57 +02:00
6dfc6a5a94 fix version bumping 2023-05-19 17:16:52 +02:00
0b14b49b86 fix tagging 2023-05-19 17:14:24 +02:00
d60b7b03a1 remove remaing chars in case of shrinking file len 2023-05-19 17:04:23 +02:00
eb6491a1fb fix buildfile version replacement for clojure 2023-05-19 16:50:28 +02:00
f8b6a73b60 add missing import 2023-05-19 16:21:01 +02:00
2a4b1880af remove unused 2023-05-19 15:52:11 +02:00
76fd45e2dd fix for credentials-service 2023-05-19 15:50:33 +02:00
e51d2ec2a4 fixes for release-mixin 2023-05-19 15:50:15 +02:00
31178e940d fix image build 2023-05-19 15:49:24 +02:00
bom
27c0fe62eb Use devops_build in project 2023-05-19 15:03:09 +02:00
bom
8732c374a6 Fix resource_path 2023-05-19 15:02:52 +02:00
651c166920 fix resource loading from pkg 2023-05-19 14:34:39 +02:00
bom
72b5e19ffe Include shell parameter in ExecutionApi 2023-05-19 13:56:43 +02:00
db0d560e12 gopass in question 2023-05-19 13:39:49 +02:00
bom
de1bd0570b Resolve warnings in release_mixin_service 2023-05-19 12:25:21 +02:00
bom
807739ff35 Get image from devops object 2023-05-19 12:24:31 +02:00
1ea4a5aa3f first bugfixes 2023-05-19 12:17:48 +02:00
8aec1be4a5 no longer needed 2023-05-18 18:24:02 +02:00
639815388e minor fixes & initialize context for release 2023-05-18 18:23:51 +02:00
7f7878fe36 release_mixin now might work 2023-05-18 17:24:05 +02:00
9e91491542 clean up usage of python_util 2023-05-18 14:23:08 +02:00
d16a022728 minor fixes for test image, devops, c4k green 2023-05-18 14:12:01 +02:00
57a43085c0 init service now uses password resolution 2023-05-18 14:00:51 +02:00
ca6b693a9a introduce credentials api 2023-05-17 13:43:39 +02:00
1a90f2dfe2 mv credentials to init-service because of lifecycle 2023-05-16 19:21:31 +02:00
b7bce9df6b fix environmentApi refactoring 2023-05-16 19:21:07 +02:00
b72e7e717e introduce Credentials 2023-05-16 18:13:33 +02:00
3cfb60a2de introduce Credentials 2023-05-16 18:13:05 +02:00
4baa012918 introduce Credentials 2023-05-16 08:47:11 +02:00
73e73e8d3d devops image build now may work 2023-05-13 17:20:30 +02:00
a13bda5a30 devops build now is working again 2023-05-13 17:05:18 +02:00
c13b70150b introduce init service 2023-05-13 16:01:35 +02:00
17f41dbd7a introduce build_file ids 2023-05-12 14:57:23 +02:00
1e2fcce452 create version outside of devops aggregate 2023-05-12 14:38:46 +02:00
ce69b5970d adjust version to bump only patch level 2023-05-12 14:32:31 +02:00
15bf7e5887 parse & set now works 2023-05-11 19:21:02 +02:00
6a0ed7deef get_version now works 2023-05-11 18:37:47 +02:00
f2c6f7787e js & gradle works 2023-05-11 18:13:44 +02:00
bom
64116edcb4 Use list comprehension instead of for 2023-05-11 15:03:32 +02:00
bom
9e7bef2066 Fix Typo: executabel -> executable 2023-05-11 15:00:37 +02:00
eafa4a4069 first try to implement get_version 2023-05-11 10:03:09 +02:00
ac7f5b8dd1 First steps for BuildFile 2023-05-11 09:20:59 +02:00
8359406330 fix release 2023-05-10 19:52:53 +02:00
2e2c04c8ba finish version 2023-05-10 19:37:15 +02:00
d38c2baaa1 add some version funct. 2023-05-10 09:28:43 +02:00
9ae6679bfd realize repository 2023-05-10 08:53:05 +02:00
f569d07a84 introduce version parsed from string 2023-05-09 09:19:26 +02:00
1e9f8ff077 merge release & ReleaseContext 2023-05-05 11:57:36 +02:00
6171d15241 [Skip-CI] Remove logging from domain 2023-05-02 13:31:18 +02:00
e27db86477 Fix logical error
Using match would always produce None results, as we are matching
a string exactly. Reintroducing more fuzzy "in" logic fixed tests.
2023-05-02 13:23:42 +02:00
97c5c4eb91 Add missing arguments 2023-05-02 12:54:31 +02:00
df1200de4a bring release_mixin partially back to work 2023-05-02 08:55:09 +02:00
8a864153d9 mv test to appr. place 2023-05-01 12:08:41 +02:00
039a5da8f6 mv test to appr. place 2023-04-30 11:29:17 +02:00
d670605d37 integrate release as mixin 2023-04-29 22:03:44 +02:00
26b76a045a unify image prefixes 2023-04-29 20:55:25 +02:00
72339f62cf unify c4k prefixes 2023-04-29 20:19:07 +02:00
331b3bba6e c4kBuild is working 2023-04-29 20:03:21 +02:00
2a4a2d25d8 implement 2023-04-29 16:45:17 +02:00
ea77c84948 add some tests 2023-04-29 16:44:34 +02:00
3495f69a6b adjust filename 2023-04-29 14:57:15 +02:00
634e89407e multi inheritance requires more than one build extension 2023-04-29 14:53:59 +02:00
e2c0ae3a54 switch image build to new structure 2023-04-29 12:09:23 +02:00
462be0d49a with new structure we can clean up storage 2023-04-29 12:09:04 +02:00
5ce6e6c0cb add build-type to devops 2023-04-29 12:02:03 +02:00
2add0a76a2 format 2023-04-28 18:17:50 +02:00
63409f03a9 add domain validation 2023-04-28 18:17:50 +02:00
806e1eb02d [Skip-CI] Fix method override 2023-04-28 18:17:50 +02:00
40e09d246d Format 2023-04-28 18:17:23 +02:00
423166d8b9 Remove Cyclic import 2023-04-28 18:17:23 +02:00
bom
70b5607d8e Resolve pylint errors in infrastructure_api.py 2023-04-28 18:17:23 +02:00
bom
e0b30adf9f Resolve pylint errors in common.py 2023-04-28 18:17:23 +02:00
bom
bc7d8e1d87 Resolve pylint errors in release.py 2023-04-28 18:16:17 +02:00
7cace08a87 [Skip-CI] More specific exception 2023-04-28 18:16:17 +02:00
82279011fa Fix pylint messages for repo 2023-04-28 18:16:17 +02:00
aa34558040 Remove unused imports 2023-04-28 18:16:17 +02:00
bom
a25453cdbf Make ReleaseContextRepository stateless 2023-04-28 18:15:47 +02:00
bom
b6b283d2b2 Add and use throw_if_invalid function
Validates objects and raises an error if they are invalid
2023-04-28 18:15:47 +02:00
35a5a69844 [Sip-CI] Update Type Hints 2023-04-28 18:15:47 +02:00
f921a8a2ae Remove deprecated function 2023-04-28 18:14:02 +02:00
7e23080cff Refactor to C4kBuild 2023-04-28 18:14:02 +02:00
79de907396 refactor to domain-object creation by dict 2023-04-28 17:49:28 +02:00
9e519519cb [Skip-CI] Fix method override 2023-04-28 15:33:29 +02:00
172d0b848f Format 2023-04-28 15:32:15 +02:00
93d6063e6e Remove Cyclic import 2023-04-28 15:31:54 +02:00
bom
af0d6cc43e Resolve pylint errors in infrastructure_api.py 2023-04-28 15:01:03 +02:00
bom
837b58d5b8 Resolve pylint errors in common.py 2023-04-28 14:57:19 +02:00
bom
c70daa346d Resolve pylint errors in release.py 2023-04-28 14:50:35 +02:00
481d20a14c introduce devops factory 2023-04-28 14:49:23 +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
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
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