...
call continuous delivery to change repository source
tag
branch & commit
call continuous delivery to change image source
image_tag
image_name
image_prefix
image_tag & image_name image_tag & image_name & image_prefix
you can also call to change both repository and image
_name & image_prefixsource
env_list is optional if not specified SOAJS will check all environments
...
Case1: Calling soajs CD to change the repository source:
...
key, cd_auth, name, version, type
image_tag
env_list []
Check all the env from the env_list if this item is deployed from this image
if cd strategy is auto, rebuild(change to the provide image tag) and add notification
if cd strategy is notify, add notification
if deployed not from this image do nothing
Add a ledger record with a complete report about what happened.
...
Add a ledger record with a complete report about what happened.
...
Case2Case5: Calling soajs CD required with the following params:
key, cd_auth, name, version, type
branch
commit
env_list []
image_tag (optional)
Check all the env from the env_list if this item is deployed from this branch and
...
Add a ledger record with a complete report about what happened.
...
Case3Case6: Calling soajs CD required with the following params:
key, cd_auth, name, version, type
tag
env_list []
image_tag (optional)
Check all the env from the env_list if this item is deployed from a tag and
...
Add a ledger record with a complete report about what happened.
...
Case4Case7: Calling soajs CD required with the following params:
key, cd_auth, name, version, type
env_list []
image_tag
image_name
image_prefix
...
if cd strategy is auto, rebuild(change to the provide image tag, name and/or prefix) and add notification
if cd strategy is notify, add notificationif deployed not from this image do nothing
Add a ledger record with a complete report about what happened.
...