summaryrefslogtreecommitdiffstats
path: root/ci/delete_current_device_c8y.py
AgeCommit message (Collapse)Author
2022-02-15[#835] Dynamic Cumulocity id management in system tests (#839)Michael Abel
* Add find_device_id.py from ci branch * Add delete_current_device_c8y.py from ci branch * Use URL from GitHub secrets * Disconnect old bridge before configuring the new one * Add shebang to avoid that we run this with dash * Delete the current device, reconenct and retrieve the new ID * Regenerate bridge in integration test workflow * Use ID from within the script * Remove unused, forgotten variables * Use dynamic C8YDEVICEID in smoke_test * Use dynamic C8YDEVICEID in plugin_test * Use dynamic C8YDEVICEID in software management tests * Use dynamic C8YDEVICEID to run all tests ... ... and avoid an additional bridge configuration * Also configure bridge in offsite workflow ... ... and fix a job name * Move invocation of find device ... ... where we have an enabled environment. And specifically call the interpreter in the environment * Use separate environment in the smoke test and ... ... switch to bash to have source * Also use c8y-api environment for bridge setup * Set executable bits * Also add the c8y API to the requirements * Work on review comments * Replace check for zero with regex * Use name keyword to get the right device