-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
75 changed files
with
166 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
[defaults] | ||
INVENTORY = inventory | ||
INVENTORY = src/inventory | ||
DEFAULT_ROLES_PATH = src/roles:demo_project/does_config/roles | ||
ANSIBLE_CALLBACKS_ENABLED = community.general.selective | ||
inventory_ignore_extensions = ~, .orig, .bak, .ini, .cfg, .retry, .pyc, .pyo, .j2 | ||
|
||
ansible_ssh_common_args = '-o StrictHostKeyChecking=no -o ForwardAgent=yes' | ||
|
||
|
||
# TODO: activate / deactivate to only show the pretty log output | ||
stdout_callback = community.general.selective |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# AUTOGENERATED FROM experiments/table/{demo_exp1, demo_exp2}.yml WITH build_config_product(...) | ||
|
||
# TODO [nku] needs to be updated | ||
|
||
demo_exp1: | ||
n_repetitions: 2 | ||
common_roles: | ||
- setup-common | ||
host_types: | ||
client: | ||
n: 1 | ||
init_role: setup-client | ||
server: | ||
n: 1 | ||
check_status: false | ||
init_role: setup-server | ||
base_experiment: | ||
w: 13 | ||
x: $FACTOR$ | ||
host_vars: | ||
client: | ||
y: abc | ||
server: | ||
z: $FACTOR$ | ||
factor_levels: | ||
- x: 4 | ||
host_vars: | ||
server: | ||
z: 1 | ||
|
||
|
||
demo_exp2: | ||
n_repetitions: 2 | ||
common_roles: | ||
- setup-common | ||
host_types: | ||
client: | ||
n: 1 | ||
init_role: setup-client | ||
server: | ||
n: 1 | ||
init_role: setup-server | ||
base_experiment: | ||
$CMD$: echo hello [% my_run.a %] | ||
a: 10 | ||
b: info | ||
c: $FACTOR$ | ||
d: $FACTOR$ | ||
host_vars: | ||
client: | ||
e: $FACTOR$ | ||
test: | ||
f: cinfo | ||
server: | ||
g: ginfo | ||
factor_levels: | ||
- c: 1 | ||
d: 4 | ||
host_vars: | ||
client: | ||
e: V1 | ||
- c: 1 | ||
d: 4 | ||
host_vars: | ||
client: | ||
e: V2 |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# AUTOGENERATED FROM experiments/table/{simple}.yml WITH build_config_product(...) | ||
|
||
# TODO [nku] needs to be updated | ||
|
||
|
||
simple: | ||
n_repetitions: 2 | ||
common_roles: | ||
- setup-common | ||
host_types: | ||
single: | ||
n: 1 | ||
base_experiment: | ||
seed: 1234 | ||
payload_size_mb: $FACTOR$ | ||
opt: $FACTOR$ | ||
factor_levels: | ||
- payload_size_mb: 1 | ||
opt: true | ||
- payload_size_mb: 1 | ||
opt: false | ||
- payload_size_mb: 128 | ||
opt: true | ||
- payload_size_mb: 128 | ||
opt: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# The following files are ignored because they are generated by the repotemplate.py script. | ||
# For your own experiments, remove this .gitignore file to commit hand-written experiment configurations. | ||
all | ||
ansible_controller | ||
client | ||
server | ||
simple |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
does_project_dir: "{{ lookup('env', 'DOES_PROJECT_DIR') }}" | ||
does_config_dir: "{{ does_project_dir }}/does_config" | ||
external_group_vars_dir: "{{ does_config_dir }}/group_vars" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
|
||
|
||
- name: Create folder for ABC | ||
ansible.builtin.file: | ||
path: "{{ ABC_INSTALL_PATH }}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
|
||
- name: Collect info about running ec2 instances | ||
community.aws.ec2_instance_info: | ||
region: "{{ exp_base.aws_region }}" | ||
filters: | ||
"tag:name": "{{ ansible_controller }}" | ||
register: ec2_instance_info | ||
|
||
# TODO: remove | ||
- debug: | ||
msg: "ec2_instance_info: {{ ec2_instance_info }}" | ||
|
||
- name: Extract instance ids of ec2 instances to remove | ||
ansible.builtin.set_fact: | ||
ec2_instance_ids: "{{ ec2_instance_info | json_query('*.instances[*].instance_id') | list | flatten }}" | ||
|
||
# TODO: remove | ||
- debug: | ||
msg: "ec2_instance_ids: {{ ec2_instance_ids }}" | ||
|
||
- ansible.builtin.pause: | ||
seconds: 10 | ||
prompt: | | ||
"Removing instances with the following ids: | ||
{{ ec2_instance_ids }} | ||
If the above instance IDs are wrong, abort now! (CTRL+C followed by 'A')" | ||
tags: [print_action] | ||
|
||
- name: Cleanup AWS | ||
community.aws.ec2_instance: | ||
instance_ids: "{{ ec2_instance_ids }}" | ||
region: "{{ exp_base.aws_region }}" | ||
state: absent | ||
when: (ec2_instance_ids | length) > 0 | ||
|
||
- name: Remove AWS VPC | ||
ansible.builtin.include_role: | ||
name: suite-aws-vpc-delete |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.