Skip to content
This repository was archived by the owner on Feb 16, 2024. It is now read-only.

Commit d688816

Browse files
committed
Update stacks.yaml and releases.yaml to point to GitHub
1 parent 794b2fe commit d688816

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

src/arguments.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ pub struct CliArgs {
4343
pub helm_repo_stackable_dev: String,
4444

4545
/// If you don't have access to the Stackable GitHub repos or you want to maintain your own releases you can specify additional YAML files containing release information.
46-
/// Have a look here <TODO link when exists> for the structure.
46+
/// Have a look [here](https://raw.githubusercontent.com/stackabletech/stackablectl/main/releases.yaml) for the structure.
4747
/// Can either be an URL or a path to a file e.g. `https://my.server/my-releases.yaml` or '/etc/my-releases.yaml' or `C:\Users\Sebastian\my-releases.yaml`.
4848
/// Can be specified multiple times.
4949
#[clap(long, multiple_occurrences(true))]
5050
pub additional_release_files: Vec<String>,
5151

5252
/// If you don't have access to the Stackable GitHub repos or you want to maintain your own stacks you can specify additional YAML files containing stack information.
53-
/// Have a look here <TODO link when exists> for the structure.
53+
/// Have a look [here](https://raw.githubusercontent.com/stackabletech/stackablectl/main/stacks.yaml) for the structure.
5454
/// Can either be an URL or a path to a file e.g. `https://my.server/my-stacks.yaml` or '/etc/my-stacks.yaml' or `C:\Users\Sebastian\my-stacks.yaml`.
5555
/// Can be specified multiple times.
5656
#[clap(long, multiple_occurrences(true))]

src/release.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ use std::process::exit;
1212
use std::sync::Mutex;
1313

1414
lazy_static! {
15-
pub static ref RELEASE_FILES: Mutex<Vec<String>> =
16-
Mutex::new(vec!["releases.yaml".to_string()]);
15+
pub static ref RELEASE_FILES: Mutex<Vec<String>> = Mutex::new(vec![
16+
"https://raw.githubusercontent.com/stackabletech/stackablectl/main/releases.yaml"
17+
.to_string()
18+
]);
1719
}
1820

1921
#[derive(Parser)]

src/stack.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ use std::ops::Deref;
1010
use std::sync::Mutex;
1111

1212
lazy_static! {
13-
pub static ref STACK_FILES: Mutex<Vec<String>> = Mutex::new(vec!["stacks.yaml".to_string()]);
13+
pub static ref STACK_FILES: Mutex<Vec<String>> = Mutex::new(vec![
14+
"https://raw.githubusercontent.com/stackabletech/stackablectl/main/stacks.yaml".to_string()
15+
]);
1416
}
1517

1618
#[derive(Parser)]

0 commit comments

Comments
 (0)