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
5187e4d8
Commit
5187e4d8
authored
Feb 14, 2015
by
Edward Zarecor
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1842 from edx/e0d/cherry-pick-tagging
resolved merge conflicts
parents
04ac827e
05887a1e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
util/jenkins/ansible-provision.sh
+4
-0
No files found.
util/jenkins/ansible-provision.sh
View file @
5187e4d8
...
@@ -22,6 +22,9 @@ env
...
@@ -22,6 +22,9 @@ env
export
PYTHONUNBUFFERED
=
1
export
PYTHONUNBUFFERED
=
1
export
BOTO_CONFIG
=
/var/lib/jenkins/
${
aws_account
}
.boto
export
BOTO_CONFIG
=
/var/lib/jenkins/
${
aws_account
}
.boto
# This DATE_TIME will be used as instance launch time tag
TERMINATION_DATE_TIME
=
`
date +
"%m-%d-%Y %T"
--date
=
"-7 days ago"
`
if
[[
-z
$BUILD_USER
]]
;
then
if
[[
-z
$BUILD_USER
]]
;
then
BUILD_USER
=
jenkins
BUILD_USER
=
jenkins
fi
fi
...
@@ -198,6 +201,7 @@ instance_tags:
...
@@ -198,6 +201,7 @@ instance_tags:
Name:
$name_tag
Name:
$name_tag
source: jenkins
source: jenkins
owner:
$BUILD_USER
owner:
$BUILD_USER
instance_termination_time:
$TERMINATION_DATE_TIME
datadog: monitored
datadog: monitored
root_ebs_size:
$root_ebs_size
root_ebs_size:
$root_ebs_size
name_tag:
$name_tag
name_tag:
$name_tag
...
...
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