Add separated dir with fake plugin scenario for gate testing
Change-Id: I765fd2bfada54a15278b7e78b43167b998476591
This commit is contained in:
parent
10be6f610f
commit
8db1109cc6
0
etc/scenario/gate/README.rst
Normal file
0
etc/scenario/gate/README.rst
Normal file
10
etc/scenario/gate/credentials.yaml.mako
Normal file
10
etc/scenario/gate/credentials.yaml.mako
Normal file
@ -0,0 +1,10 @@
|
||||
credentials:
|
||||
os_username: ${OS_USERNAME}
|
||||
os_password: ${OS_PASSWORD}
|
||||
os_tenant: ${OS_TENANT_NAME}
|
||||
os_auth_url: ${OS_AUTH_URL}
|
||||
|
||||
network:
|
||||
type: ${network_type}
|
||||
private_network: ${network_private_name}
|
||||
public_network: ${network_public_name}
|
15
etc/scenario/gate/edp.yaml.mako
Normal file
15
etc/scenario/gate/edp.yaml.mako
Normal file
@ -0,0 +1,15 @@
|
||||
edp_jobs_flow:
|
||||
fake:
|
||||
- type: Pig
|
||||
input_datasource:
|
||||
type: swift
|
||||
source: etc/edp-examples/edp-pig/trim-spaces/data/input
|
||||
output_datasource:
|
||||
type: hdfs
|
||||
destination: /user/hadoop/edp-output
|
||||
main_lib:
|
||||
type: swift
|
||||
source: etc/edp-examples/edp-pig/trim-spaces/example.pig
|
||||
additional_libs:
|
||||
- type: swift
|
||||
source: etc/edp-examples/edp-pig/trim-spaces/udf.jar
|
34
etc/scenario/gate/fake.yaml.mako
Normal file
34
etc/scenario/gate/fake.yaml.mako
Normal file
@ -0,0 +1,34 @@
|
||||
clusters:
|
||||
- plugin_name: fake
|
||||
plugin_version: "0.1"
|
||||
image: ${fake_plugin_image}
|
||||
node_group_templates:
|
||||
- name: aio
|
||||
flavor: ${ci_flavor_id}
|
||||
node_processes:
|
||||
- namenode
|
||||
- jobtracker
|
||||
- datanode
|
||||
- tasktracker
|
||||
volumes_per_node: 2
|
||||
volumes_size: 2
|
||||
auto_security_group: true
|
||||
- name: worker
|
||||
flavor: ${ci_flavor_id}
|
||||
node_processes:
|
||||
- datanode
|
||||
- jobtracker
|
||||
volumes_per_node: 2
|
||||
volumes_size: 2
|
||||
auto_security_group: true
|
||||
cluster_template:
|
||||
name: fake01
|
||||
node_group_templates:
|
||||
aio: 1
|
||||
cluster:
|
||||
name: ${cluster_name}
|
||||
scaling:
|
||||
- operation: add
|
||||
node_group: worker
|
||||
size: 1
|
||||
edp_jobs_flow: fake
|
Loading…
Reference in New Issue
Block a user