@nordicsemiconductor/firmware-ci-runner-azure 2.0.166 → 3.0.0
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.d.ts +0 -3
- package/dist/run.js +2 -3
- package/package.json +3 -2
package/dist/run.d.ts
CHANGED
package/dist/run.js
CHANGED
|
@@ -34,9 +34,8 @@ const run = ({ port, target, }) => {
|
|
|
34
34
|
const atHost = target === 'thingy91_nrf9160_ns'
|
|
35
35
|
? firmware_ci_device_helpers_1.atHostHexfile.thingy91
|
|
36
36
|
: firmware_ci_device_helpers_1.atHostHexfile['9160dk'];
|
|
37
|
-
const
|
|
38
|
-
const
|
|
39
|
-
const iotHubRegistry = azure_iothub_1.Registry.fromTokenCredential(`${testEnv.resourceGroup}IotHub.azure-devices.net`, creds);
|
|
37
|
+
const creds = new identity_1.AzureCliCredential();
|
|
38
|
+
const iotHubRegistry = azure_iothub_1.Registry.fromTokenCredential(`${testEnv.appName}IotHub.azure-devices.net`, creds);
|
|
40
39
|
const fotaStorageContainer = 'upgrades';
|
|
41
40
|
const blobServiceClient = new storage_blob_1.BlobServiceClient(`https://${testEnv.storageAccountName}.blob.core.windows.net`, creds);
|
|
42
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.0",
|
|
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",
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"homepage": "https://github.com/NordicSemiconductor/cloud-azure-firmware-ci-runner-js#readme",
|
|
31
31
|
"dependencies": {
|
|
32
|
+
"@azure/arm-resources-subscriptions": "2.0.1",
|
|
32
33
|
"@azure/identity": "2.1.0",
|
|
33
34
|
"@azure/storage-blob": "12.11.0",
|
|
34
35
|
"@nordicsemiconductor/firmware-ci-device-helpers": "13.0.214",
|
|
@@ -42,7 +43,7 @@
|
|
|
42
43
|
"@nordicsemiconductor/asset-tracker-cloud-code-style": "11.0.106",
|
|
43
44
|
"@swc/jest": "0.2.22",
|
|
44
45
|
"@types/jest": "28.1.6",
|
|
45
|
-
"@types/node": "
|
|
46
|
+
"@types/node": "18.6.3",
|
|
46
47
|
"@types/semver": "7.3.10",
|
|
47
48
|
"@types/serialport": "8.0.2",
|
|
48
49
|
"@types/uuid": "8.3.4",
|