Skip to content

Commit

Permalink
Add missing dependencies in the notice file (#87)
Browse files Browse the repository at this point in the history
[#86] Third-party Content is missing from the NOTICE file

* Update dependencies in the notice file
* Exclude unnecessary test utils from the build
* Add unit tag to the git workflow

Signed-off-by: Kristiyan Gostev <[email protected]>
  • Loading branch information
k-gostev authored Feb 27, 2023
1 parent 4b8ee90 commit 852605e
Show file tree
Hide file tree
Showing 13 changed files with 28 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
go vet ./...
- name: Test
run: |
go test ./... -coverprofile coverage.out -covermode count
go test ./... -coverprofile coverage.out -covermode count -tags=unit
go tool cover -func coverage.out
- name: Build Integration Tests
run: |
Expand Down
12 changes: 6 additions & 6 deletions NOTICE.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,18 +160,18 @@ golang.org/x/sync (v0.0.0-20210220032951-036812b2e83c)
* Project: https://pkg.go.dev/golang.org/x/sync
* Source: https://github.com/golang/sync/tree/036812b2e83c0ddf193dd5a34e034151da389d09

golang.org/x/text (v0.7.0)

* License: BSD 3-Clause "New" or "Revised" License
* Project: https://pkg.go.dev/golang.org/x/text
* Source: https://github.com/golang/text/tree/v0.7.0

azure-sdk-for-go/sdk/azcore (0.20.0)

* License: MIT License
* Project: https://github.com/Azure/azure-sdk-for-go/tree/main/sdk/azcore
* Source: https://github.com/Azure/azure-sdk-for-go/tree/sdk/azcore/v0.20.0/sdk/azcore

azure-sdk-for-go/sdk/azidentity (0.12.0)

* License: MIT License
* Project: https://github.com/Azure/azure-sdk-for-go/tree/main/sdk/azidentity
* Source: https://github.com/Azure/azure-sdk-for-go/tree/sdk/azidentity/v0.12.0/sdk/azidentity

azure-sdk-for-go/sdk/internal (0.8.1)

* License: MIT License
Expand Down
2 changes: 2 additions & 0 deletions client/fileupload_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0

//go:build unit

package client

import (
Expand Down
2 changes: 2 additions & 0 deletions client/uploads_azure_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0

//go:build unit

package client

import (
Expand Down
2 changes: 2 additions & 0 deletions client/uploads_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0

//go:build unit

package client

import (
Expand Down
2 changes: 2 additions & 0 deletions integration/aws_upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0

//go:build integration

package integration

import (
Expand Down
2 changes: 2 additions & 0 deletions integration/azure_upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0

//go:build integration

package integration

import (
Expand Down
2 changes: 2 additions & 0 deletions integration/upload_test_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0

//go:build integration

package integration

import (
Expand Down
2 changes: 2 additions & 0 deletions uploaders/aws_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0

//go:build unit

package uploaders

import (
Expand Down
1 change: 1 addition & 0 deletions uploaders/aws_test_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// which is available at https://www.apache.org/licenses/LICENSE-2.0.
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0
//go:build unit || integration

package uploaders

Expand Down
2 changes: 2 additions & 0 deletions uploaders/azure_sas_test_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0

//go:build unit || integration

package uploaders

import (
Expand Down
2 changes: 2 additions & 0 deletions uploaders/azure_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0

//go:build unit

package uploaders

import (
Expand Down
2 changes: 2 additions & 0 deletions uploaders/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
//
// SPDX-License-Identifier: EPL-2.0 OR Apache-2.0

//go:build unit

package uploaders

import (
Expand Down

0 comments on commit 852605e

Please sign in to comment.