Skip to content

Commit

Permalink
seprate CI jobs test-windows5
Browse files Browse the repository at this point in the history
Signed-off-by: Jingwei Wang <[email protected]>
  • Loading branch information
sky1122 committed Jan 6, 2025
1 parent 10b6fd0 commit 764106a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/e2e-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,29 +159,29 @@ jobs:
- name: Check and upload e2e tests reports to s3 bucket
if: ${{ always() }}
run: |
VM_REPORT="${{ github.workspace }}\downloaded-reports\${{ github.run_id }}-${{ github.run_attempt }}-e2e-vm-report.json"
CONTAINER_REPORT="${{ github.workspace }}\downloaded-reports\${{ github.run_id }}-${{ github.run_attempt }}-e2e-container-report.json"
VM_SERIAL_REPORT="${{ github.workspace }}\downloaded-reports\${{ github.run_id }}-${{ github.run_attempt }}-e2e-vm-serial-report.json"
$env:VM_REPORT = "${{ github.workspace }}\downloaded-reports\${{ github.run_id }}-${{ github.run_attempt }}-e2e-vm-report.json"
$env:CONTAINER_REPORT = "${{ github.workspace }}\downloaded-reports\${{ github.run_id }}-${{ github.run_attempt }}-e2e-container-report.json"
$env:VM_SERIAL_REPORT = "${{ github.workspace }}\downloaded-reports\${{ github.run_id }}-${{ github.run_attempt }}-e2e-vm-serial-report.json"
if (Test-Path $VM_REPORT) {
if (Test-Path $env:VM_REPORT) {
Write-Host "VM report file exists. Uploading to S3..."
aws s3 cp $VM_REPORT "s3://finch-e2e-test-log-reports/windows-${{ inputs.arch }}/${{ github.run_id }}-${{ github.run_attempt }}-e2e-vm-report.json"
aws s3 cp $env:VM_REPORT "s3://finch-e2e-test-log-reports/windows-${{ inputs.arch }}/${{ github.run_id }}-${{ github.run_attempt }}-e2e-vm-report.json"
Write-Host "VM report uploaded successfully."
} else {
Write-Host "VM report file does not exist. Skipping upload."
}
if (Test-Path $CONTAINER_REPORT) {
if (Test-Path $env:CONTAINER_REPORT) {
Write-Host "Container report file exists. Uploading to S3..."
aws s3 cp $CONTAINER_REPORT "s3://finch-e2e-test-log-reports/windows-${{ inputs.arch }}/${{ github.run_id }}-${{ github.run_attempt }}-e2e-container-report.json"
aws s3 cp $env:CONTAINER_REPORT "s3://finch-e2e-test-log-reports/windows-${{ inputs.arch }}/${{ github.run_id }}-${{ github.run_attempt }}-e2e-container-report.json"
Write-Host "Container report uploaded successfully."
} else {
Write-Host "Container report file does not exist. Skipping upload."
}
if (Test-Path $VM_SERIAL_REPORT) {
if (Test-Path $env:VM_SERIAL_REPORT) {
Write-Host "VM serial report file exists. Uploading to S3..."
aws s3 cp $VM_SERIAL_REPORT "s3://finch-e2e-test-log-reports/windows-${{ inputs.arch }}/${{ github.run_id }}-${{ github.run_attempt }}-e2e-vm-serial-report.json.json"
aws s3 cp $env:VM_SERIAL_REPORT "s3://finch-e2e-test-log-reports/windows-${{ inputs.arch }}/${{ github.run_id }}-${{ github.run_attempt }}-e2e-vm-serial-report.json"
Write-Host "VM serial report uploaded successfully."
} else {
Write-Host "VM serial report file does not exist. Skipping upload."
Expand Down

0 comments on commit 764106a

Please sign in to comment.