Skip to content

Commit

Permalink
[storage][stg74] fix ci (#11752)
Browse files Browse the repository at this point in the history
* use beta

* fix listContainers when include = []

* fix CI
  • Loading branch information
ljian3377 authored Oct 10, 2020
1 parent a9f0e30 commit 0435f6a
Show file tree
Hide file tree
Showing 27 changed files with 209 additions and 144 deletions.
2 changes: 1 addition & 1 deletion sdk/storage/storage-blob-changefeed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
]
},
"dependencies": {
"@azure/storage-blob": "^12.3.0-prerelease.1",
"@azure/storage-blob": "^12.3.0-beta.1",
"@azure/abort-controller": "^1.0.0",
"@azure/core-http": "^1.1.6",
"@azure/core-lro": "^1.0.2",
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-blob/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release History

## 12.3.0-prerelease.1 (2020-10-13)
## 12.3.0-beta.1 (2020-10-13)

- Updated Azure Storage Service API version to 2020-02-10.
- Added support for Blob Last Access Time tracking.
Expand Down
4 changes: 2 additions & 2 deletions sdk/storage/storage-blob/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@azure/storage-blob",
"sdk-type": "client",
"version": "12.3.0-prerelease.1",
"version": "12.3.0-beta.1",
"description": "Microsoft Azure Storage SDK for JavaScript - Blob",
"main": "./dist/index.js",
"module": "./dist-esm/storage-blob/src/index.js",
Expand Down Expand Up @@ -32,7 +32,7 @@
},
"scripts": {
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
"build:autorest": "autorest ./swagger/README.md --typescript --package-version=12.3.0-prerelease.1 [email protected]/[email protected]",
"build:autorest": "autorest ./swagger/README.md --typescript --package-version=12.3.0-beta.1 [email protected]/[email protected]",
"build:es6": "tsc -p tsconfig.json",
"build:nodebrowser": "rollup -c 2>&1",
"build:samples": "npm run clean && npm run build:es6 && cross-env ONLY_NODE=true rollup -c 2>&1 && npm run build:prep-samples",
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-blob/src/BlobServiceClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,7 @@ export class BlobServiceClient extends StorageClient {
// AsyncIterableIterator to iterate over containers
const listSegmentOptions: ServiceListContainersSegmentOptions = {
...options,
include
...(include.length > 0 ? { include } : {})
};

const iter = this.listItems(listSegmentOptions);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import * as coreHttp from "@azure/core-http";

const packageName = "azure-storage-blob";
const packageVersion = "12.3.0-prerelease.1";
const packageVersion = "12.3.0-beta.1";

export class StorageClientContext extends coreHttp.ServiceClient {
url: string;
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-blob/src/utils/constants.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

export const SDK_VERSION: string = "12.3.0-prerelease.1";
export const SDK_VERSION: string = "12.3.0-beta.1";
export const SERVICE_VERSION: string = "2020-02-10";

export const BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES: number = 256 * 1024 * 1024; // 256MB
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-file-datalake/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release History

## 12.2.0-prerelease.1 (2020-10-13)
## 12.2.0-beta.1 (2020-10-13)

- Updated Azure Storage Service API version to 2020-02-10.
- Added support for Directory SAS.
Expand Down
4 changes: 2 additions & 2 deletions sdk/storage/storage-file-datalake/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@azure/storage-file-datalake",
"version": "12.2.0-prerelease.1",
"version": "12.2.0-beta.1",
"description": "Microsoft Azure Storage SDK for JavaScript - DataLake",
"sdk-type": "client",
"main": "./dist/index.js",
Expand Down Expand Up @@ -102,7 +102,7 @@
"@azure/core-paging": "^1.1.1",
"@azure/core-tracing": "1.0.0-preview.9",
"@azure/logger": "^1.0.0",
"@azure/storage-blob": "^12.3.0-prerelease.1",
"@azure/storage-blob": "^12.3.0-beta.1",
"events": "^3.0.0",
"tslib": "^2.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-file-datalake/src/utils/constants.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

export const SDK_VERSION: string = "12.2.0-prerelease.1";
export const SDK_VERSION: string = "12.2.0-beta.1";
export const SERVICE_VERSION: string = "2020-02-10";

export const KB: number = 1024;
Expand Down
4 changes: 2 additions & 2 deletions sdk/storage/storage-file-datalake/test/node/sas.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ describe("Shared Access Signature (SAS) generation Node.js only", () => {
});
});

describe("Shared Access Signature (SAS) generation Node.js only for directory SAS", () => {
describe("SAS generation Node.js only for directory SAS", () => {
let recorder: Recorder;
let serviceClient: DataLakeServiceClient;
let fileSystemClient: DataLakeFileSystemClient;
Expand Down Expand Up @@ -860,7 +860,7 @@ describe("Shared Access Signature (SAS) generation Node.js only for directory SA
});
});

describe("Shared Access Signature (SAS) generation Node.js only for delegation SAS", () => {
describe("SAS generation Node.js only for delegation SAS", () => {
let recorder: Recorder;
let oauthServiceClient: DataLakeServiceClient;
let fileSystemClient: DataLakeFileSystemClient;
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/storage-file-share/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Release History

## 12.3.0-prerelease.1 (2020-10-13)
## 12.3.0-beta.1 (2020-10-13)

- Updated Azure Storage Service API version to 2020-02-10.
- Added support for SMB Multichannel.
Expand Down
4 changes: 2 additions & 2 deletions sdk/storage/storage-file-share/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@azure/storage-file-share",
"sdk-type": "client",
"version": "12.3.0-prerelease.1",
"version": "12.3.0-beta.1",
"description": "Microsoft Azure Storage SDK for JavaScript - File",
"main": "./dist/index.js",
"module": "./dist-esm/src/index.js",
Expand All @@ -28,7 +28,7 @@
},
"scripts": {
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
"build:autorest": "autorest ./swagger/README.md --typescript --package-version=12.3.0-prerelease.1 [email protected]/[email protected]",
"build:autorest": "autorest ./swagger/README.md --typescript --package-version=12.3.0-beta.1 [email protected]/[email protected]",
"build:es6": "tsc -p tsconfig.json",
"build:nodebrowser": "rollup -c 2>&1",
"build:samples": "npm run clean && npm run build:es6 && cross-env ONLY_NODE=true rollup -c 2>&1 && npm run build:prep-samples",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0435f6a

Please sign in to comment.