lint
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 37s
Smoke Test / Run basic test suite (pull_request) Successful in 4m15s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m35s
Deploy Test / Run deploy test suite (pull_request) Successful in 4m55s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 7m47s

This commit is contained in:
Thomas E Lackey 2024-08-08 17:36:47 -05:00
parent 5c65f9c432
commit 6b711a0cac
2 changed files with 2 additions and 1 deletions

View File

@ -92,7 +92,7 @@ class ClusterInfo:
if ":" in raw_port: if ":" in raw_port:
parts = raw_port.split(":") parts = raw_port.split(":")
if len(parts) != 2: if len(parts) != 2:
raise Error(f"Invalid port definition: {raw_port}") raise Exception(f"Invalid port definition: {raw_port}")
node_port = int(parts[0]) node_port = int(parts[0])
pod_port = int(parts[1]) pod_port = int(parts[1])
else: else:

View File

@ -16,6 +16,7 @@ from datetime import datetime, timezone
from pathlib import Path from pathlib import Path
from kubernetes import client, config from kubernetes import client, config
from typing import List
from stack_orchestrator import constants from stack_orchestrator import constants
from stack_orchestrator.deploy.deployer import Deployer, DeployerConfigGenerator from stack_orchestrator.deploy.deployer import Deployer, DeployerConfigGenerator