Skip to content
Prev Previous commit
Next Next commit
Added license headers
  • Loading branch information
markphillips100 committed Jun 14, 2025
commit 87823da995b16de2090cc4d5d81542de1415185b
3 changes: 3 additions & 0 deletions src/configuration/gitops_config.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

class GitOpsConfig:
def __init__(self,
name,
Expand Down
3 changes: 3 additions & 0 deletions src/configuration/gitops_config_operator.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import kopf
import logging
from kubernetes import config as k8s_config
Expand Down
3 changes: 3 additions & 0 deletions src/configuration/gitops_connector_manager.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import logging
from configuration.gitops_connector import GitopsConnector
from configuration.gitops_config import GitOpsConfig
Expand Down
1 change: 1 addition & 0 deletions src/gitops_event_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def run_kopf_operator():
kopf_thread = Thread(target=run_kopf_operator)
kopf_thread.start()


@application.route("/gitopsphase", methods=['POST'])
def gitopsphase():
# Use per process timer to stash the time we got the request
Expand Down
1 change: 0 additions & 1 deletion src/orchestrators/cicd_orchestrator_factory.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.

import utils
from orchestrators.cicd_orchestrator import CicdOrchestratorInterface
from repositories.git_repository import GitRepositoryInterface
from orchestrators.azdo_cicd_orchestrator import AzdoCicdOrchestrator
Expand Down