Fixing annotations

This commit is contained in:
Jyotsna 2020-11-21 00:18:06 +05:30
parent db567f3869
commit 764402d855
2 changed files with 4 additions and 4 deletions

View File

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

View File

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