Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
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
OpenEdx
configuration
Commits
13dbe70f
Commit
13dbe70f
authored
Sep 29, 2014
by
Han Su Kim
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1585 from edx/han/check-migrations
Fix check-migrations
parents
f79b0890
008f39a2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
util/jenkins/check-migrations.sh
+1
-1
util/jenkins/get-rc-branches.sh
+7
-4
No files found.
util/jenkins/check-migrations.sh
View file @
13dbe70f
...
...
@@ -38,7 +38,7 @@ if [[ -z $syncdb ]]; then
fi
if
[[
$db_dry_run
==
"false"
]]
;
then
# Set this to an empty string if db_dry_run is
# Set this to an empty string if db_dry_run is
# not set. By default the db_dry_run var is
# set to --db-dry-run
...
...
util/jenkins/get-rc-branches.sh
View file @
13dbe70f
...
...
@@ -54,17 +54,20 @@ repo_basename=$(basename "$repo")
cd
/var/tmp
if
[[
!
-d
$repo_basename
]]
;
then
$noop
git clone
"
$repo
"
"
$repo_basename
"
--mirror
$noop
git clone
"
$repo
"
"
$repo_basename
"
--mirror
>
/dev/null 2>&1
else
$noop
cd
"/var/tmp/
$repo_basename
"
$noop
git fetch
$noop
git fetch
>
/dev/null
>
/dev/null 2>&1
fi
$noop
cd
"/var/tmp/
$repo_basename
"
if
[[
-z
$noop
]]
;
then
for
branch
in
$(
git branch
-a
| sort
-r
| tr
-d
' '
|
grep
-E
"
$filter
"
)
;
do
echo
"origin/
${
branch
}
"
echo
"origin/
${
branch
}
"
done
for
tag
in
$(
git tag
-l
| sort
-r
| tr
-d
' '
|
grep
-E
"
$filter
"
)
;
do
echo
"
$tag
"
done
else
echo
"Would have checked for branches using filter
$filter
"
echo
"Would have checked for branches
or tags
using filter
$filter
"
fi
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