mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-04-14 10:32:22 +08:00
Fixing annotations
This commit is contained in:
parent
db567f3869
commit
764402d855
@ -38,8 +38,8 @@ function getWorkflowAnnotationsJson(lastSuccessRunSha, workflowFilePath, filePat
|
|||||||
+ `'lastSuccessRunCommit': '${lastSuccessRunSha}',`
|
+ `'lastSuccessRunCommit': '${lastSuccessRunSha}',`
|
||||||
+ `'branch': '${process.env.GITHUB_REF}',`
|
+ `'branch': '${process.env.GITHUB_REF}',`
|
||||||
+ `'deployTimestamp': '${Date.now()}',`
|
+ `'deployTimestamp': '${Date.now()}',`
|
||||||
+ `'manifestsPaths': '${JSON.stringify(filePathConfigs.manifestFilePaths)}',`
|
+ `'manifestsPaths': '${filePathConfigs.manifestFilePaths}',`
|
||||||
+ `'dockerfilePaths': '${JSON.stringify(filePathConfigs.buildConfigs)}',`
|
+ `'dockerfilePaths': '${filePathConfigs.buildConfigs}',`
|
||||||
+ `'provider': 'GitHub'`
|
+ `'provider': 'GitHub'`
|
||||||
+ `}`;
|
+ `}`;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -38,8 +38,8 @@ export function getWorkflowAnnotationsJson(lastSuccessRunSha: string, workflowFi
|
|||||||
+ `'lastSuccessRunCommit': '${lastSuccessRunSha}',`
|
+ `'lastSuccessRunCommit': '${lastSuccessRunSha}',`
|
||||||
+ `'branch': '${process.env.GITHUB_REF}',`
|
+ `'branch': '${process.env.GITHUB_REF}',`
|
||||||
+ `'deployTimestamp': '${Date.now()}',`
|
+ `'deployTimestamp': '${Date.now()}',`
|
||||||
+ `'manifestsPaths': '${JSON.stringify(filePathConfigs.manifestFilePaths)}',`
|
+ `'manifestsPaths': '${filePathConfigs.manifestFilePaths}',`
|
||||||
+ `'dockerfilePaths': '${JSON.stringify(filePathConfigs.buildConfigs)}',`
|
+ `'dockerfilePaths': '${filePathConfigs.buildConfigs}',`
|
||||||
+ `'provider': 'GitHub'`
|
+ `'provider': 'GitHub'`
|
||||||
+ `}`;
|
+ `}`;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user