mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-06-26 22:59:27 +08:00
Add support for ScaledJob (#436)
* Added ScaledJob support * Fixed getReplicaCount error * Fixed file length error in fileUtils.test.ts * Adjust scaledJob spec path * Made updateImagesInK8sObj more concise
This commit is contained in:
@@ -49,7 +49,7 @@ describe('File utils', () => {
|
||||
'test/unit/manifests/basic-test.yml'
|
||||
]
|
||||
|
||||
expect(testSearch).toHaveLength(9)
|
||||
expect(testSearch).toHaveLength(10)
|
||||
expectedManifests.forEach((fileName) => {
|
||||
if (fileName.startsWith('test/unit')) {
|
||||
expect(testSearch).toContain(fileName)
|
||||
@@ -95,7 +95,7 @@ describe('File utils', () => {
|
||||
fileAtOuter,
|
||||
innerPath
|
||||
])
|
||||
).toHaveLength(8)
|
||||
).toHaveLength(9)
|
||||
})
|
||||
|
||||
it('throws an error for an invalid URL', async () => {
|
||||
|
||||
Reference in New Issue
Block a user