-
Notifications
You must be signed in to change notification settings - Fork 30
fix: propagation of cvmfs alien and local cache #150
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
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
1f994ee
fix: respect cvmfs alien and localcache are now fully configurable
1602077 a87e019
fix: missing embedded csi.Unimplemented*Server
1602077 4f4afdb
fix: check permisison of alienCache not DefaultAlienCachePath
1602077 e4b6408
build: add script to make testing easier
1602077 4fe3d5b
docs: update helm README to include options for cache location
1602077 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: ci-test-golang | ||
on: | ||
push: | ||
branches: | ||
- "*" | ||
pull_request: | ||
branches: | ||
- "master" | ||
# Allows for manual triggers using the `gh` CLI. | ||
workflow_dispatch: | ||
env: | ||
GO_VERSION: "1.22" | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ env.GO_VERSION }} | ||
|
||
- name: Install dependencies | ||
run: go mod download | ||
|
||
- name: Run go vet | ||
run: go vet ./... | ||
|
||
- name: Run go test | ||
run: go test ./... -json > test-results.json | ||
|
||
- name: Publish test results | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: go-results | ||
path: test-results.json | ||
|
||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Setup Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ env.GO_VERSION }} | ||
|
||
- name: Verify go mod tidy has been run | ||
run: | | ||
set -e | ||
go mod tidy | ||
if [ ! -z "$(git status --porcelain go.mod go.sum)" ]; then | ||
>&2 echo "Running go mod tidy modified go.mod and/or go.sum" | ||
exit 1 | ||
fi | ||
|
||
- name: Verify gofumpt has been run | ||
run: | | ||
set -e | ||
go install mvdan.cc/gofumpt@latest | ||
gofumpt -l -w . | ||
if [ ! -z "$(git status --porcelain .)" ]; then | ||
>&2 echo "Running gofumpt modified source code" | ||
exit 1 | ||
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,31 @@ | ||
module github.com/cvmfs-contrib/cvmfs-csi | ||
|
||
go 1.22.0 | ||
go 1.22.5 | ||
|
||
toolchain go1.22.2 | ||
toolchain go1.23.1 | ||
|
||
require ( | ||
github.com/container-storage-interface/spec v1.9.0 | ||
github.com/kubernetes-csi/csi-lib-utils v0.17.0 | ||
github.com/moby/sys/mountinfo v0.7.1 | ||
google.golang.org/grpc v1.63.2 | ||
google.golang.org/protobuf v1.34.0 | ||
k8s.io/apimachinery v0.30.0 | ||
k8s.io/klog/v2 v2.120.1 | ||
k8s.io/mount-utils v0.30.0 | ||
github.com/container-storage-interface/spec v1.10.0 | ||
github.com/kubernetes-csi/csi-lib-utils v0.19.0 | ||
github.com/moby/sys/mountinfo v0.7.2 | ||
google.golang.org/grpc v1.66.2 | ||
google.golang.org/protobuf v1.34.2 | ||
k8s.io/apimachinery v0.31.1 | ||
k8s.io/klog/v2 v2.130.1 | ||
k8s.io/mount-utils v0.31.1 | ||
) | ||
|
||
require ( | ||
github.com/go-logr/logr v1.4.1 // indirect | ||
github.com/coreos/go-systemd/v22 v22.5.0 // indirect | ||
github.com/go-logr/logr v1.4.2 // indirect | ||
github.com/godbus/dbus/v5 v5.1.0 // indirect | ||
github.com/golang/protobuf v1.5.4 // indirect | ||
golang.org/x/net v0.24.0 // indirect | ||
golang.org/x/sys v0.19.0 // indirect | ||
golang.org/x/text v0.14.0 // indirect | ||
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240429193739-8cf5692501f6 // indirect | ||
k8s.io/utils v0.0.0-20240423183400-0849a56e8f22 // indirect | ||
github.com/opencontainers/runc v1.1.14 // indirect | ||
github.com/opencontainers/runtime-spec v1.2.0 // indirect | ||
github.com/sirupsen/logrus v1.9.3 // indirect | ||
golang.org/x/net v0.29.0 // indirect | ||
golang.org/x/sys v0.25.0 // indirect | ||
golang.org/x/text v0.18.0 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect | ||
k8s.io/utils v0.0.0-20240902221715-702e33fdd3c3 // indirect | ||
) |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.