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
63811fdb
Commit
63811fdb
authored
May 12, 2014
by
Feanil Patel
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1085 from edx/feanil/faster_abbey
Feanil/faster abbey
parents
c13d646d
2addc5c5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
util/jenkins/build-ami.sh
+6
-1
util/vpc-tools/abbey.py
+1
-1
No files found.
util/jenkins/build-ami.sh
View file @
63811fdb
...
...
@@ -106,6 +106,11 @@ if [[ ! -z "$hipchat_room_id" ]] && [[ ! -z "$hipchat_api_token" ]]; then
hipchat_params
=
"--hipchat-room-id
$hipchat_room_id
--hipchat-api-token
$hipchat_api_token
"
fi
cleanup_params
=
""
if
[[
"
$cleanup
"
==
"false"
]]
;
then
cleanup_params
=
"--no-cleanup"
fi
cd
configuration
pip install
-r
requirements.txt
...
...
@@ -117,4 +122,4 @@ cat /var/tmp/$BUILD_ID-refs.yml
echo
"
$vars
"
>
/var/tmp/
$BUILD_ID
-extra-vars
.yml
cat
/var/tmp/
$BUILD_ID
-extra-vars
.yml
python
-u
abbey.py
-p
$play
-t
c
1.medium
-d
$deployment
-e
$environment
-i
/edx/var/jenkins/.ssh/id_rsa
$base_params
$blessed_params
$playbookdir_params
--vars
/var/tmp/
$BUILD_ID
-extra-vars
.yml
--refs
/var/tmp/
$BUILD_ID
-refs
.yml
-c
$BUILD_NUMBER
--configuration-version
$configuration
--configuration-secure-version
$configuration_secure
-k
$jenkins_admin_ec2_key
--configuration-secure-repo
$jenkins_admin_configuration_secure_repo
$configurationprivate_params
$hipchat
_params
python
-u
abbey.py
-p
$play
-t
c
3.large
-d
$deployment
-e
$environment
-i
/edx/var/jenkins/.ssh/id_rsa
$base_params
$blessed_params
$playbookdir_params
--vars
/var/tmp/
$BUILD_ID
-extra-vars
.yml
--refs
/var/tmp/
$BUILD_ID
-refs
.yml
-c
$BUILD_NUMBER
--configuration-version
$configuration
--configuration-secure-version
$configuration_secure
-k
$jenkins_admin_ec2_key
--configuration-secure-repo
$jenkins_admin_configuration_secure_repo
$configurationprivate_params
$hipchat_params
$cleanup
_params
util/vpc-tools/abbey.py
View file @
63811fdb
...
...
@@ -409,7 +409,7 @@ def poll_sqs_ansible():
now
=
int
(
time
.
time
())
if
buf
:
try
:
if
(
now
-
m
ax
([
msg
[
'recv_ts'
]
for
msg
in
buf
]))
>
args
.
msg_delay
:
if
(
now
-
m
in
([
msg
[
'recv_ts'
]
for
msg
in
buf
]))
>
args
.
msg_delay
:
# sort by TS instead of recv_ts
# because the sqs timestamp is not as
# accurate
...
...
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