only run if CI=true and delete kind command to clean workspace
Signed-off-by: Matteo Silvestri <matteosilv@gmail.com>
This commit is contained in:
@@ -25,13 +25,12 @@ import {
|
||||
} from './KubernetesContainerRunner';
|
||||
import { RunContainerOptions } from './ContainerRunner';
|
||||
import { PassThrough } from 'stream';
|
||||
import { isDockerDisabledForTests } from '@backstage/backend-test-utils';
|
||||
|
||||
const describeIfDocker = isDockerDisabledForTests() ? describe.skip : describe;
|
||||
const describeIfCI = Boolean(process.env.CI) ? describe : describe.skip;
|
||||
|
||||
jest.setTimeout(10 * 1000);
|
||||
|
||||
describeIfDocker('KubernetesContainerRunner', () => {
|
||||
describeIfCI('KubernetesContainerRunner', () => {
|
||||
const kubeConfig = new KubeConfig();
|
||||
kubeConfig.loadFromDefault();
|
||||
const name = 'kube-runner';
|
||||
|
||||
Reference in New Issue
Block a user