added ACTIONS_ prefix and added cleanup kaniko pod

This commit is contained in:
Nikola Jokic
2022-09-29 10:46:03 +02:00
parent 67d3f481f5
commit 31a2cda987
2 changed files with 12 additions and 3 deletions

View File

@@ -78,6 +78,15 @@ export class TestHelper {
0
)
.catch(e => {})
await k8sApi
.deleteNamespacedPod(
`${this.podName}-kaniko`,
'default',
undefined,
undefined,
0
)
.catch(e => {})
}
public createFile(fileName?: string, content = ''): string {
const filePath = `${this.tempDirPath}/${fileName || uuidv4()}`