Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
494 changes: 281 additions & 213 deletions CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "codspeed-runner"
version = "4.8.2"
edition = "2024"
repository = "https://github.com/CodSpeedHQ/runner"
repository = "https://github.com/CodSpeedHQ/codspeed"
publish = false

[[bin]]
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

CLI to gather performance data and upload performance reports to [CodSpeed](https://codspeed.io)

[![CI](https://github.com/CodSpeedHQ/runner/actions/workflows/ci.yml/badge.svg)](https://github.com/CodSpeedHQ/runner/actions/workflows/ci.yml)
[![CI](https://github.com/CodSpeedHQ/codspeed/actions/workflows/ci.yml/badge.svg)](https://github.com/CodSpeedHQ/codspeed/actions/workflows/ci.yml)
[![Discord](https://img.shields.io/badge/chat%20on-discord-7289da.svg)](https://discord.com/invite/MxpaCfKSqF)
[![CodSpeed Badge](https://img.shields.io/endpoint?url=https://codspeed.io/badge.json)](https://codspeed.io/)

Expand All @@ -21,16 +21,16 @@ The following CI providers are supported:

If you want to use the CLI with another provider, you can open an issue or chat with us on [Discord](https://discord.com/invite/MxpaCfKSqF) 🚀

You can check out the implementation of the [supported providers](https://github.com/CodSpeedHQ/runner/tree/main/src/run/run_environment) for reference.
You can check out the implementation of the [supported providers](https://github.com/CodSpeedHQ/codspeed/tree/main/src/run/run_environment) for reference.

## Installation

```bash
curl -fsSL https://github.com/CodSpeedHQ/runner/releases/latest/download/codspeed-runner-installer.sh | bash
curl -fsSL https://github.com/CodSpeedHQ/codspeed/releases/latest/download/codspeed-runner-installer.sh | bash
source "$HOME/.cargo/env"
```

Refer to the [releases page](https://github.com/CodSpeedHQ/runner/releases) to see all available versions.
Refer to the [releases page](https://github.com/CodSpeedHQ/codspeed/releases) to see all available versions.

## Usage

Expand Down
2 changes: 1 addition & 1 deletion crates/exec-harness/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "exec-harness"
version = "1.0.0"
edition = "2024"
repository = "https://github.com/CodSpeedHQ/runner"
repository = "https://github.com/CodSpeedHQ/codspeed"
publish = false

[[bin]]
Expand Down
2 changes: 1 addition & 1 deletion crates/memtrack/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "memtrack"
version = "1.2.0"
edition = "2024"
repository = "https://github.com/CodSpeedHQ/runner"
repository = "https://github.com/CodSpeedHQ/codspeed"
publish = false

[lib]
Expand Down
2 changes: 1 addition & 1 deletion src/exec/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ pub async fn execute_with_harness(

let get_exec_harness_installer_url = || {
format!(
"https://github.com/CodSpeedHQ/runner/releases/download/exec-harness-v{EXEC_HARNESS_VERSION}/exec-harness-installer.sh"
"https://github.com/CodSpeedHQ/codspeed/releases/download/exec-harness-v{EXEC_HARNESS_VERSION}/exec-harness-installer.sh"
)
};

Expand Down
6 changes: 3 additions & 3 deletions src/executor/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,16 +271,16 @@ mod tests {
#[test]
fn test_repository_override_from_arg() {
let override_result =
RepositoryOverride::from_arg("CodSpeedHQ/runner".to_string(), None).unwrap();
RepositoryOverride::from_arg("CodSpeedHQ/codspeed".to_string(), None).unwrap();
assert_eq!(override_result.owner, "CodSpeedHQ");
assert_eq!(override_result.repository, "runner");
assert_eq!(override_result.repository, "codspeed");
assert_eq!(
override_result.repository_provider,
RepositoryProvider::GitHub
);

let override_with_provider = RepositoryOverride::from_arg(
"CodSpeedHQ/runner".to_string(),
"CodSpeedHQ/codspeed".to_string(),
Some(RepositoryProvider::GitLab),
)
.unwrap();
Expand Down
2 changes: 1 addition & 1 deletion src/executor/memory/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ impl Executor for MemoryExecutor {
) -> Result<()> {
let get_memtrack_installer_url = || {
format!(
"https://github.com/CodSpeedHQ/runner/releases/download/memtrack-v{MEMTRACK_CODSPEED_VERSION}/memtrack-installer.sh"
"https://github.com/CodSpeedHQ/codspeed/releases/download/memtrack-v{MEMTRACK_CODSPEED_VERSION}/memtrack-installer.sh"
)
};

Expand Down
12 changes: 6 additions & 6 deletions src/run/helpers/parse_git_remote.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,33 +37,33 @@ mod tests {

#[test]
fn test_parse_git_remote() {
let remote = "git@github.com:CodSpeedHQ/runner.git";
let remote = "git@github.com:CodSpeedHQ/codspeed.git";
let git_remote = parse_git_remote(remote).unwrap();
insta::assert_debug_snapshot!(git_remote, @r###"
GitRemote {
domain: "github.com",
owner: "CodSpeedHQ",
repository: "runner",
repository: "codspeed",
}
"###);

let remote = "https://github.com/CodSpeedHQ/runner.git";
let remote = "https://github.com/CodSpeedHQ/codspeed.git";
let git_remote = parse_git_remote(remote).unwrap();
insta::assert_debug_snapshot!(git_remote, @r###"
GitRemote {
domain: "github.com",
owner: "CodSpeedHQ",
repository: "runner",
repository: "codspeed",
}
"###);

let remote = "https://github.com/CodSpeedHQ/runner";
let remote = "https://github.com/CodSpeedHQ/codspeed";
let git_remote = parse_git_remote(remote).unwrap();
insta::assert_debug_snapshot!(git_remote, @r###"
GitRemote {
domain: "github.com",
owner: "CodSpeedHQ",
repository: "runner",
repository: "codspeed",
}
"###);

Expand Down
8 changes: 4 additions & 4 deletions src/run_environment/local/provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,16 +279,16 @@ mod tests {
fn test_extract_provider_owner_and_repository_from_remote_url() {
let remote_urls = [
(
"git@github.com:CodSpeedHQ/runner.git",
"git@github.com:CodSpeedHQ/codspeed.git",
RepositoryProvider::GitHub,
"CodSpeedHQ",
"runner",
"codspeed",
),
(
"https://github.com/CodSpeedHQ/runner.git",
"https://github.com/CodSpeedHQ/codspeed.git",
RepositoryProvider::GitHub,
"CodSpeedHQ",
"runner",
"codspeed",
),
(
"git@gitlab.com:codspeed/runner.git",
Expand Down
Loading