File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
src/OctoshiftCLI.IntegrationTests Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -247,6 +247,7 @@ jobs:
247247 AZURE_STORAGE_CONNECTION_STRING_GHES_WINDOWS : ${{ secrets.AZURE_STORAGE_CONNECTION_STRING_GHES_WINDOWS }}
248248 AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
249249 AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
250+ AWS_BUCKET_NAME : ${{ secrets.AWS_BUCKET_NAME }}
250251 LD_LIBRARY_PATH : ' $LD_LIBRARY_PATH:${{ github.workspace }}/src/OctoshiftCLI.IntegrationTests/bin/Debug/net6.0/runtimes/ubuntu.18.04-x64/native'
251252 run : dotnet test src/OctoshiftCLI.IntegrationTests/OctoshiftCLI.IntegrationTests.csproj --filter "${{ matrix.source-vcs }}ToGithub" --logger:"junit;LogFilePath=integration-tests.xml" /p:VersionPrefix=9.9
252253
Original file line number Diff line number Diff line change @@ -172,6 +172,7 @@ jobs:
172172 AZURE_STORAGE_CONNECTION_STRING_GHES_WINDOWS : ${{ secrets.AZURE_STORAGE_CONNECTION_STRING_GHES_WINDOWS }}
173173 AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
174174 AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
175+ AWS_BUCKET_NAME : ${{ secrets.AWS_BUCKET_NAME }}
175176 GEI_DEBUG_MODE : ' true'
176177 LD_LIBRARY_PATH : ' $LD_LIBRARY_PATH:${{ github.workspace }}/src/OctoshiftCLI.IntegrationTests/bin/Debug/net6.0/runtimes/ubuntu.18.04-x64/native'
177178 run : dotnet test src/OctoshiftCLI.IntegrationTests/OctoshiftCLI.IntegrationTests.csproj --filter "${{ matrix.source-vcs }}ToGithub" --logger:"junit;LogFilePath=integration-tests.xml" /p:VersionPrefix=9.9
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ public sealed class BbsToGithub : IDisposable
1616{
1717
1818 private const string SSH_KEY_FILE = "ssh_key.pem" ;
19- private const string AWS_BUCKET_NAME = "octoshift-migration-archives" ;
2019 private const string AWS_REGION = "us-east-1" ;
2120
2221 private readonly ITestOutputHelper _output ;
@@ -115,7 +114,8 @@ await retryPolicy.Retry(async () =>
115114 {
116115 _tokens . Add ( "AWS_ACCESS_KEY_ID" , Environment . GetEnvironmentVariable ( "AWS_ACCESS_KEY_ID" ) ) ;
117116 _tokens . Add ( "AWS_SECRET_ACCESS_KEY" , Environment . GetEnvironmentVariable ( "AWS_SECRET_ACCESS_KEY" ) ) ;
118- archiveUploadOptions = $ " --aws-bucket-name { AWS_BUCKET_NAME } --aws-region { AWS_REGION } ";
117+ var awsBucketName = Environment . GetEnvironmentVariable ( "AWS_BUCKET_NAME" ) ;
118+ archiveUploadOptions = $ " --aws-bucket-name { awsBucketName } --aws-region { AWS_REGION } ";
119119 }
120120
121121 await _targetHelper . RunBbsCliMigration (
You can’t perform that action at this time.
0 commit comments