Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
cbartz committed Sep 5, 2024
1 parent 2c86775 commit 10a2f5c
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 221 deletions.
Empty file.
Empty file removed src/manager/runner_manager.py
Empty file.
215 changes: 0 additions & 215 deletions src/manager/runner_scaler.py

This file was deleted.

Empty file removed src/metrics/github.py
Empty file.
1 change: 0 additions & 1 deletion tests/integration/helpers/openstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from openstack.compute.v2.server import Server

from charm_state import VIRTUAL_MACHINES_CONFIG_NAME
from openstack_cloud.openstack_cloud import OpenstackCloud
from tests.integration.helpers.common import InstanceHelper, reconcile, run_in_unit, wait_for

logger = logging.getLogger(__name__)
Expand Down
7 changes: 4 additions & 3 deletions tests/unit/mock_runner_managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
from typing import Iterable, Iterator, Sequence
from unittest.mock import MagicMock

from charm_state import GitHubPath
from github_client import GithubClient
from github_type import GitHubRunnerStatus, SelfHostedRunner
from manager.cloud_runner_manager import (
CloudRunnerInstance,
CloudRunnerManager,
Expand All @@ -18,6 +15,10 @@
)
from manager.github_runner_manager import GitHubRunnerState
from metrics.runner import RunnerMetrics

from charm_state import GitHubPath
from github_client import GithubClient
from github_type import GitHubRunnerStatus, SelfHostedRunner
from tests.unit.mock import MockGhapiClient


Expand Down
4 changes: 2 additions & 2 deletions tests/unit/test_runner_scaler.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
from unittest.mock import MagicMock

import pytest

from charm_state import GitHubPath, GitHubRepo
from manager.cloud_runner_manager import CloudRunnerState, InstanceId
from manager.github_runner_manager import GitHubRunnerState
from manager.runner_manager import FlushMode, RunnerManager, RunnerManagerConfig
from manager.runner_scaler import RunnerScaler

from charm_state import GitHubPath, GitHubRepo
from tests.unit.mock_runner_managers import (
MockCloudRunnerManager,
MockGitHubRunnerManager,
Expand Down

0 comments on commit 10a2f5c

Please sign in to comment.