Skip to content

Commit

Permalink
Add target repo name to command
Browse files Browse the repository at this point in the history
  • Loading branch information
begonaguereca committed Nov 18, 2024
1 parent ff6f6cc commit 1ae70af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/OctoshiftCLI.IntegrationTests/BbsToGithub.cs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public async Task MigrateRepo_MultipartUpload()
var bbsServer = "http://e2e-bbs-8-5-0-linux-2204.eastus.cloudapp.azure.com:7990";
var targetName = $"E2E -{TestHelper.GetOsName().ToUpper()}-e2e-{Guid.NewGuid()}";
var targetRepo = $"multi-part-{targetName}";
var archiveDownloadOptions = $" --ssh-user octoshift --ssh-private-key {SSH_KEY_FILE}";
var archiveDownloadOptions = $" --ssh-user octoshift --ssh-private-key {SSH_KEY_FILE} --ssh-port 22";
var sshKey = Environment.GetEnvironmentVariable(GetSshKeyName(bbsServer));
await File.WriteAllTextAsync(Path.Join(TestHelper.GetOsDistPath(), SSH_KEY_FILE), sshKey);

Expand All @@ -161,7 +161,7 @@ await retryPolicy.Retry(async () =>
await _targetHelper.ResetGithubTestEnvironment(githubTargetOrg);
});

var migrateRepoCommand = $"migrate-repo --github-org {githubTargetOrg} --bbs-server-url {bbsServer} --bbs-project {bbsProjectKey} --bbs-repo {bbsRepo}{archiveDownloadOptions} --use-github-storage";
var migrateRepoCommand = $"migrate-repo --github-org {githubTargetOrg} --bbs-server-url {bbsServer} --bbs-project {bbsProjectKey} --bbs-repo {bbsRepo} --github-repo{targetRepo}{archiveDownloadOptions} --use-github-storage";

await _targetHelper.RunBbsMigrateRepoCommand(migrateRepoCommand, _tokens);

Expand Down
2 changes: 1 addition & 1 deletion src/OctoshiftCLI.IntegrationTests/GithubToGithub.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public GithubToGithub(ITestOutputHelper output)
_helper = new TestHelper(_output, _githubApi, _githubClient);
}

[Fact]
// [Fact]
public async Task Basic()
{
var githubSourceOrg = $"octoshift-e2e-source-{TestHelper.GetOsName()}";
Expand Down

0 comments on commit 1ae70af

Please sign in to comment.