tests: move integration tests into separate folder, add separate pipeline task

This commit is contained in:
Jens Langhammer
2020-11-19 14:25:53 +01:00
parent 0a8d4eecae
commit 9c3bc4eb38
24 changed files with 156 additions and 108 deletions

View File

@ -28,11 +28,12 @@ class PassbookOutpostConfig(AppConfig):
def ready(self):
import_module("passbook.outposts.signals")
try:
self.init_local_connection()
PassbookOutpostConfig.init_local_connection()
except ProgrammingError:
pass
def init_local_connection(self):
@staticmethod
def init_local_connection():
"""Check if local kubernetes or docker connections should be created"""
from passbook.outposts.models import (
KubernetesServiceConnection,