diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-03-06 16:59:39 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-03-06 16:59:39 -0500 |
commit | aa0a61a049c9bdfea0f31570ec891d2ed8ce775d (patch) | |
tree | 6f40a069bc8140f35ceec3a3175786c0ef54e00c /include | |
parent | 50423a9c3c440e0cf94c0b69a39c640343335948 (diff) | |
download | stasis-aa0a61a049c9bdfea0f31570ec891d2ed8ce775d.tar.gz |
Refactor deployment structure
* Consolidate jfrog and docker into deploy member
* Fix template registers
Diffstat (limited to 'include')
-rw-r--r-- | include/deliverable.h | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/include/deliverable.h b/include/deliverable.h index 41f65c1..0aad8ab 100644 --- a/include/deliverable.h +++ b/include/deliverable.h @@ -137,20 +137,24 @@ struct Delivery { } tests[1000]; ///< An array of tests struct Deploy { - struct StrList *files; - struct JFRT_Auth auth_ctx; - struct JFRT_Upload upload_ctx; - char *repo; - char *dest; - } deploy[1000]; - - struct Docker { - struct DockerCapabilities capabilities; - char *dockerfile; - char *registry; - struct StrList *build_args; - struct StrList *tags; - } docker; + struct JFrog { + struct StrList *files; + struct JFRT_Auth auth_ctx; + struct JFRT_Upload upload_ctx; + char *repo; + char *dest; + } jfrog[1000]; + + struct Docker { + struct DockerCapabilities capabilities; + char *image_compression; + char *dockerfile; + char *registry; + char *test_script; + struct StrList *build_args; + struct StrList *tags; + } docker; + } deploy; struct Rule { struct INIFILE *_handle; |