Skip to content

Commit

Permalink
Rename satorictl => satori-storage-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
DanNixon committed Jan 29, 2025
1 parent e068fe1 commit e02a385
Show file tree
Hide file tree
Showing 25 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ jobs:
package:
- satori-agent
- satori-archiver
- satorictl
- satori-event-processor
- satori-storage-cli

steps:
- uses: actions/checkout@v4
Expand Down
34 changes: 17 additions & 17 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ members = [

"agent",
"archiver",
"ctl",
"event-processor",
"storage-cli",

"integration-tests",
]
Expand Down
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@
packages =
import ./agent {inherit pkgs rustPlatform version gitRevision nativeBuildInputs buildInputs;}
// import ./archiver {inherit pkgs rustPlatform version gitRevision nativeBuildInputs buildInputs;}
// import ./ctl {inherit pkgs rustPlatform version gitRevision nativeBuildInputs buildInputs;}
// import ./event-processor {inherit pkgs rustPlatform version gitRevision nativeBuildInputs buildInputs;};
// import ./event-processor {inherit pkgs rustPlatform version gitRevision nativeBuildInputs buildInputs;}
// import ./storage-cli {inherit pkgs rustPlatform version gitRevision nativeBuildInputs buildInputs;};
}
);
}
2 changes: 1 addition & 1 deletion ctl/Cargo.toml → storage-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "satorictl"
name = "satori-storage-cli"
license.workspace = true
version.workspace = true
edition.workspace = true
Expand Down
12 changes: 6 additions & 6 deletions ctl/default.nix → storage-cli/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
buildInputs,
nativeBuildInputs,
}: rec {
satorictl = rustPlatform.buildRustPackage {
pname = "satorictl";
satori-storage-cli = rustPlatform.buildRustPackage {
pname = "satori-storage-cli";
version = version;

src = ./..;
Expand All @@ -16,16 +16,16 @@
nativeBuildInputs = nativeBuildInputs;
buildInputs = buildInputs;

cargoBuildFlags = ["--package satorictl"];
cargoBuildFlags = ["--package satori-storage-cli"];

GIT_REVISION = gitRevision;

# No need to do tests here, testing should have already been done earlier in CI pipeline
doCheck = false;
};

satorictl-container-image = pkgs.dockerTools.buildImage {
name = "satorictl";
satori-storage-cli-container-image = pkgs.dockerTools.buildImage {
name = "satori-storage-cli";
tag = "latest";
created = "now";

Expand All @@ -36,7 +36,7 @@
};

config = {
Entrypoint = ["${pkgs.tini}/bin/tini" "--" "${satorictl}/bin/satorictl"];
Entrypoint = ["${pkgs.tini}/bin/tini" "--" "${satori-storage-cli}/bin/satori-storage-cli"];
Env = [
"SSL_CERT_FILE=${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
];
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ fn render_event_info_pane<B: Backend>(f: &mut Frame<B>, app: &mut App, area: Rec

fn render_app_info_pane<B: Backend>(f: &mut Frame<B>, _: &mut App, area: Rect) {
let title = Line::from(vec![
Span::styled("satorictl", Style::default().add_modifier(Modifier::BOLD)),
Span::styled("Satori storage explorer", Style::default().add_modifier(Modifier::BOLD)),
Span::raw(" "),
Span::raw(satori_common::version!()),
]);
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e02a385

Please sign in to comment.