Skip to content

Commit

Permalink
TEMPORARY: adds testing script
Browse files Browse the repository at this point in the history
  • Loading branch information
Conor Schaefer committed Oct 8, 2020
1 parent d071fbf commit c69db7e
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions scripts/test-template-consolidation
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/bin/bash
set -e
set -u
set -o pipefail
set -x



sudo dnf clean all
make clean
qvm-run sd-dev "git -C /home/user/securedrop-workstation checkout main"
make clone
sudo dnf clean all
make prep-dev
time make dev

echo "DONE WITH DEFAULT"
qvm-run sd-dev "git -C /home/user/securedrop-workstation checkout 608-import-export-security-updater-flag"
echo "CONVERTING TO TEMPLATE CONSOLIDATION BRANCH"
sudo dnf clean all
make clone
make prep-dev
echo "RUNNING UPDATER FOR MIGRATION"

/opt/securedrop/launcher/sdw-launcher.py --skip-delta 0

0 comments on commit c69db7e

Please sign in to comment.