@nordicsemiconductor/firmware-ci-runner-azure 2.1.0-oidc.2 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/run.js +0 -6
- package/package.json +2 -2
package/dist/run.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.run = void 0;
|
|
4
|
-
const arm_resources_subscriptions_1 = require("@azure/arm-resources-subscriptions");
|
|
5
4
|
const identity_1 = require("@azure/identity");
|
|
6
5
|
const storage_blob_1 = require("@azure/storage-blob");
|
|
7
6
|
const firmware_ci_device_helpers_1 = require("@nordicsemiconductor/firmware-ci-device-helpers");
|
|
@@ -37,11 +36,6 @@ const run = ({ port, target, }) => {
|
|
|
37
36
|
: firmware_ci_device_helpers_1.atHostHexfile['9160dk'];
|
|
38
37
|
const creds = new identity_1.AzureCliCredential();
|
|
39
38
|
const iotHubRegistry = azure_iothub_1.Registry.fromTokenCredential(`${testEnv.appName}IotHub.azure-devices.net`, creds);
|
|
40
|
-
progress(`Listing subscriptions ...`);
|
|
41
|
-
const subscriptionClient = new arm_resources_subscriptions_1.SubscriptionClient(creds);
|
|
42
|
-
for await (const subscription of subscriptionClient.subscriptions.list()) {
|
|
43
|
-
debug('subscription', subscription.subscriptionId);
|
|
44
|
-
}
|
|
45
39
|
const fotaStorageContainer = 'upgrades';
|
|
46
40
|
const blobServiceClient = new storage_blob_1.BlobServiceClient(`https://${testEnv.storageAccountName}.blob.core.windows.net`, creds);
|
|
47
41
|
const containerClient = blobServiceClient.getContainerClient(fotaStorageContainer);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nordicsemiconductor/firmware-ci-runner-azure",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "Runs firmware on a real device connected to Azure IoT hub.",
|
|
5
5
|
"main": "./dist/export.js",
|
|
6
6
|
"bin": "./cli/index.js",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@azure/arm-resources-subscriptions": "2.0.1",
|
|
33
33
|
"@azure/identity": "2.1.0",
|
|
34
34
|
"@azure/storage-blob": "12.11.0",
|
|
35
|
-
"@nordicsemiconductor/firmware-ci-device-helpers": "13.0.
|
|
35
|
+
"@nordicsemiconductor/firmware-ci-device-helpers": "13.0.217",
|
|
36
36
|
"@serialport/parser-readline": "10.3.0",
|
|
37
37
|
"azure-iothub": "1.15.0",
|
|
38
38
|
"semver": "7.3.7",
|