File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 - " *"
99
1010jobs :
11- rops- build-amd64 :
11+ build-amd64 :
1212 name : Build rops binary for amd64
1313 runs-on : ubuntu-22.04
1414 steps :
2525 if-no-files-found : error
2626 path : target/release/rops
2727
28- rops- build-arm64 :
28+ build-arm64 :
2929 name : Build rops binary for arm64
3030 runs-on : ubuntu-22.04
3131 steps :
4444 if-no-files-found : error
4545 path : rops/target/aarch64-unknown-linux-gnu/release/rops
4646
47- rops- release :
47+ release :
4848 name : Release rops binary
4949 needs : [rops-build-amd64, rops-build-arm64]
5050 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 11# rOps
22
33Rust operations tool for managing Docker images and Helm charts deployment.
4+
5+
6+ ## Configuration
7+
8+ 1 . Add a new file named ` rops.toml ` at the root of your project
Original file line number Diff line number Diff line change @@ -53,7 +53,8 @@ fn main() {
5353
5454fn run_app ( ) -> error:: RopsResult < ( ) > {
5555 // Read configuration file
56- let settings = settings:: Settings :: load ( "devops.config.toml" ) ;
56+ let config_name = std:: env:: var ( "ROPS_CONFIG" ) . unwrap_or_else ( |_| "rops.toml" . to_string ( ) ) ;
57+ let settings = settings:: Settings :: load ( & config_name) ;
5758
5859 let app = CliArgs :: parse ( ) ;
5960 match app {
You can’t perform that action at this time.
0 commit comments