-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathmise.toml
More file actions
43 lines (36 loc) · 1.86 KB
/
mise.toml
File metadata and controls
43 lines (36 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Configuration for https://mise.jdx.dev/ as an alternative to asdf, jabba, sdkman, rvm, nvm etc
[settings]
ruby.compile = false
[tools]
"java" = "temurin-25"
"ruby" = "4.0"
"aqua:getgauge/gauge" = { version = "1", postinstall = "gauge install" }
"chromedriver" = { version = "latest", os = ["linux", "macos"] } # plugin not working on Windows with pwsh right now :(
"github:mozilla/geckodriver" = { version = "latest", os = ["linux", "macos"] }
"jq" = "latest"
"regctl" = "latest"
[tasks]
"prepare:gocd-clean" = { run = "cd ../gocd && ./gradlew clean && cd ../go-plugins && ./gradlew clean" }
"prepare:test-clean" = { run = "cd ../ruby-functional-tests && bundle install && bundle exec rake clean_test" }
"prepare:gocd" = {
wait_for = "prepare:gocd-clean",
run = "cd ../gocd && ./gradlew installers:agentGenericZip installers:serverGenericZip installers:versionFile publishToMavenLocal"
}
"prepare:go-plugins" = {
wait_for = ["prepare:gocd-clean", "prepare:gocd"],
run = "cd ../go-plugins && ./gradlew assemble copyJarsToOnePlace -PgoVersion=$(jq '.go_full_version' -r ../gocd/installers/target/distributions/meta/version.json)"
}
"prepare:test" = {
depends = ["prepare:gocd", "prepare:go-plugins"],
wait_for = "prepare:test-clean",
run = "cd ../ruby-functional-tests && bundle exec rake GO_VERSION=$(jq '.go_version' -r ../gocd/installers/target/distributions/meta/version.json) prepare"
}
"prepare" = {
depends = ["prepare:gocd", "prepare:go-plugins", "prepare:test"],
wait_for = ["prepare:test-clean", "test:kill"]
}
"clean" = {
depends = ["prepare:gocd-clean", "prepare:test-clean", "test:kill", "prepare"],
}
"test" = { run = "cd ../ruby-functional-tests && bundle exec rake GO_VERSION=$(jq '.go_version' -r ../gocd/installers/target/distributions/meta/version.json) test" }
"test:kill" = { run = "cd ../ruby-functional-tests && bundle exec rake kill" }