Skip to content

Commit

Permalink
Merge 75ba618 into eb0e050
Browse files Browse the repository at this point in the history
  • Loading branch information
fuxingloh authored Feb 5, 2023
2 parents eb0e050 + 75ba618 commit 0ba147a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,14 @@
"matchPackagePatterns": ["jest"],
"groupName": "jest"
}
],
"regexManagers": [
{
"datasourceTemplate": "docker",
"fileMatch": ["packages/testcontainers/src/.+Container\\.ts$"],
"matchStrings": [
" return '(?<depName>.*?):(?<currentValue>.*?)' // renovate.json regexManagers"
]
}
]
}
2 changes: 1 addition & 1 deletion packages/testcontainers/src/containers/DeFiDContainer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export abstract class DeFiDContainer extends DockerContainer {
if (process?.env?.DEFICHAIN_DOCKER_IMAGE !== undefined) {
return process.env.DEFICHAIN_DOCKER_IMAGE
}
return 'defi/defichain:HEAD-5e41f6f20'
return 'defi/defichain:HEAD-5e41f6f20' // renovate.json regexManagers
}

public static readonly DefaultStartOptions = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class NativeChainContainer extends GenericContainer {
if (process?.env?.DEFICHAIN_DOCKER_IMAGE !== undefined) {
return process.env.DEFICHAIN_DOCKER_IMAGE
}
return 'defi/defichain:3.2.2'
return 'defi/defichain:3.2.2' // renovate.json regexManagers
}

public static readonly PREFIX = 'defichain-testcontainers-'
Expand Down Expand Up @@ -157,6 +157,7 @@ export class NativeChainContainer extends GenericContainer {
}

private readonly addedCmds: string[] = []

public addCmd (newCmd: string): this {
this.addedCmds.push(newCmd)
return this
Expand Down

0 comments on commit 0ba147a

Please sign in to comment.