[AAE-15436] Fix init-aae-env await for apps to be deployed (#8697)

* [AAE-15436] Await for the applications to be deployed, add logger infos

* [AAE-15436] Updated README with the envs usage
This commit is contained in:
Amedeo Lepore
2023-06-23 15:13:55 +02:00
committed by GitHub
parent 0fc904eee2
commit 74fd03b553
2 changed files with 10 additions and 2 deletions

View File

@@ -400,7 +400,10 @@ async function deployWithPayload(currentAbsentApp: any, projectRelease: any, env
environmentId: envId
};
deploy(deployPayload);
logger.info(`Deploying ${currentAbsentApp.name} ${envId ? 'on env: ' + envId : '' }`);
await deploy(deployPayload);
logger.info(`Deployed ${currentAbsentApp.name} ${envId ? 'on env: ' + envId : '' }`);
}
async function checkDescriptorExist(name: string) {