Xun Jiang
758f6a4847
Bump Golang version from 1.24-bookworm to 1.25-bookworm
...
Bump golangci-lint to v1.25.0, because golangci-lint start to support
Golang v1.25 since v1.24.0, and v1.26.x was not stable yet.
Align action pr-linter-check's golangci-lint version to v1.25.0
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-11-26 14:16:42 +08:00
Lyndon-Li
34f8b73507
bump up kopia to v0.21.1
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2025-07-22 15:56:04 +08:00
iiriix
d12b700b90
chore: bump golang.org/x/oauth2 to fix restic CVE-2025-22868
...
Signed-off-by: Iiriix <1596129+iiriix@users.noreply.github.com >
2025-06-12 09:38:51 -07:00
Xun Jiang
a18fe55585
Support Windows E2E.
...
* Please notice only Kibishii workload support Windows test,
because the other work loads use busybox image, and not support Windows.
* Refactor CreateFileToPod to support Windows.
* Add skip logic for migration test if the version is under 1.16.
* Add main in semver check.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-05-20 15:58:15 +08:00
Xun Jiang
d3e8e9a9c2
Remove pushing images to GCR.
...
Remove dependency with GCR.
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-05-08 20:42:21 +08:00
Xun Jiang/Bruce Jiang
83a0badf96
Bump golang.org/x/net to v0.38.0 to fix CVE. ( #8896 )
...
Run the E2E test on kind / build (push) Failing after 6m39s
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 36s
Close stale issues and PRs / stale (push) Successful in 10s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m11s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 49s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 49s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 53s
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-04-30 12:35:02 -04:00
Matthieu MOREL
5705bcc3f4
chore: bump golangci-lint to v2 ( #8839 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-04-17 02:38:19 -04:00
Xun Jiang
96760885dc
Bump the golang.org/x/net to v0.36.0 to fix Restic CVE.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2025-03-27 11:02:33 +08:00
Matthieu MOREL
aa88d1cfd3
chore: update Go to 1.23 and toolchain to 1.23.6 ( #8717 )
...
Run the E2E test on kind / build (push) Failing after 5m45s
Run the E2E test on kind / setup-test-matrix (push) Successful in 2s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
build-image / Build (push) Failing after 9s
Main CI / Build (push) Failing after 21s
Close stale issues and PRs / stale (push) Successful in 7s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 59s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 47s
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
Co-authored-by: Janne Kataja <janne.kataja@sdx.com >
2025-03-04 10:33:33 -05:00
Matthieu MOREL
6a6a237ba7
Bump golangci-lint from v1.57.2 to v1.64.5 ( #8641 )
...
Run the E2E test on kind / build (push) Failing after 5m43s
Run the E2E test on kind / setup-test-matrix (push) Successful in 2s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
build-image / Build (push) Failing after 8s
Main CI / Build (push) Failing after 33s
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2025-03-04 13:55:29 +05:30
Tiger Kaovilai
a3cee616dc
Upgrade go.mod k8s.io/ go.mod to v0.31.3 and set klog.SetLogger() for client-go ( #8450 )
...
Run the E2E test on kind / build (push) Failing after 5m44s
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
build-image / Build (push) Failing after 10s
Main CI / Build (push) Failing after 31s
Close stale issues and PRs / stale (push) Successful in 7s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 59s
Trivy Nightly Scan / Trivy nightly scan (velero-restore-helper, main) (push) Failing after 45s
Also bumped to support upgraded k8s.io/ deps.
- controller-gen to v0.16.5
- sigs.k8s.io/controller-runtime v0.19.2
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2025-02-17 15:05:10 -05:00
Xun Jiang
e68dca0112
Bump Restic go.mod to fix CVEs.
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-12-24 11:19:02 +08:00
Lyndon-Li
876a1fc30f
fix gcr image missing problem
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-18 20:13:42 +08:00
Lyndon-Li
baf74d67a7
build hybrid image
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2024-12-04 10:29:34 +08:00
Lyndon-Li
cc47be933d
Revert "Upload Velero build package saved from build image to Google cloud storage"
...
This reverts commit 0b6df61eca .
2024-11-19 19:15:41 +08:00
Xun Jiang
c0402075fb
Remove code-generator from hack/update-3generated-crd.code.sh
...
Signed-off-by: Xun Jiang <xun.jiang@broadcom.com >
2024-08-15 17:27:30 +08:00
Matthieu MOREL
c69f47d5d2
Migrate from github.com/golang/protobuf to google.golang.org/protobuf ( #7593 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-07-16 16:28:07 -04:00
Wenkai Yin(尹文开)
33633d8a02
Merge pull request #7834 from reasonerjt/fix-git-status-issue
...
[CP-to-main]: Fix issue in "git status" in goreleaser.sh
2024-05-28 12:42:29 +08:00
Daniel Jiang
284e23bef3
Bump up goreleaser to v1.26.2
...
Also make update to the configuration file according to:
https://goreleaser.com/deprecations/#archivesrlcp
Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com >
2024-05-28 11:25:17 +08:00
Daniel Jiang
d00721c874
Fix issue in "git status" in goreleaser.sh
...
When dry-run the tag-release.sh, there's an error
"fatal: detected dubious ownership in repository at
'/github.com/vmware-tanzu/velero'"
This commit works around this issue to make sure "tag-release.sh"
can finish successful
Signed-off-by: Daniel Jiang <daniel.jiang@broadcom.com >
2024-05-28 10:27:01 +08:00
Tiger Kaovilai
3c937d42dd
ignore .git dir when formatting
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-05-10 14:12:29 -04:00
Xun Jiang/Bruce Jiang
5f9c53af6e
Merge pull request #7697 from blackpiglet/backup_volumeinfo_cli_update
...
Modify namespace filter logic for backup with label selector
2024-04-22 15:57:50 +08:00
Xun Jiang
a01ef11c92
Fix CVEs reported in GitHub security.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-04-22 10:05:10 +08:00
Xun Jiang
884bcbec98
Fix the typecheck error reported by the lint GitHub action.
...
Signed-off-by: Xun Jiang <blackpigletbruce@gmail.com >
2024-04-19 18:41:16 +08:00
Daniel Jiang
1b3fe95980
Bump up golang to v1.22
...
This commit bumps up the golang for building and testing velero to v1.22
It also updates controller-gen to v0.14.0 to fix an issue under new
versino of go.
More details see https://github.com/golang/go/issues/65637
Signed-off-by: Daniel Jiang <jiangd@vmware.com >
2024-04-14 20:15:51 +08:00
Matthieu MOREL
3c704ba1b1
linter(testifylint): use Len or Empty for arrays testing ( #7555 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com >
2024-03-27 14:16:58 -04:00
Xun Jiang/Bruce Jiang
3b8370e13c
Merge pull request #7353 from kaovilai/e2e-updates
...
E2E usability updates
2024-02-07 10:05:02 +08:00
Tiger Kaovilai
2375f78d0f
ppc64le fix for protocolbuffers
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-02-05 23:36:18 -05:00
Tiger Kaovilai
5adb7d0def
Make arch more flexible
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-02-05 22:24:57 -05:00
Tiger Kaovilai
b9f3f410e7
Make build-image arm64 compatible
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-02-05 21:12:32 -05:00
Tiger Kaovilai
b1d95cf2aa
Set GOBIN so Makefile don't modify $PATH on go install Fix realPath resolving when cloud credentials is prefixed by ~ for home dir Use ~/.docker/config.json if REGISTRY_CREDENTIAL_FILE not defined and skip step if does not exists since it is optional
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Set `GOBIN` so Makefile don't modify $PATH on `go install`
Fix realPath resolving when cloud credentials is prefixed by `~` for home dir
Use `~/.docker/config.json` if REGISTRY_CREDENTIAL_FILE not defined and skip step if does not exists since it is optional
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Add kind testdata storageclass
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Add kind testdata storageclass
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
log `Start to install Azure VolumeSnapshotClass ...` only on azure when csi is enabled
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Add BSL_CONFIG example and notes
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Makefile: Set `GOBIN` for `_output/...`
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
README spacing
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
StandbyClusterObjectStoreProvider typo
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Specify velero namespace during get/delete command
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Use object stores rather than cloudProvider for bucket queries
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Remove debug print
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
simplify NS get changes, add velero NS to `DeleteBackupResource`
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Skip file system backups on kind which uses hostPath volumes
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Add StorageClass change test to PR kind e2e
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Add more tests to pr
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Add NS mapping to PR e2e
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Add `SKIP_KIND` to some jobs containing volumes
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Remove kind from kibishii tests
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Label volume resource policies as restic, skip restic/snapshot tests, add more tests
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
TTLTest is a snapshot test
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Remove non working tests
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Resolve https://github.com/vmware-tanzu/velero/pull/7353#issuecomment-1925660077
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
address https://github.com/vmware-tanzu/velero/pull/7353/files#r1477218762
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
Address https://github.com/vmware-tanzu/velero/pull/7353#issuecomment-1923414840
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2024-02-04 22:17:37 -05:00
Wenkai Yin(尹文开)
b509df5172
Upgrade the version of go plugin related libs/tools ( #7373 )
...
Upgrade the version of go plugin related libs/tools
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2024-02-01 13:02:42 -05:00
Xun Jiang
3dc202d30a
Bump Golang library versions for v1.13 Restic to fix CVEs.
...
Bump golang.org/x/crypto version to v0.17.0.
Bump google.golang.org/grpc version to v1.56.3.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-12-20 10:31:48 +08:00
Xun Jiang
f5c159ce56
Resolve linter issues.
...
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-11-29 11:15:43 +08:00
Mateus Oliveira
cbf849ab4c
fix: make verify permission error
...
Signed-off-by: Mateus Oliveira <msouzaol@redhat.com >
2023-10-25 08:12:41 -03:00
Xun Jiang
a726329e82
Bump golang version.
...
Bump golang version to v1.21.
Bump golang.org/x/net version to v0.17.0 in Velero and Restic.
Signed-off-by: Xun Jiang <jxun@vmware.com >
2023-10-13 16:30:23 +08:00
Wenkai Yin(尹文开)
0d79afe049
Replace the base image with paketobuildpacks image ( #6883 )
...
Replace the base image with paketobuildpacks image
Fixes #6851
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2023-09-29 12:19:51 -04:00
Xun Jiang/Bruce Jiang
9ba0bcc2a2
Merge pull request #6295 from kaovilai/speedup-fmt
...
Speedup update-1fmt.sh by removing xargs, printf.
2023-08-01 10:48:45 +08:00
danfengliu
ef443fece0
Add UT for pkg/cmd/cli/backup ( #6400 )
...
Signed-off-by: danfengl <danfengl@vmware.com >
2023-06-21 11:10:13 +08:00
danfengliu
114193ae3b
add ut for pkg client factory ( #6371 )
...
Signed-off-by: danfengl <danfengl@vmware.com >
2023-06-09 09:59:19 +08:00
Wenkai Yin(尹文开)
4d28a1a2a3
Skip running unit test for pkg/builder package
...
Skip running unit test for pkg/builder package
fixes #6251
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com >
2023-05-29 09:26:12 +08:00
Tiger Kaovilai
785e1aa5d3
Speedup update-1fmt.sh by removing xargs, printf.
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-05-19 11:51:15 -04:00
lyndon
5b75f35262
Add data mover CRD under v2alpha1 ( #6176 )
...
* add data mover CRD under v1alpha1
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
* data mover CRDs to v2alpha1
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
* data mover crd changes
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
---------
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-05-16 15:09:54 -04:00
lyndon
ea4e49f503
Merge pull request #6248 from Lyndon-Li/bump-up-kopia-v0.13
...
Bump up kopia v0.13
2023-05-15 10:44:19 +08:00
Lyndon-Li
307b82a2ec
bump up kopia v0.13.0
...
Signed-off-by: Lyndon-Li <lyonghui@vmware.com >
2023-05-15 07:23:38 +08:00
Tiger Kaovilai
07712f4d6a
run gofmt goimports for every files in parallel
...
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com >
2023-05-05 13:59:40 -04:00
Xun Jiang
bbc1e2e151
Enable stylecheck linter and resolve found issues.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-04-25 14:37:02 +08:00
Xun Jiang/Bruce Jiang
1fd28e8a36
Fix usestdlibvars and whitespace linters issues. ( #6162 )
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
Co-authored-by: Xun Jiang <blackpiglet@gmail.com >
2023-04-24 09:10:55 +08:00
Daniel Jiang
14f31eed8c
Merge pull request #6109 from blackpiglet/modify_goreleaser
...
Fix goreleaser issues and add new goreleaser action.
2023-04-18 15:00:41 +08:00
Xun Jiang
0be3f5a3e7
Update Golang to v1.20 for main branch.
...
Signed-off-by: Xun Jiang <blackpiglet@gmail.com >
2023-04-17 13:26:46 +08:00