-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cloud test setup documentation #495
Conversation
Codecov Report
@@ Coverage Diff @@
## master #495 +/- ##
==========================================
- Coverage 79.89% 79.86% -0.03%
==========================================
Files 21 21
Lines 3621 3621
==========================================
- Hits 2893 2892 -1
- Misses 728 729 +1
Continue to review full report at Codecov.
|
For now, I would just review this for basic english, but save a vetting walkthrough as part of the cleanup/test documentation pass. |
docs/cloud_tests.md
Outdated
|
||
## Manual Test Pipeline | ||
|
||
The overal device-to-cloud pipeline looks something like the following: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
docs/cloud_tests.md
Outdated
|
||
Take note the URL in your browser's address bar when running Travis. You might be on either | ||
<code>travis-ci<b>.com</b></code> or <code>travis-ci<b>.org</b></code>. Any particular setup | ||
may end up across both sites for undertermined reasons. Please consult with your browser's |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
Typos have been addressed, PTAL. |
docs/cloud_tests.md
Outdated
## Base Local Test Setup | ||
|
||
* The `udmi` module needs to be enabled in build. When running `cmd/build` there should be a line | ||
like `subset/cloud/Dockerfile.test_udmi`. This is enabled through the `host_tests` config parameter, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a line like subset/cloud/Dockerfile.test_udmi in the startup logs? (not clear whether that line should be in config or will show up in some log)
docs/cloud_tests.md
Outdated
## Integration Testing | ||
|
||
If developing cloud-tests, then the CI build system also needs to have a service account configured | ||
pointing at a suitable GCP proejct. To run cloud-based tests, setup the Travis `GCP_BASE64_CRED` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/proeject/project
docs/cloud_tests.md
Outdated
use a dedicated key with a nice name like `daq-travis`, but not required. Encode the key value | ||
as per below, and cut/paste the resulting string into a | ||
[Travis environment variable](https://docs.travis-ci.com/user/environment-variables/#defining-variables-in-repository-settings) | ||
for a `GCP_BASE64_CRED` varaible. Note the `-w 0` option is required for proper parsing/formatting, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/varaible/variable
docs/cloud_tests.md
Outdated
* `gcp_topic` config to `local/system.conf` as described in this doc. | ||
* Configure test subsystem with proper cloud endpoint in `{test_site}/cloud_iot_config.json`. | ||
* Configure the DUT with the proper cloud device credentials (device specific). For _faux_ devices, this means copying | ||
the assocatied `rsa_private.pkcs8` file to someting like `inst/faux/daq-faux-2/local/` (exact path depends on which faux). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/assocatied/associated & s/someting/something
No description provided.