-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* start to switch to hcl * start to re-implement error * start to report error * finish error reporting * remove rcl
- Loading branch information
Showing
31 changed files
with
1,831 additions
and
1,215 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
use "test.tr" { | ||
job "job2" {} | ||
} | ||
|
||
job "job1" { | ||
action "copy" { | ||
name = "the first action" | ||
params { | ||
src = "/tmp/test.tr" | ||
dest = "/tmp/test.conf" | ||
} | ||
} | ||
action "job" { | ||
params { | ||
name = "job2" | ||
} | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
job "job2" { | ||
action "copy" { | ||
name = "the first action in job2" | ||
params { | ||
src = "/tmp/test.tr" | ||
dest = "/tmp/test.conf" | ||
} | ||
} | ||
} |
Empty file.
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
use "jobs/job1/main.tr" { | ||
job "job1" { | ||
} | ||
} | ||
|
||
use "tiron.tr" { | ||
group "group2" {} | ||
} | ||
|
||
group "production" { | ||
host "localhost" { | ||
apache = "apache2" | ||
} | ||
} | ||
|
||
group "gropu3" { | ||
group "group2" {} | ||
} | ||
|
||
run "production" { | ||
name = "initial run" | ||
remote_user = "dz" | ||
become = true | ||
|
||
action "package" { | ||
params { | ||
name = [apache, "mariadb-connector-c", "${apache}"] | ||
state = "present" | ||
} | ||
} | ||
|
||
action "copy" { | ||
params { | ||
src = "/tmp/test.tr" | ||
dest = "/tmp/test.conf" | ||
} | ||
} | ||
|
||
action "job" { | ||
name = "run job1" | ||
params { | ||
name = "job1" | ||
} | ||
} | ||
} | ||
|
||
run "group2" { | ||
remote_user = "dz" | ||
|
||
action "job" { | ||
params { | ||
name = "job1" | ||
} | ||
} | ||
action "copy" { | ||
params { | ||
src = "/tmp/test.tr" | ||
dest = "/tmp/test.conf" | ||
} | ||
} | ||
action "job" { | ||
params { | ||
name = "job1" | ||
} | ||
} | ||
action "job" { | ||
params { | ||
name = "job1" | ||
} | ||
} | ||
} |
Oops, something went wrong.