(branch, message)
| 388 | self.run_function("git.clone", [self.admin_repo], url=self.bare_repo, user=user) |
| 389 | |
| 390 | def _push(branch, message): |
| 391 | self.run_function("git.add", [self.admin_repo, "."], user=user) |
| 392 | self.run_function( |
| 393 | "git.commit", |
| 394 | [self.admin_repo, message], |
| 395 | user=user, |
| 396 | git_opts=self.git_opts, |
| 397 | ) |
| 398 | self.run_function( |
| 399 | "git.push", |
| 400 | [self.admin_repo], |
| 401 | remote="origin", |
| 402 | ref=branch, |
| 403 | user=user, |
| 404 | ) |
| 405 | |
| 406 | with salt.utils.files.fopen( |
| 407 | os.path.join(self.admin_repo, "top.sls"), "w" |
nothing calls this directly
no test coverage detected