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
d05be300
Commit
d05be300
authored
9 years ago
by
Ben Patterson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hygienic update.
parent
60507742
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
5 deletions
+15
-5
util/packer/jenkins_worker_simple.json
+15
-5
No files found.
util/packer/jenkins_worker_simple.json
View file @
d05be300
...
...
@@ -3,7 +3,8 @@
"aws_access_key"
:
"{{env `AWS_ACCESS_KEY_ID`}}"
,
"aws_secret_key"
:
"{{env `AWS_SECRET_ACCESS_KEY`}}"
,
"playbook_remote_dir"
:
"/tmp/packer-edx-playbooks"
,
"ami"
:
"{{env `JENKINS_WORKER_AMI`}}"
"ami"
:
"{{env `JENKINS_WORKER_AMI`}}"
,
"test_platform_version"
:
"{{env `TEST_PLATFORM_VERSION`}}"
},
"builders"
:
[{
"type"
:
"amazon-ebs"
,
...
...
@@ -49,12 +50,21 @@
"inline"
:
[
"sudo apt-get -y install git-core"
]
},
{
"type"
:
"shell"
,
"inline"
:
[
"sudo apt-get -y install libmysqlclient-dev"
]
},
{
"type"
:
"shell"
,
"inline"
:
[
"cd {{user `playbook_remote_dir`}}"
,
"virtualenv packer-venv"
,
". packer-venv/bin/activate"
,
"pip install -q -r requirements.txt"
,
"echo '[jenkins_worker]' > inventory.ini"
,
"echo 'localhost' >> inventory.ini"
,
"ansible-playbook run_role.yml -i inventory.ini -c local -e role=jenkins_worker -vvvv"
]
"pip install -q -r requirements.txt"
]
},
{
"type"
:
"ansible-local"
,
"playbook_file"
:
"../../playbooks/edx-east/jenkins_worker.yml"
,
"playbook_dir"
:
"../../playbooks"
,
"command"
:
"source {{user `playbook_remote_dir`}}/packer-venv/bin/activate && ansible-playbook"
,
"inventory_groups"
:
"jenkins_worker"
,
"extra_arguments"
:
[
"-vvv"
]
}]
}
This diff is collapsed.
Click to expand it.
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