Last active
June 18, 2018 14:50
-
-
Save joan38/1ceaec88d08946eb5e1fd2877236bc08 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| object Orkestra extends OrkestraServer with GithubHooks with CronTriggers { | |
| lazy val board = Folder("Orkestra")( | |
| PullRequestChecks.board, | |
| CreateEnvironment.board, | |
| PublishBackend.board, | |
| DeployBackend.board, | |
| PublishAndDeploy.board, | |
| CopyData.board | |
| ) | |
| lazy val jobs = Set( | |
| PullRequestChecks.job, | |
| CreateEnvironment.job, | |
| PublishBackend.job, | |
| DeployBackend.job, | |
| PublishAndDeploy.job, | |
| CopyData.job | |
| ) | |
| lazy val githubTriggers = Set( | |
| PullRequestTrigger(Repository("myOrganisation/myRepo"), PullRequestChecks.job)(), | |
| BranchTrigger(Repository("myOrganisation/myRepo"), "master", PublishAndDeploy.job)("staging") | |
| ) | |
| lazy val cronTriggers = Set( | |
| CronTrigger("0 5 * * 1", CopyData.job)("prod", "staging") | |
| ) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment