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
edx
configuration
Commits
8379045a
Commit
8379045a
authored
Sep 26, 2014
by
Han Su Kim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure the only output is the filter
parent
b2eefd08
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
util/jenkins/check-migrations.sh
+3
-3
util/jenkins/get-rc-branches.sh
+2
-2
No files found.
util/jenkins/check-migrations.sh
View file @
8379045a
...
@@ -38,7 +38,7 @@ if [[ -z $syncdb ]]; then
...
@@ -38,7 +38,7 @@ if [[ -z $syncdb ]]; then
fi
fi
if
[[
$db_dry_run
==
"false"
]]
;
then
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
# not set. By default the db_dry_run var is
# set to --db-dry-run
# set to --db-dry-run
...
@@ -62,9 +62,9 @@ extra_var_args+=" -e edxapp_user=jenkins"
...
@@ -62,9 +62,9 @@ extra_var_args+=" -e edxapp_user=jenkins"
extra_var_args+
=
" -e syncdb=
$syncdb
"
extra_var_args+
=
" -e syncdb=
$syncdb
"
# Generate the json configuration files
# Generate the json configuration files
ansible-playbook
-c
local
$extra_var_args
--tags
edxapp_cfg
-i
localhost,
-s
-U
jenkins edxapp.yml
ansible-playbook
-c
local
"
$extra_var_args
"
--tags
edxapp_cfg
-i
localhost,
-s
-U
jenkins edxapp.yml
# Run migrations and replace literal '\n' with actual newlines to make the output
# Run migrations and replace literal '\n' with actual newlines to make the output
# easier to read
# easier to read
ansible-playbook
-v
-c
local
$extra_var_args
-i
localhost,
-s
-U
jenkins edxapp_migrate.yml | sed
's/\\n/\n/g'
ansible-playbook
-v
-c
local
"
$extra_var_args
"
-i
localhost,
-s
-U
jenkins edxapp_migrate.yml | sed
's/\\n/\n/g'
util/jenkins/get-rc-branches.sh
View file @
8379045a
...
@@ -54,10 +54,10 @@ repo_basename=$(basename "$repo")
...
@@ -54,10 +54,10 @@ repo_basename=$(basename "$repo")
cd
/var/tmp
cd
/var/tmp
if
[[
!
-d
$repo_basename
]]
;
then
if
[[
!
-d
$repo_basename
]]
;
then
$noop
git clone
"
$repo
"
"
$repo_basename
"
--mirror
$noop
git clone
"
$repo
"
"
$repo_basename
"
--mirror
>
/dev/null 2>&1
else
else
$noop
cd
"/var/tmp/
$repo_basename
"
$noop
cd
"/var/tmp/
$repo_basename
"
$noop
git fetch
$noop
git fetch
>
/dev/null
>
/dev/null 2>&1
fi
fi
$noop
cd
"/var/tmp/
$repo_basename
"
$noop
cd
"/var/tmp/
$repo_basename
"
...
...
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