bug fixes

This commit is contained in:
Jyotsna 2020-11-20 23:52:46 +05:30
parent aa2e43b5c4
commit 79d7af7e76
2 changed files with 4 additions and 2 deletions

View File

@ -38,7 +38,8 @@ function getWorkflowAnnotationsJson(lastSuccessRunSha, workflowFilePath, filePat
+ `'lastSuccessRunCommit': '${lastSuccessRunSha}',`
+ `'branch': '${process.env.GITHUB_REF}',`
+ `'deployTimestamp': '${Date.now()}',`
+ `'filePathConfigs': '${filePathConfigs}',`
+ `'manifestsPaths': '${JSON.stringify(filePathConfigs.manifestFilePaths)}',`
+ `'dockerfilePaths': '${JSON.stringify(filePathConfigs.buildConfigs)}',`
+ `'provider': 'GitHub'`
+ `}`;
}

View File

@ -38,7 +38,8 @@ export function getWorkflowAnnotationsJson(lastSuccessRunSha: string, workflowFi
+ `'lastSuccessRunCommit': '${lastSuccessRunSha}',`
+ `'branch': '${process.env.GITHUB_REF}',`
+ `'deployTimestamp': '${Date.now()}',`
+ `'filePathConfigs': '${filePathConfigs}',`
+ `'manifestsPaths': '${JSON.stringify(filePathConfigs.manifestFilePaths)}',`
+ `'dockerfilePaths': '${JSON.stringify(filePathConfigs.buildConfigs)}',`
+ `'provider': 'GitHub'`
+ `}`;
}