Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
26922382
Commit
26922382
authored
Dec 20, 2017
by
Jesse Zoldak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fixup] [no-ci]
parent
f6de951f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
pavelib/database.py
+0
-0
pavelib/paver_tests/test_database.py
+0
-1
scripts/calculate-bokchoy-migrations.sh
+3
-1
No files found.
pavelib/database.py
View file @
26922382
This diff is collapsed.
Click to expand it.
pavelib/paver_tests/test_database.py
View file @
26922382
...
@@ -4,7 +4,6 @@ Tests for the Paver commands for updating test databases
...
@@ -4,7 +4,6 @@ Tests for the Paver commands for updating test databases
from
unittest
import
TestCase
from
unittest
import
TestCase
import
boto
import
boto
from
mock
import
patch
from
common.test.utils
import
MockS3Mixin
from
common.test.utils
import
MockS3Mixin
from
pavelib.database
import
is_fingerprint_in_bucket
from
pavelib.database
import
is_fingerprint_in_bucket
...
...
scripts/calculate-bokchoy-migrations.sh
View file @
26922382
...
@@ -34,6 +34,8 @@ for db in "${database_order[@]}"; do
...
@@ -34,6 +34,8 @@ for db in "${database_order[@]}"; do
echo
"Calculating migrations."
echo
"Calculating migrations."
output_file
=
"common/test/db_cache/bok_choy_
${
db
}
_migrations.yaml"
output_file
=
"common/test/db_cache/bok_choy_
${
db
}
_migrations.yaml"
./manage.py lms
--settings
$SETTINGS
show_unapplied_migrations
--database
$db
--output_file
$output_file
# Redirect stdout to /dev/null because it prints all migrations to both
# stdout and the output file.
./manage.py lms
--settings
$SETTINGS
show_unapplied_migrations
--database
$db
--output_file
$output_file
1>/dev/null
done
done
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment