mac_maker.utilities.workspace

Workspace representation.

exception mac_maker.utilities.workspace.InvalidWorkspace[source]

Raised when an improperly configured Workspace is used.

class mac_maker.utilities.workspace.WorkSpace[source]

Workspace representation.

add_repository(repo, branch_name)[source]

Add a GitHub Repository to the current Workspace.

Parameters
  • repo (GithubRepository) – The GitHub Repository object.

  • branch_name (Optional[str]) – The GitHub Repository branch name.

Return type

None

add_spec_file()[source]

Generate and write a Job Spec file to this Workspace.

Raises

InvalidWorkspace

Return type

None