-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Issue 80: Modified the test framework for tink repo
This framework was written a while ago but is commented and there have been a lot of changes since then. 1. Remove the target concepts completely 2. Changed the way of writting templates 3. Changed the way of creating workflows 4. Generating certs are not the part of docker-compose anymore TODO: This framework works well for single worker. There are few changes required in the framework to make it work for multiple workers
- Loading branch information
parauliya
committed
Jun 29, 2020
1 parent
adf2ebb
commit b453857
Showing
16 changed files
with
332 additions
and
556 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
This file was deleted.
Oops, something went wrong.
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,2 @@ | ||
FROM bash | ||
ADD hello_world.sh /bin/hello_world.sh | ||
RUN chmod +x /bin/hello_world.sh | ||
#CMD echo '{"action_01": "data_01"}' > /workflow/data | ||
ENTRYPOINT [ "/bin/hello_world.sh" ] | ||
CMD echo '{"action_01": "data_01"}' > /workflow/data |
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,112 +1,30 @@ | ||
{ | ||
"allow_pxe": true, | ||
"arch": "x86_64", | ||
"bonding_mode": 4, | ||
"efi_boot": true, | ||
"facility_code": "ewr1", | ||
"id": "f9f56dff-098a-4c5f-a51c-19ad35de85d1", | ||
"instance": { | ||
"allow_pxe": true, | ||
"always_pxe": true, | ||
"customdata": {}, | ||
"hostname": "sample-machine", | ||
"id": "3b2cccf1-1906-4d82-9fe0-c6d5188e70eb", | ||
"ip_addresses": [], | ||
"ipxe_script_url": "https://boot.netboot.xyz", | ||
"network_ready": false, | ||
"operating_system_version": { | ||
"distro": "custom_ipxe", | ||
"image_tag": null, | ||
"os_slug": "custom_ipxe", | ||
"slug": "custom_ipxe", | ||
"version": "1" | ||
"metadata": { | ||
"facility": { | ||
"facility_code": "onprem" | ||
}, | ||
"project": {}, | ||
"rescue": false, | ||
"ssh_keys": [], | ||
"state": "active", | ||
"storage": {}, | ||
"tags": [], | ||
"userdata": "" | ||
"instance": {}, | ||
"state": "" | ||
}, | ||
"ip_addresses": [ | ||
{ | ||
"address": "172.24.7.50", | ||
"address_family": 4, | ||
"cidr": 30, | ||
"enabled": true, | ||
"gateway": "172.24.7.49", | ||
"management": true, | ||
"netmask": "255.255.255.252", | ||
"network": "172.24.7.48", | ||
"public": false, | ||
"type": "data" | ||
}, | ||
{ | ||
"address": "10.250.42.38", | ||
"gateway": "10.250.42.1", | ||
"netmask": "255.255.255.0", | ||
"type": "ipmi" | ||
} | ||
], | ||
"management": { | ||
"address": "10.250.42.38", | ||
"gateway": "10.250.42.1", | ||
"netmask": "255.255.255.0", | ||
"type": "ipmi" | ||
}, | ||
"manufacturer": { | ||
"id": "5c6dc6d1-0b75-4e77-811e-e2d3b4e5312a", | ||
"slug": "dell" | ||
}, | ||
"network_ports": [ | ||
{ | ||
"connected_ports": [ | ||
{ | ||
"data": { | ||
"bond": null, | ||
"mac": null | ||
"network": { | ||
"interfaces": [ | ||
{ | ||
"dhcp": { | ||
"arch": "x86_64", | ||
"ip": { | ||
"address": "192.168.1.5", | ||
"gateway": "192.168.1.1", | ||
"netmask": "255.255.255.248" | ||
}, | ||
"hostname": "", | ||
"id": "421f34e5-b141-4c4a-8234-239996bf7a1a", | ||
"name": "xe-0/0/28", | ||
"type": "data" | ||
"mac": "98:03:9b:89:d7:ba", | ||
"uefi": false | ||
}, | ||
"netboot": { | ||
"allow_pxe": true, | ||
"allow_workflow": true | ||
} | ||
], | ||
"data": { | ||
"bond": null, | ||
"mac": "98:03:9b:89:d7:ba" | ||
}, | ||
"id": "213394d4-8642-443d-9140-c625cfaeb354", | ||
"name": "eth0", | ||
"type": "data" | ||
}, | ||
{ | ||
"connected_ports": [], | ||
"data": { | ||
"bond": null, | ||
"mac": "98:03:9b:89:d7:bb" | ||
}, | ||
"id": "da245720-aa41-4368-9eca-7fb5af8bd492", | ||
"name": "eth1", | ||
"type": "data" | ||
}, | ||
{ | ||
"connected_ports": [], | ||
"data": { | ||
"bond": null, | ||
"mac": "4c:d9:8f:42:21:f3" | ||
}, | ||
"id": "b1b7c29c-41d0-479d-9dbc-392250b8b36f", | ||
"name": "ipmi0", | ||
"type": "ipmi" | ||
} | ||
], | ||
"plan_slug": "c2.medium.x86", | ||
"plan_version_slug": "c2.medium.x86.01", | ||
"preinstalled_operating_system_version": {}, | ||
"services": {}, | ||
"state": "in_use", | ||
"type": "server", | ||
"vlan_id": null | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.