-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
97 changed files
with
458 additions
and
328 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 |
---|---|---|
|
@@ -75,7 +75,7 @@ jobs: | |
run: echo "${{needs.gomod.outputs.gomod}}" > go.mod | ||
- name: restore_gosum | ||
run: echo "${{needs.gomod.outputs.gosum}}" > go.sum | ||
- uses: helm/[email protected] | ||
- uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0 | ||
- run: | | ||
make install-csi-hostpath-driver | ||
make install-minio | ||
|
This file contains 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 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 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 |
---|---|---|
|
@@ -19,13 +19,13 @@ jobs: | |
steps: | ||
- | ||
name: Add label | ||
uses: actions-ecosystem/[email protected] | ||
uses: actions-ecosystem/action-add-labels@18f1af5e3544586314bbe15c0273249c770b2daf # v1.1.3 | ||
with: | ||
labels: "triage" | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
- | ||
name: Add comment | ||
uses: actions-ecosystem/[email protected] | ||
uses: actions-ecosystem/action-create-comment@e23bc59fbff7aac7f9044bd66c2dc0fe1286f80b # v1.0.2 | ||
if: github.event.action == 'opened' | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
@@ -37,7 +37,7 @@ jobs: | |
If you haven't already, please take a moment to review our project's [Code of Conduct](https://github.com/kanisterio/kanister/blob/master/CODE_OF_CONDUCT.md) document. | ||
- | ||
name: Update project | ||
uses: alex-page/[email protected] | ||
uses: alex-page/github-project-automation-plus@303f24a24c67ce7adf565a07e96720faf126fe36 # v0.9.0 | ||
with: | ||
repo-token: ${{ secrets.GH_TOKEN }} # must use a PAT here | ||
project: Kanister | ||
|
This file contains 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 |
---|---|---|
|
@@ -20,7 +20,7 @@ jobs: | |
steps: | ||
- | ||
name: Comment | ||
uses: actions-ecosystem/[email protected] | ||
uses: actions-ecosystem/action-create-comment@e23bc59fbff7aac7f9044bd66c2dc0fe1286f80b # v1.0.2 | ||
# Avoid adding a comment when the PR is on the same repo. | ||
if: github.event.action == 'opened' && github.event.pull_request.head.repo.fork | ||
with: | ||
|
@@ -31,7 +31,7 @@ jobs: | |
If you haven't already, please take a moment to review our project [contributing guideline](https://github.com/kanisterio/kanister/blob/master/CONTRIBUTING.md) and [Code of Conduct](https://github.com/kanisterio/kanister/blob/master/CODE_OF_CONDUCT.md) document. | ||
- | ||
name: Update status in project | ||
uses: alex-page/[email protected] | ||
uses: alex-page/github-project-automation-plus@303f24a24c67ce7adf565a07e96720faf126fe36 # v0.9.0 | ||
# This only works for PRs opened in the same repo and not by dependabot. | ||
# Other PRs don't get the necessary credentials. | ||
if: github.repository == 'kanisterio/kanister' && !github.event.pull_request.head.repo.fork | ||
|
This file contains 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,33 +1,68 @@ | ||
# Release Notes | ||
|
||
## 0.111.0 | ||
|
||
### New Features | ||
|
||
<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' --> | ||
* Add support for Read-Only and Write Access Modes when connecting to the Kopia Repository Server in `kando`. | ||
|
||
<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' --> | ||
* Add support for Cache Size Limits to the `kopia server start` command. | ||
|
||
<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' --> | ||
* Add support to pass labels and annotations to the methods that create/clone VolumeSnapshot and VolumeSnapshotContent resources. | ||
|
||
<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' --> | ||
* Support `image` argument for `ExportRDSSnapshotToLocation` and `RestoreRDSSnapshot` functions to override default postgres-kanister-tools image. | ||
|
||
<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' --> | ||
* Added support to customise the labels and annotations of the temporary pods that are created by some Kanister functions. | ||
|
||
<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' --> | ||
* Added two new fields, `podLabels` and `podAnnotations`, to the ActionSet. These fields can be used to configure the labels and annotations of the Kanister function pod run by an ActionSet. | ||
|
||
### Security Issues | ||
|
||
<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' --> | ||
* Update Go to 1.22.7 to pull in latest security updates. | ||
|
||
### Other Notes | ||
|
||
<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' --> | ||
* Update ubi-minimal base image to ubi-minimal:9.4-1227.1725849298. | ||
|
||
<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' --> | ||
* Add `stylecheck`, `errcheck`, and `misspel` linters to test packages. | ||
|
||
## 0.110.0 | ||
|
||
## New Features | ||
### New Features | ||
|
||
<!-- releasenotes/notes/pre-release-0.110.0-a47623540224894a.yaml @ b'ee13e8df9850ff4a5ead22c922120b13c80614a5' --> | ||
<!-- releasenotes/notes/pre-release-0.110.0-a47623540224894a.yaml @ b'fffef729e348ce0cf8bba3646303460d5e37fe16' --> | ||
* Split parallelism helm value into dataStore.parallelism.upload and dataStore.parallelism.download to be used separately in BackupDataUsingKopiaServer and RestoreDataUsingKopiaServer | ||
|
||
## Bug Fixes | ||
### Bug Fixes | ||
|
||
<!-- releasenotes/notes/pre-release-0.110.0-a47623540224894a.yaml @ b'ee13e8df9850ff4a5ead22c922120b13c80614a5' --> | ||
<!-- releasenotes/notes/pre-release-0.110.0-a47623540224894a.yaml @ b'fffef729e348ce0cf8bba3646303460d5e37fe16' --> | ||
* Make pod writer exec wait for cat command to finish. Fixes race condition between cat cat command end exec termination. | ||
|
||
<!-- releasenotes/notes/pre-release-0.110.0-a47623540224894a.yaml @ b'ee13e8df9850ff4a5ead22c922120b13c80614a5' --> | ||
<!-- releasenotes/notes/pre-release-0.110.0-a47623540224894a.yaml @ b'fffef729e348ce0cf8bba3646303460d5e37fe16' --> | ||
* Make sure all storage providers return similar error if snapshot doesn't exist, which is expected by DeleteVolumeSnapshot | ||
|
||
## Other Notes | ||
### Other Notes | ||
|
||
<!-- releasenotes/notes/pre-release-0.110.0-a47623540224894a.yaml @ b'ee13e8df9850ff4a5ead22c922120b13c80614a5' --> | ||
<!-- releasenotes/notes/pre-release-0.110.0-a47623540224894a.yaml @ b'fffef729e348ce0cf8bba3646303460d5e37fe16' --> | ||
* Update ubi-minimal base image to ubi-minimal:9.4-1194 | ||
|
||
<!-- releasenotes/notes/pre-release-0.110.0-a47623540224894a.yaml @ b'ee13e8df9850ff4a5ead22c922120b13c80614a5' --> | ||
<!-- releasenotes/notes/pre-release-0.110.0-a47623540224894a.yaml @ b'fffef729e348ce0cf8bba3646303460d5e37fe16' --> | ||
* Update errkit to v0.0.2 | ||
|
||
<!-- releasenotes/notes/pre-release-0.110.0-a47623540224894a.yaml @ b'ee13e8df9850ff4a5ead22c922120b13c80614a5' --> | ||
<!-- releasenotes/notes/pre-release-0.110.0-a47623540224894a.yaml @ b'fffef729e348ce0cf8bba3646303460d5e37fe16' --> | ||
* Switch pkg/app to errkit | ||
|
||
<!-- releasenotes/notes/pre-release-0.110.0-a47623540224894a.yaml @ b'ee13e8df9850ff4a5ead22c922120b13c80614a5' --> | ||
<!-- releasenotes/notes/pre-release-0.110.0-a47623540224894a.yaml @ b'fffef729e348ce0cf8bba3646303460d5e37fe16' --> | ||
* Switch pkg/kopia to errkit | ||
|
||
<!-- releasenotes/notes/pre-release-0.110.0-a47623540224894a.yaml @ b'ee13e8df9850ff4a5ead22c922120b13c80614a5' --> | ||
<!-- releasenotes/notes/pre-release-0.110.0-a47623540224894a.yaml @ b'fffef729e348ce0cf8bba3646303460d5e37fe16' --> | ||
* Switch pkg/kube to errkit |
This file contains 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,33 +1,36 @@ | ||
# Release Notes | ||
|
||
## 0.110.0 | ||
## 0.111.0 | ||
|
||
## New Features | ||
|
||
<!-- releasenotes/notes/pre-release-0.110.0-a47623540224894a.yaml @ b'ee13e8df9850ff4a5ead22c922120b13c80614a5' --> | ||
* Split parallelism helm value into dataStore.parallelism.upload and dataStore.parallelism.download to be used separately in BackupDataUsingKopiaServer and RestoreDataUsingKopiaServer | ||
<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' --> | ||
* Add support for Read-Only and Write Access Modes when connecting to the Kopia Repository Server in `kando`. | ||
|
||
## Bug Fixes | ||
<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' --> | ||
* Add support for Cache Size Limits to the `kopia server start` command. | ||
|
||
<!-- releasenotes/notes/pre-release-0.110.0-a47623540224894a.yaml @ b'ee13e8df9850ff4a5ead22c922120b13c80614a5' --> | ||
* Make pod writer exec wait for cat command to finish. Fixes race condition between cat cat command end exec termination. | ||
<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' --> | ||
* Add support to pass labels and annotations to the methods that create/clone VolumeSnapshot and VolumeSnapshotContent resources. | ||
|
||
<!-- releasenotes/notes/pre-release-0.110.0-a47623540224894a.yaml @ b'ee13e8df9850ff4a5ead22c922120b13c80614a5' --> | ||
* Make sure all storage providers return similar error if snapshot doesn't exist, which is expected by DeleteVolumeSnapshot | ||
<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' --> | ||
* Support `image` argument for `ExportRDSSnapshotToLocation` and `RestoreRDSSnapshot` functions to override default postgres-kanister-tools image. | ||
|
||
## Other Notes | ||
<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' --> | ||
* Added support to customise the labels and annotations of the temporary pods that are created by some Kanister functions. | ||
|
||
<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' --> | ||
* Added two new fields, `podLabels` and `podAnnotations`, to the ActionSet. These fields can be used to configure the labels and annotations of the Kanister function pod run by an ActionSet. | ||
|
||
<!-- releasenotes/notes/pre-release-0.110.0-a47623540224894a.yaml @ b'ee13e8df9850ff4a5ead22c922120b13c80614a5' --> | ||
* Update ubi-minimal base image to ubi-minimal:9.4-1194 | ||
## Security Issues | ||
|
||
<!-- releasenotes/notes/pre-release-0.110.0-a47623540224894a.yaml @ b'ee13e8df9850ff4a5ead22c922120b13c80614a5' --> | ||
* Update errkit to v0.0.2 | ||
<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' --> | ||
* Update Go to 1.22.7 to pull in latest security updates. | ||
|
||
<!-- releasenotes/notes/pre-release-0.110.0-a47623540224894a.yaml @ b'ee13e8df9850ff4a5ead22c922120b13c80614a5' --> | ||
* Switch pkg/app to errkit | ||
## Other Notes | ||
|
||
<!-- releasenotes/notes/pre-release-0.110.0-a47623540224894a.yaml @ b'ee13e8df9850ff4a5ead22c922120b13c80614a5' --> | ||
* Switch pkg/kopia to errkit | ||
<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' --> | ||
* Update ubi-minimal base image to ubi-minimal:9.4-1227.1725849298. | ||
|
||
<!-- releasenotes/notes/pre-release-0.110.0-a47623540224894a.yaml @ b'ee13e8df9850ff4a5ead22c922120b13c80614a5' --> | ||
* Switch pkg/kube to errkit | ||
<!-- releasenotes/notes/pre-release-0.111.0-478149ddf5d56f80.yaml @ b'07949285eea9a1c7f0768bd8c8354d64278b0d82' --> | ||
* Add `stylecheck`, `errcheck`, and `misspel` linters to test packages. |
This file contains 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 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 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,41 @@ | ||
#!/bin/bash | ||
|
||
# Copyright 2024 The Kanister Authors. | ||
# | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
set -o errexit | ||
set -o nounset | ||
|
||
export CGO_ENABLED=0 | ||
export GO111MODULE=on | ||
|
||
TARGETS=$(for d in "$@"; do echo ./$d/...; done) | ||
|
||
echo -n "Checking gofmt: " | ||
ERRS=$(find "$@" -type f -name \*.go | xargs gofmt -l 2>&1 || true) | ||
if [ -n "${ERRS}" ]; then | ||
echo "FAIL - the following files need to be gofmt'ed:" | ||
for e in ${ERRS}; do | ||
echo " $e" | ||
done | ||
echo | ||
exit 1 | ||
fi | ||
echo "PASS" | ||
echo | ||
|
||
echo -n "Checking go vet: " | ||
go vet ${TARGETS} | ||
echo "PASS" |
This file contains 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
Oops, something went wrong.