diff --git a/stack_orchestrator/util.py b/stack_orchestrator/util.py index 7e1e442c..3e0fb3f1 100644 --- a/stack_orchestrator/util.py +++ b/stack_orchestrator/util.py @@ -155,9 +155,8 @@ def resolve_job_compose_file(stack, job_name: str): if proposed_file.exists(): return proposed_file # If we don't find it fall through to the internal case - # TODO: Add internal compose-jobs directory support if needed - # For now, jobs are expected to be in external stacks only - compose_jobs_base = Path(stack).parent.parent.joinpath("compose-jobs") + data_dir = Path(__file__).absolute().parent.joinpath("data") + compose_jobs_base = data_dir.joinpath("compose-jobs") return compose_jobs_base.joinpath(f"docker-compose-{job_name}.yml")