Skip to content

Commit

Permalink
remove gov tc
Browse files Browse the repository at this point in the history
  • Loading branch information
apurbraj committed Jul 12, 2024
1 parent ec27413 commit 399ac68
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ jobs:
- run:
name: Run Helm Tests
command: |
helm test g2p-sandbox --filter name=g2p-sandbox-test-gov --namespace paymenthub || echo test
# helm test g2p-sandbox --filter name=g2p-sandbox-test-gov --namespace paymenthub || echo test
helm test g2p-sandbox --filter name=g2p-sandbox-test-ams --namespace paymenthub || echo test
- run:
Expand Down Expand Up @@ -534,23 +534,9 @@ jobs:
echo " " >> all_pod_logs.log
done
echo "Fetch Integration Test Report for GOV"
kubectl cp paymenthub/`kubectl get pods -n paymenthub | grep g2p-sandbox-test-gov |cut -d " " -f1`:/ph-ee-connector-integration-test/build integration_report/test-report
# Specify the path to the downloaded file
downloaded_file="integration_report/test-report/cucumber.xml"
# Loop until the file is not empty
while [ ! -s $downloaded_file ]; do
echo "File is empty, waiting..."
sleep 60 # You can adjust the sleep interval as needed
kubectl cp paymenthub/`kubectl get pods -n paymenthub | grep g2p-sandbox-test-gov |cut -d " " -f1`:/ph-ee-connector-integration-test/build integration_report/test-report
downloaded_file="integration_report/test-report/cucumber.xml"
done
echo "File is no longer empty, processing..."
mv integration_report/test-report/cucumber.xml integration_report/test-report/cucumber_gov.xml
# mv integration_report/test-report/reports/tests/test integration_report/test-report/reports/tests/test_gov
mkdir -p integration_report_final
cp integration_report/test-report/cucumber_gov.xml integration_report_final/ || echo ""
# cp integration_report/test-report/cucumber_gov.xml integration_report_final/ || echo ""
cp integration_report/test-report/cucumber_ams.xml integration_report_final/ || echo ""
ls integration_report/test-report/
Expand Down

0 comments on commit 399ac68

Please sign in to comment.