diff --git a/CONTRIBUTING b/CONTRIBUTING new file mode 100644 index 0000000..b5823c6 --- /dev/null +++ b/CONTRIBUTING @@ -0,0 +1,51 @@ +# Contributing to Eclipse demo + +Thanks for your interest in this project. + +## Project description + +demo is a set of quick start up services to run through and get exposure to ioFog as a whole. + +* https://projects.eclipse.org/projects/iot.iofog + +## Developer resources + +Information regarding source code management, builds, coding standards, and +more. + +* https://projects.eclipse.org/projects/iot.iofog/developer + +The project maintains the following source code repositories + +* https://github.com/eclipse-iofog +* http://git.eclipse.org/c/iofog/org.eclipse.iofog.git + +This project uses Bugzilla to track ongoing development and issues. + +* Search for issues: https://eclipse.org/bugs/buglist.cgi?product=IoFog +* Create a new report: https://eclipse.org/bugs/enter_bug.cgi?product=IoFog + +Be sure to search for existing bugs before you create another one. Remember that +contributions are always welcome! + +## Eclipse Contributor Agreement + +Before your contribution can be accepted by the project team contributors must +electronically sign the Eclipse Contributor Agreement (ECA). + +* http://www.eclipse.org/legal/ECA.php + +Commits that are provided by non-committers must have a Signed-off-by field in +the footer indicating that the author is aware of the terms by which the +contribution has been provided to the project. The non-committer must +additionally have an Eclipse Foundation account and must have a signed Eclipse +Contributor Agreement (ECA) on file. + +For more information, please see the Eclipse Committer Handbook: +https://www.eclipse.org/projects/handbook/#resources-commit + +## Contact + +Contact the project developers via the project's "dev" list. + +* https://dev.eclipse.org/mailman/listinfo/iofog-dev \ No newline at end of file diff --git a/NOTICE b/NOTICE new file mode 100644 index 0000000..286d69a --- /dev/null +++ b/NOTICE @@ -0,0 +1,41 @@ +# Notices for Eclipse ioFog + +This content is produced and maintained by the Eclipse ioFog project. + +* Project home: https://projects.eclipse.org/projects/iot.iofog + +## Trademarks + +Eclipse ioFog is a trademark of the Eclipse Foundation. + +## Copyright + +All content is the property of the respective authors or their employers. For +more information regarding authorship of content, please consult the listed +source code repository logs. + +## Declared Project Licenses + +This program and the accompanying materials are made available under the terms +of the Eclipse Public License v. 2.0 which is available at +http://www.eclipse.org/legal/epl-2.0. + +SPDX-License-Identifier: EPL-2.0 + +## Source Code + +The project maintains the following source code repositories: + +* https://github.com/eclipse-iofog +* http://git.eclipse.org/c/iofog/org.eclipse.iofog.git + +## Third-party Content + +## Cryptography + +Content may contain encryption software. The country in which you are currently +may have restrictions on the import, possession, and use, and/or re-export to +another country, of encryption software. BEFORE using any encryption software, +please check the country's laws, regulations and policies concerning the import, +possession, or use, and re-export of encryption software, to see if this is +permitted. \ No newline at end of file diff --git a/docker-compose-test.yml b/docker-compose-test.yml deleted file mode 100644 index 02650d4..0000000 --- a/docker-compose-test.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: '3' -services: - # Test Harness image - test-runner: - container_name: test-runner - environment: - - LOCAL=1 - image: iofog/test-runner:latest - volumes: - - ./test/conf:/conf - network_mode: bridge diff --git a/test.sh b/test.sh index 947f1ab..dec4cc1 100755 --- a/test.sh +++ b/test.sh @@ -40,20 +40,12 @@ AGENT_IP=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{ CONTROLLER_IP=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' iofog-controller) CONNECTOR_IP=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' iofog-connector) -# Output the config for our Test suite config -echo "${CONNECTOR_IP}:8080" >| test/conf/connector.conf -echo "${CONTROLLER_IP}:51121" >| test/conf/controller.conf -echo "root@${AGENT_IP}" >| test/conf/agents.conf - -echoInfo "Pulling Test Runner Image" -docker-compose -f docker-compose-test.yml pull test-runner - -echoInfo "Running Test Runner suite" -docker-compose -f docker-compose-test.yml up \ - --build \ - --abort-on-container-exit \ - --exit-code-from test-runner \ - --force-recreate \ - --renew-anon-volumes +echoInfo "Running Test Runner..." +docker run --rm --name test-runner --network bridge \ + -v "$(pwd)/test/conf/id_ecdsa:/root/.ssh/id_ecdsa" \ + -e CONTROLLER="${CONTROLLER_IP}:51121" \ + -e CONNECTOR="${CONNECTOR_IP}:8080" \ + -e AGENTS="root@${AGENT_IP}:22" \ + iofog/test-runner:1.2 echoNotify "## Test Runner Tests complete"