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
5523a02a
Unverified
Commit
5523a02a
authored
Dec 29, 2016
by
Gabe Mulley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update acceptance test config
parent
99ab111b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
16 deletions
+23
-16
playbooks/roles/analytics_pipeline/files/acceptance.json
+4
-9
playbooks/roles/analytics_pipeline/tasks/main.yml
+19
-7
No files found.
playbooks/roles/analytics_pipeline/files/acceptance.json
View file @
5523a02a
{
"connection_user"
:
"hadoop"
,
"credentials_file_url"
:
"/edx/etc/analytics_pipeline/output.json"
,
"exporter_output_bucket"
:
""
,
"geolocation_data"
:
"/var/tmp/geolocation-data.mmdb"
,
"hive_user"
:
"hadoop"
,
"host"
:
"localhost"
,
"identifier"
:
"local-devstack"
,
"manifest_input_format"
:
"org.edx.hadoop.input.ManifestTextInputFormat"
,
"oddjob_jar"
:
"hdfs:///edx-analytics-pipeline/packages/edx-analytics-hadoop-util.jar"
,
"tasks_branch"
:
"origin/HEAD"
,
"tasks_log_path"
:
"/tmp/acceptance/"
,
"tasks_output_url"
:
"hdfs:///acceptance-test-output/"
,
"tasks_repo"
:
"/edx/app/analytics_pipeline/analytics_pipeline"
,
"vertica_creds_url"
:
""
,
"wheel_url"
:
"https://edx-wheelhouse.s3-website-us-east-1.amazonaws.com/Ubuntu/precise"
"tasks_output_url"
:
"hdfs:///tmp/acceptance-test-output/"
,
"vertica_creds_url"
:
"/edx/etc/analytics_pipeline/warehouse.json"
,
"elasticsearch_host"
:
"http://fulltextindex:9200/"
,
"is_remote"
:
"false"
}
playbooks/roles/analytics_pipeline/tasks/main.yml
View file @
5523a02a
...
...
@@ -180,7 +180,7 @@
-
devstack
-
devstack:install
-
name
:
env vars sourc
ed in hadoop env
-
name
:
virtualenv activat
ed in hadoop env
lineinfile
:
dest
:
"
{{
hadoop_common_env
}}"
regexp
:
"
^.
{{
analytics_pipeline_venv_dir
}}/bin/activate"
...
...
@@ -190,11 +190,14 @@
-
devstack
-
devstack:install
-
name
:
write devstack script
template
:
src
:
"
edx/app/analytics_pipeline/docker-entrypoint.sh.j2"
dest
:
"
/docker-entrypoint.sh"
mode
:
"
0777"
-
name
:
env vars sourced in hadoop env
lineinfile
:
dest
:
"
{{
hadoop_common_env
}}"
regexp
:
"
^export
{{
item.key
}}="
line
:
"
export
{{
item.key
}}={{
item.value
}}"
state
:
present
with_dict
:
ACCEPTANCE_TEST_CONFIG
:
"
{{
analytics_pipeline_config_dir
}}/acceptance.json"
tags
:
-
devstack
-
devstack:install
...
...
@@ -202,8 +205,17 @@
-
name
:
store configuration for acceptance tests
copy
:
src
:
acceptance.json
dest
:
/var/tmp/acceptance.json
dest
:
"
{{
analytics_pipeline_config_dir
}}/acceptance.json"
mode
:
"
0644"
tags
:
-
devstack
-
devstack:install
-
name
:
write devstack script
template
:
src
:
"
edx/app/analytics_pipeline/docker-entrypoint.sh.j2"
dest
:
"
/docker-entrypoint.sh"
mode
:
"
0777"
tags
:
-
devstack
-
devstack:install
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