comment out sharepoint and onedrive export longevity (#3967)
skipping problematic tests #### Type of change - [x] 🐛 Bugfix - [x] 🤖 Supportability/Tests
This commit is contained in:
parent
b9b58e8c30
commit
5fcb8a1f4d
90
.github/workflows/longevity_test.yml
vendored
90
.github/workflows/longevity_test.yml
vendored
@ -243,59 +243,61 @@ jobs:
|
|||||||
|
|
||||||
##########################################################################################################################################
|
##########################################################################################################################################
|
||||||
|
|
||||||
|
# skipped until supported
|
||||||
# Export OneDrive Test
|
# Export OneDrive Test
|
||||||
- name: OneDrive Export test
|
# - name: OneDrive Export test
|
||||||
run: |
|
# run: |
|
||||||
set -euo pipefail
|
# set -euo pipefail
|
||||||
echo -e "\Export OneDrive test\n" >> ${CORSO_LOG_FILE}
|
# echo -e "\Export OneDrive test\n" >> ${CORSO_LOG_FILE}
|
||||||
|
|
||||||
echo -e "\Export OneDrive test - first entry\n" >> ${CORSO_LOG_FILE}
|
# echo -e "\Export OneDrive test - first entry\n" >> ${CORSO_LOG_FILE}
|
||||||
./corso backup list onedrive 2>/dev/null | tail -n+2 | head -n1 | awk '{print $1}' |
|
# ./corso backup list onedrive 2>/dev/null | tail -n+2 | head -n1 | awk '{print $1}' |
|
||||||
while read -r line; do
|
# while read -r line; do
|
||||||
./corso export onedrive \
|
# ./corso export onedrive \
|
||||||
"/tmp/corso-export--$line" \
|
# "/tmp/corso-export--$line" \
|
||||||
--no-stats \
|
# --no-stats \
|
||||||
--backup "$line" \
|
# --backup "$line" \
|
||||||
2>&1 | tee ${{ env.CORSO_LOG_DIR }}/export_onedrive_first.txt
|
# 2>&1 | tee ${{ env.CORSO_LOG_DIR }}/export_onedrive_first.txt
|
||||||
done
|
# done
|
||||||
|
|
||||||
echo -e "\Export OneDrive test - last entry\n" >> ${CORSO_LOG_FILE}
|
# echo -e "\Export OneDrive test - last entry\n" >> ${CORSO_LOG_FILE}
|
||||||
./corso backup list onedrive 2>/dev/null | tail -n1 | awk '{print $1}' |
|
# ./corso backup list onedrive 2>/dev/null | tail -n1 | awk '{print $1}' |
|
||||||
while read -r line; do
|
# while read -r line; do
|
||||||
./corso export onedrive \
|
# ./corso export onedrive \
|
||||||
"/tmp/corso-export--$line" \
|
# "/tmp/corso-export--$line" \
|
||||||
--no-stats \
|
# --no-stats \
|
||||||
--backup "$line" \
|
# --backup "$line" \
|
||||||
2>&1 | tee ${{ env.CORSO_LOG_DIR }}/export_onedrive_last.txt
|
# 2>&1 | tee ${{ env.CORSO_LOG_DIR }}/export_onedrive_last.txt
|
||||||
done
|
# done
|
||||||
|
|
||||||
##########################################################################################################################################
|
##########################################################################################################################################
|
||||||
|
|
||||||
|
# skipped until supported
|
||||||
# Export SharePoint Test
|
# Export SharePoint Test
|
||||||
- name: SharePoint Export test
|
# - name: SharePoint Export test
|
||||||
run: |
|
# run: |
|
||||||
set -euo pipefail
|
# set -euo pipefail
|
||||||
echo -e "\Export SharePoint test\n" >> ${CORSO_LOG_FILE}
|
# echo -e "\Export SharePoint test\n" >> ${CORSO_LOG_FILE}
|
||||||
|
|
||||||
echo -e "\Export SharePoint test - first entry\n" >> ${CORSO_LOG_FILE}
|
# echo -e "\Export SharePoint test - first entry\n" >> ${CORSO_LOG_FILE}
|
||||||
./corso backup list sharepoint 2>/dev/null | tail -n+2 | head -n1 | awk '{print $1}' |
|
# ./corso backup list sharepoint 2>/dev/null | tail -n+2 | head -n1 | awk '{print $1}' |
|
||||||
while read -r line; do
|
# while read -r line; do
|
||||||
./corso export sharepoint \
|
# ./corso export sharepoint \
|
||||||
"/tmp/corso-export--$line" \
|
# "/tmp/corso-export--$line" \
|
||||||
--no-stats \
|
# --no-stats \
|
||||||
--backup "$line" \
|
# --backup "$line" \
|
||||||
2>&1 | tee ${{ env.CORSO_LOG_DIR }}/export_sharepoint_first.txt
|
# 2>&1 | tee ${{ env.CORSO_LOG_DIR }}/export_sharepoint_first.txt
|
||||||
done
|
# done
|
||||||
|
|
||||||
echo -e "\Export SharePoint test - last entry\n" >> ${CORSO_LOG_FILE}
|
# echo -e "\Export SharePoint test - last entry\n" >> ${CORSO_LOG_FILE}
|
||||||
./corso backup list sharepoint 2>/dev/null | tail -n1 | awk '{print $1}' |
|
# ./corso backup list sharepoint 2>/dev/null | tail -n1 | awk '{print $1}' |
|
||||||
while read -r line; do
|
# while read -r line; do
|
||||||
./corso export sharepoint \
|
# ./corso export sharepoint \
|
||||||
"/tmp/corso-export--$line" \
|
# "/tmp/corso-export--$line" \
|
||||||
--no-stats \
|
# --no-stats \
|
||||||
--backup "$line" \
|
# --backup "$line" \
|
||||||
2>&1 | tee ${{ env.CORSO_LOG_DIR }}/export_sharepoint_last.txt
|
# 2>&1 | tee ${{ env.CORSO_LOG_DIR }}/export_sharepoint_last.txt
|
||||||
done
|
# done
|
||||||
|
|
||||||
##########################################################################################################################################
|
##########################################################################################################################################
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user