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
08b48d96
Commit
08b48d96
authored
Jan 19, 2018
by
Stuart Young
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add key url param to all packer scripts
parent
64a6f3a4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
8 deletions
+14
-8
util/packer/jenkins_worker_android.json
+6
-2
util/packer/jenkins_worker_loadtest.json
+4
-3
util/packer/jenkins_worker_simple.json
+4
-3
No files found.
util/packer/jenkins_worker_android.json
View file @
08b48d96
...
...
@@ -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
\"
NEWRELIC_LICENSE_KEY={{user `new_relic_key`}} jenkins_worker_key_url='{{user `jenkins_worker_key_url`}}'
\"
"
,
"-vvv"
]
}]
}
util/packer/jenkins_worker_loadtest.json
View file @
08b48d96
...
...
@@ -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,8 +52,8 @@
"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 @
08b48d96
...
...
@@ -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,8 +53,8 @@
"command"
:
". {{user `venv_dir`}}/bin/activate && ansible-playbook"
,
"inventory_groups"
:
"jenkins_worker"
,
"extra_arguments"
:
[
"-e
\"
NEWRELIC_LICENSE_KEY={{user `new_relic_key`}}
\"
"
,
"-e
\"
jenkins_edx_platform_version={{user `test_platform_version`}} 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