8000 [pull] master from kubernetes-csi:master by pull[bot] · Pull Request #18 · ueqt/csi-driver-smb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[pull] master from kubernetes-csi:master #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 865 commits into
base: master
Choose a base branch
from

Conversation

pull[bot]
Copy link
@pull pull bot commented Oct 23, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added the ⤵️ pull label Oct 23, 2021
@coveralls
Copy link
coveralls commented Oct 23, 2021

Pull Request Test Coverage Report for Build 4182615451

  • 200 of 262 (76.34%) changed or added relevant lines in 6 files are covered.
  • 4 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-1.4%) to 84.845%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/smb/fake_mounter.go 0 1 0.0%
pkg/smb/smb_common_linux.go 9 21 42.86%
pkg/smb/nodeserver.go 37 60 61.67%
pkg/smb/controllerserver.go 104 130 80.0%
Files with Coverage Reduction New Missed Lines %
pkg/smb/controllerserver.go 2 82.64%
pkg/smb/nodeserver.go 2 81.03%
Totals Coverage Status
Change from base Build 1354180450: -1.4%
Covered Lines: 823
Relevant Lines: 970

💛 - Coveralls

andyzhangx and others added 27 commits May 9, 2024 13:11
test: fix stdlib CVE due to golang v1.22.2
The user might put non-unique spec for subdir:
```
subDir: ${pvc.metadata.namespace}/${pvc.metadata.name}
```
Then, `os.Rename(internalVolumePath, archivedInternalVolumePath)` can fail becaue the destination (`archivedInternalVolumePath`) already exists. It's safer to remove it before `os.Rename()`.
…opy-before-Rename

fix: Remove stale archived volume copy before Rename
test: fix storageclass uncleaned
Bumps build-image/debian-base from bookworm-v1.0.2 to bookworm-v1.0.3.

---
updated-dependencies:
- dependency-name: build-image/debian-base
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…plugin/build-image/debian-base-bookworm-v1.0.3

chore(deps): bump build-image/debian-base from bookworm-v1.0.2 to bookworm-v1.0.3 in /cmd/smbplugin
Modern GNU make (version >= 4.4) has backward-incompatibile feature:

> * WARNING: Backward-incompatibility!
>  Previously makefile variables marked as export were not exported to commands
>  started by the $(shell ...) function.  Now, all exported variables are
>  exported to $(shell ...).  If this leads to recursion during expansion, then
>  for backward-compatibility the value from the original environment is used.

This makes any invocation of `make` command very costly. Compare the performance of make 4.3 vs. 4.4:
```
$ time ~/Sources/make-4.3/make smb ARCH=$(go env GOARCH)
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -ldflags "-X github.com/kubernetes-csi/csi-driver-smb/pkg/smb.driverVersion=v1.15.0 -X github.com/kubernetes-csi/csi-driver-smb/pkg/smb.gitCommit=f5ced814f628ddee2c9f3e6af505c5a6123e50f4 -X github.com/kubernetes-csi/csi-driver-smb/pkg/smb.buildDate=2024-05-15T00:00:09Z -s -w -extldflags "-static"" -mod vendor -o _output/amd64/smbplugin ./cmd/smbplugin

real	0m38.504s
user	3m50.580s
sys	0m23.502s

$ time ~/Sources/make-4.4/make smb ARCH=$(go env GOARCH)
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -ldflags "-X github.com/kubernetes-csi/csi-driver-smb/pkg/smb.driverVersion=v1.15.0 -X github.com/kubernetes-csi/csi-driver-smb/pkg/smb.gitCommit=f5ced814f628ddee2c9f3e6af505c5a6123e50f4 -X github.com/kubernetes-csi/csi-driver-smb/pkg/smb.buildDate=2024-05-15T00:04:04Z -s -w -extldflags "-static"" -mod vendor -o _output/amd64/smbplugin ./cmd/smbplugin

real	16m59.851s
user	13m16.490s
sys	13m46.418s
```

The same variables are evaluated again and again millions times:
```
$ rpm -qf /usr/bin/make
make-4.4.1-6.fc40.x86_64

$ /usr/bin/make -d smb ARCH=$(go env GOARCH) 2>&1 |grep "not recursively expanding.*to export to shell function" |wc -l
2171342
```

The patch doesn't change user-visible behavior of Makefile, but makes `make` command as performant as it used to be in case of make 4.3.
cleanup: remove v1.15.0 release since windows image build is broken
…iable-expansions

fix: Remove excessive recursive variable expansions
Remove 0.15.0 from index.yaml too.
Update index.yaml - remove 1.15.0 from index.yaml
f40f0ccd4 Merge pull request #256 from solumath/master
cfa92106c Instruction update
379a1bb9b Merge pull request #255 from humblec/sidecar-md
a5667bbbb fix typo in sidecar release process
49676850e Merge pull request #254 from bells17/add-github-actions
d9bd160c2 Update skip list in codespell GitHub Action
adb3af9df Merge pull request #252 from bells17/update-go-version
f5aebfc9f Add GitHub Actions workflows
b82ee3888 Merge pull request #253 from bells17/fix-typo
c31745621 Fix typo
0a7850561 Bump to Go 1.22.3
edd89ad58 Merge pull request #251 from jsafrane/add-logcheck
043fd0991 Add test-logcheck target
d7535ae0c Merge pull request #250 from jsafrane/go-1.22
b52e7ad35 Update go to 1.22.2
14fdb6f66 Merge pull request #247 from msau42/prow
dc4d0ae20 Merge pull request #249 from jsafrane/use-go-version
e681b170e Use .go-version to get Kubernetes go version
9b4352e9f Update release playbook
c7bb972cc Fix release notes script to use fixed tags
463a0e9f5 Add script to update specific go modules

git-subtree-dir: release-tools
git-subtree-split: f40f0ccd458f2d4555e3ca98d69b5a984bae0f14
chore: update release-tools to fix spelling error
chore: use go 1.22 in go.mod
andyzhangx and others added 30 commits February 22, 2025 22:07
test: correct external-e2e driver capabilities
701dc34bc Merge pull request #273 from andyzhangx/patch-4
aeebd30e8 Bump golang to 1.24.0
f277d561f Merge pull request #270 from carlory/update-kind-version
6dcb96a51 update default kind version to v0.25.0

git-subtree-dir: release-tools
git-subtree-split: 701dc34bc0c28e007eef01d773afecec50f22e8d
fix golint
chore: upgrade resizer sidecar image version to v1.13.2
Bumps build-image/debian-base from bookworm-v1.0.4 to bookworm-v1.0.5.

---
updated-dependencies:
- dependency-name: build-image/debian-base
  dependency-version: bookworm-v1.0.5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…plugin/build-image/debian-base-bookworm-v1.0.5

chore(deps): bump build-image/debian-base from bookworm-v1.0.4 to bookworm-v1.0.5 in /cmd/smbplugin
chore: upgrade sidecar image versions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0