ci: Test container enhancements (#17008)

This commit is contained in:
shortstacked
2025-07-10 11:50:03 +01:00
committed by GitHub
parent 2294c3d71b
commit be3e75dbee
23 changed files with 408 additions and 154 deletions

View File

@@ -1,4 +1,5 @@
import { ImagePullPolicy, PullPolicy } from 'testcontainers';
import type { ImagePullPolicy } from 'testcontainers';
import { PullPolicy } from 'testcontainers';
/**
* Custom pull policy for n8n images:
@@ -8,7 +9,7 @@ import { ImagePullPolicy, PullPolicy } from 'testcontainers';
export class N8nImagePullPolicy implements ImagePullPolicy {
constructor(private readonly image: string) {}
public shouldPull(): boolean {
shouldPull(): boolean {
if (this.image === 'n8nio/n8n:local') {
return false;
}