diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 28cbf55b9..8652bc56d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -169,9 +169,17 @@ stages: dockerComposeFile: 'scripts/ci.docker-compose.yml' action: 'Run services' buildImages: false + - task: CmdLine@2 + displayName: Install K3d and prepare + input: + script: | + wget -q -O - https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash + k3d cluster create + k3d kubeconfig write -o ~/.kube/config --overwrite - task: CmdLine@2 inputs: script: | + export PB_TEST_K8S=true sudo pip install -U wheel pipenv pipenv install --dev - task: CmdLine@2 @@ -203,9 +211,17 @@ stages: dockerComposeFile: 'scripts/ci.docker-compose.yml' action: 'Run services' buildImages: false + - task: CmdLine@2 + displayName: Install K3d and prepare + input: + script: | + wget -q -O - https://raw.githubusercontent.com/rancher/k3d/main/install.sh | bash + k3d cluster create + k3d kubeconfig write -o ~/.kube/config --overwrite - task: CmdLine@2 inputs: script: | + export PB_TEST_K8S=true sudo pip install -U wheel pipenv pipenv install --dev - task: DockerCompose@0