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
fa7c26f1
Commit
fa7c26f1
authored
Nov 22, 2017
by
Stuart Young
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add ssh key to other packer scripts
parent
0389a4cd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
6 deletions
+12
-6
util/packer/jenkins_worker_android.json
+6
-2
util/packer/jenkins_worker_loadtest.json
+3
-2
util/packer/jenkins_worker_simple.json
+3
-2
No files found.
util/packer/jenkins_worker_android.json
View file @
fa7c26f1
...
...
@@ -7,7 +7,8 @@
"ami"
:
"{{env `JENKINS_WORKER_AMI`}}"
,
"security_group"
:
"{{env `AWS_SECURITY_GROUP`}}"
,
"delete_or_keep"
:
"{{env `DELETE_OR_KEEP_AMI`}}"
,
"remote_branch"
:
"{{env `REMOTE_BRANCH`}}"
"remote_branch"
:
"{{env `REMOTE_BRANCH`}}"
,
"jenkins_worker_key_url"
:
"{{env `JENKINS_WORKER_KEY_URL`}}"
},
"builders"
:
[{
"type"
:
"amazon-ebs"
,
...
...
@@ -49,6 +50,9 @@
"playbook_dir"
:
"../../playbooks"
,
"command"
:
". {{user `venv_dir`}}/bin/activate && ansible-playbook"
,
"inventory_groups"
:
"jenkins_worker"
,
"extra_arguments"
:
[
"-vvv"
]
"extra_arguments"
:
[
"-e
\"
jenkins_worker_key_url='{{user `jenkins_worker_key_url`}}'
\"
"
,
"-vvv"
]
}]
}
util/packer/jenkins_worker_loadtest.json
View file @
fa7c26f1
...
...
@@ -8,7 +8,8 @@
"ami"
:
"{{env `JENKINS_WORKER_AMI`}}"
,
"security_group"
:
"{{env `AWS_SECURITY_GROUP`}}"
,
"delete_or_keep"
:
"{{env `DELETE_OR_KEEP_AMI`}}"
,
"remote_branch"
:
"{{env `REMOTE_BRANCH`}}"
"remote_branch"
:
"{{env `REMOTE_BRANCH`}}"
,
"jenkins_worker_key_url"
:
"{{env `JENKINS_WORKER_KEY_URL`}}"
},
"builders"
:
[{
"type"
:
"amazon-ebs"
,
...
...
@@ -51,7 +52,7 @@
"command"
:
". {{user `venv_dir`}}/bin/activate && ansible-playbook"
,
"inventory_groups"
:
"jenkins_worker"
,
"extra_arguments"
:
[
"-e
\"
NEWRELIC_LICENSE_KEY={{user `new_relic_key`}}
\"
"
,
"-e
\"
NEWRELIC_LICENSE_KEY={{user `new_relic_key`}}
jenkins_worker_key_url='{{user `jenkins_worker_key_url`}}'
\"
"
,
"-vvv"
]
}]
...
...
util/packer/jenkins_worker_simple.json
View file @
fa7c26f1
...
...
@@ -9,7 +9,8 @@
"test_platform_version"
:
"{{env `TEST_PLATFORM_VERSION`}}"
,
"security_group"
:
"{{env `AWS_SECURITY_GROUP`}}"
,
"delete_or_keep"
:
"{{env `DELETE_OR_KEEP_AMI`}}"
,
"remote_branch"
:
"{{env `REMOTE_BRANCH`}}"
"remote_branch"
:
"{{env `REMOTE_BRANCH`}}"
,
"jenkins_worker_key_url"
:
"{{env `JENKINS_WORKER_KEY_URL`}}"
},
"builders"
:
[{
"type"
:
"amazon-ebs"
,
...
...
@@ -52,7 +53,7 @@
"command"
:
". {{user `venv_dir`}}/bin/activate && ansible-playbook"
,
"inventory_groups"
:
"jenkins_worker"
,
"extra_arguments"
:
[
"-e
\"
NEWRELIC_LICENSE_KEY={{user `new_relic_key`}}
\"
"
,
"-e
\"
NEWRELIC_LICENSE_KEY={{user `new_relic_key`}}
initialize_replica_set=false mongo_configure_replica_set=false jenkins_worker_key_url='{{user `jenkins_worker_key_url`}}'
\"
"
,
"-vvv"
]
}]
...
...
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