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
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
de1bd0570b
Resolve warnings in release_mixin_service
2023-05-19 12:25:21 +02:00
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
e31d86ab69
refactor: test_helper -> helper
2023-05-13 16:09:03 +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
6766691ee7
Add review comments for version
2023-05-11 15:20:49 +02:00
64116edcb4
Use list comprehension instead of for
2023-05-11 15:03:32 +02:00
9e7bef2066
Fix Typo: executabel -> executable
2023-05-11 15:00:37 +02:00
599f654de8
Fix syntax error
2023-05-11 15:00:15 +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
8fd243a60d
WIP fixing tests
2023-05-02 13:10:27 +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
1ce070beac
split tests
2023-04-29 16:44:10 +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
f4f27ed88a
fix test_devops_build
2023-04-28 18:26:02 +02:00
2add0a76a2
format
2023-04-28 18:17:50 +02:00
e501525db2
fix tests
2023-04-28 18:17:50 +02:00
1da73523d9
add test_helper for improved testing & fix devops_test
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
70b5607d8e
Resolve pylint errors in infrastructure_api.py
2023-04-28 18:17:23 +02:00
e0b30adf9f
Resolve pylint errors in common.py
2023-04-28 18:17:23 +02:00
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
a25453cdbf
Make ReleaseContextRepository stateless
2023-04-28 18:15:47 +02:00
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
62b6465d01
Remove unused files
2023-04-28 18:14:02 +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
af0d6cc43e
Resolve pylint errors in infrastructure_api.py
2023-04-28 15:01:03 +02:00
837b58d5b8
Resolve pylint errors in common.py
2023-04-28 14:57:19 +02:00
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
d801a71b49
Make ReleaseContextRepository stateless
2023-04-28 14:20:22 +02:00
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
2ad63b8a75
Remove unused files
2023-04-28 13:32:40 +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
a28a1b43d3
Stop mocking domain objects
...
Resolves 1 TODO
2023-04-27 15:01:07 +02:00
35465b543b
Make services stateless
...
Resolves 2 TODOs
2023-04-27 14:46:49 +02:00
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
134ee68cfa
Remove deprecated SystemAPI
2023-04-21 14:52:06 +02:00
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
3d29277285
tried to get debugg outputs
2023-04-21 14:20:03 +02:00
b6f03c70c5
Comment out tewst for later use
2023-04-21 14:06:40 +02:00
223ba498d3
Review TODOs
2023-04-21 13:49:12 +02:00
381baa2eb2
[Skip CI] Uncomment assertion in test_image_build
...
Add logging.
2023-04-21 12:19:01 +02:00
580bf81c15
Fix CI: Remove whitespaces, add newlines
2023-04-20 17:01:04 +02:00
066c874734
DDD Refactor: Use only init with object
2023-04-20 16:27:04 +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
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
50faa89f6e
Implement infrastructure for ReleaseTypes from Environment
2023-03-17 11:52:22 +01:00
befb5eb653
Add EnvironmentApi
2023-03-17 11:32:01 +01:00
85250f1c5f
Change inconsistent api naming
2023-03-17 11:29:25 +01:00
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
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
4575785dfa
Rename release-mixin to release_mixin
2023-03-10 13:39:31 +01:00
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