forked from openshift/velero
-
Notifications
You must be signed in to change notification settings - Fork 0
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
5,871 changed files
with
384,509 additions
and
1,092,561 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.go/ | ||
.go.std/ | ||
site/ |
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,5 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Velero Q&A | ||
url: https://github.com/vmware-tanzu/velero/discussions/categories/community-support-q-a | ||
about: Have questions about Velero? Please ask them here. |
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,43 @@ | ||
--- | ||
# This assigns a PR to its author | ||
addAssignees: author | ||
|
||
reviewers: | ||
# The default reviewers | ||
defaults: | ||
- maintainers | ||
|
||
groups: | ||
maintainers: | ||
- sseago | ||
- reasonerjt | ||
- ywk253100 | ||
- blackpiglet | ||
- shubham-pampattiwar | ||
- Lyndon-Li | ||
- anshulahuja98 | ||
|
||
tech-writer: | ||
- sseago | ||
- reasonerjt | ||
- ywk253100 | ||
- Lyndon-Li | ||
|
||
files: | ||
'site/**': | ||
- tech-writer | ||
'**/*.md': | ||
- tech-writer | ||
# Technical design requests are ".md" files but should | ||
# be reviewed by maintainers | ||
'/design/**': | ||
- maintainers | ||
|
||
options: | ||
ignore_draft: true | ||
ignored_keywords: | ||
- WIP | ||
- wip | ||
- DO NOT MERGE | ||
enable_group_assignment: true | ||
number_of_reviewers: 2 |
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,21 @@ | ||
version: 2 | ||
updates: | ||
# Dependencies listed in .github/workflows | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
labels: | ||
- "Dependencies" | ||
- "github_actions" | ||
- "kind/changelog-not-required" | ||
# Dependencies listed in go.mod | ||
- package-ecosystem: "gomod" | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "weekly" | ||
labels: | ||
- "kind/changelog-not-required" | ||
ignore: | ||
- dependency-name: "*" | ||
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"] |
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,33 @@ | ||
# This file is used by Auto Label PRs action. | ||
# Works with https://github.com/actions/labeler/ | ||
# Below this line, the keys are labels to be applied, and the values are the file globs to match against. | ||
# Anything in the `design` directory gets the `Design` label. | ||
Area/Design: | ||
- changed-files: | ||
- any-glob-to-any-file: design/* | ||
# Anything that has plugin infra will be labeled. | ||
# Individual plugins don't necessarily live here, though | ||
Area/Plugins: | ||
- changed-files: | ||
- any-glob-to-any-file: pkg/plugins/**/* | ||
Dependencies: | ||
- changed-files: | ||
- any-glob-to-any-file: go.mod | ||
Documentation: | ||
- changed-files: | ||
- any-glob-to-any-file: site/content/docs/**/* | ||
# Anything in the site directory gets the website label *EXCEPT* docs | ||
Website: | ||
- all: | ||
- changed-files: | ||
- any-glob-to-any-file: site/**/* | ||
- all-globs-to-all-files: '!site/content/docs/**/*' | ||
has-changelog: | ||
- changed-files: | ||
- any-glob-to-any-file: changelogs/** | ||
has-e2e-2tests: | ||
- changed-files: | ||
- any-glob-to-any-file: test/e2e/**/* | ||
has-unit-tests: | ||
- changed-files: | ||
- any-glob-to-any-file: pkg/**/*_test.go |
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,43 @@ | ||
# This file is used by [prow github action](https://github.com/jpmcb/prow-github-actions/) in .github/workflows/prow-action.yml. | ||
# This file only has values for kind and area commands. | ||
area: | ||
- CLI | ||
- CSI | ||
- Cloud/AWS | ||
- Cloud/Azure | ||
- Cloud/DigitalOcean | ||
- Cloud/GCP | ||
- Cloud/vSphere | ||
- Design | ||
- Documentation | ||
- Filters | ||
- Plugins | ||
- Process | ||
- Storage/Minio | ||
- Storage/Cinder | ||
- WindowsSupport | ||
- datamover | ||
- fs-backup | ||
- fs-backup/deletion | ||
- fs-backup/file-selectable | ||
- fs-uploader | ||
- kopia-integration | ||
- migration | ||
- multi-tenancy | ||
- progress-monitoring | ||
- resilience | ||
- schedule | ||
- storage/IBM-ObjectStorage | ||
- upgrade | ||
- volume-snapshot-dm | ||
kind: | ||
- changelog-not-required | ||
- question | ||
- refactor | ||
- requirement | ||
- release-note | ||
- release-blocker | ||
- spike | ||
- tech-debt | ||
- usage-error | ||
- voting |
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,13 @@ | ||
Thank you for contributing to Velero! | ||
|
||
# Please add a summary of your change | ||
|
||
# Does your change fix a particular issue? | ||
|
||
Fixes #(issue) | ||
|
||
# Please indicate you've done the following: | ||
|
||
- [ ] [Accepted the DCO](https://velero.io/docs/v1.5/code-standards/#dco-sign-off). Commits without the DCO will delay acceptance. | ||
- [ ] [Created a changelog file (`make new-changelog`)](https://velero.io/docs/main/code-standards/#adding-a-changelog) or comment `/kind changelog-not-required` on this PR. | ||
- [ ] Updated the corresponding documentation in `site/content/docs/main`. |
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,19 @@ | ||
--- | ||
name: "Auto Assign Author" | ||
|
||
# pull_request_target means that this will run on pull requests, but in | ||
# the context of the base repo. This should mean PRs from forks are supported. | ||
on: | ||
pull_request_target: | ||
types: [opened, reopened, ready_for_review] | ||
|
||
jobs: | ||
# Automatically assigns reviewers and owner | ||
add-reviews: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set the author of a PR as the assignee | ||
uses: kentaro-m/[email protected] | ||
with: | ||
configuration-path: ".github/auto-assignees.yml" | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" |
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,19 @@ | ||
name: "Auto Label PRs" | ||
# pull_request_target means that this will run on pull requests, but in the context of the base repo. | ||
# This should mean PRs from forks are supported. | ||
# Because it includes the `synchronize` parameter, any push of a new commit to the HEAD ref of a pull request | ||
# will trigger this process. | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened, reopened, synchronize, ready_for_review] | ||
|
||
jobs: | ||
# Automatically labels PRs based on file globs in the change. | ||
triage: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/labeler@v5 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
configuration-path: .github/labeler.yml |
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,17 @@ | ||
--- | ||
name: "Auto Request Review" | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened, ready_for_review, reopened] | ||
|
||
jobs: | ||
auto-request-review: | ||
name: Auto Request Review | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Request a PR review based on files types/paths, and/or groups the author belongs to | ||
uses: necojackarc/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
config: .github/auto-assignees.yml |
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,79 @@ | ||
name: "Verify Velero CRDs across k8s versions" | ||
on: | ||
pull_request: | ||
# Do not run when the change only includes these directories. | ||
paths-ignore: | ||
- "site/**" | ||
- "design/**" | ||
|
||
jobs: | ||
# Build the Velero CLI once for all Kubernetes versions, and cache it so the fan-out workers can get it. | ||
build-cli: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out the code | ||
uses: actions/checkout@v4 | ||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: 'go.mod' | ||
# Look for a CLI that's made for this PR | ||
- name: Fetch built CLI | ||
id: cache | ||
uses: actions/cache@v4 | ||
env: | ||
cache-name: cache-velero-cli | ||
with: | ||
path: ./_output/bin/linux/amd64/velero | ||
# The cache key a combination of the current PR number, and a SHA256 hash of the Velero binary | ||
key: velero-${{ github.event.pull_request.number }}-${{ hashFiles('./_output/bin/linux/amd64/velero') }} | ||
# This key controls the prefixes that we'll look at in the cache to restore from | ||
restore-keys: | | ||
velero-${{ github.event.pull_request.number }}- | ||
# If no binaries were built for this PR, build it now. | ||
- name: Build Velero CLI | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: | | ||
make local | ||
# Check the common CLI against all Kubernetes versions | ||
crd-check: | ||
needs: build-cli | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
# Latest k8s versions. There's no series-based tag, nor is there a latest tag. | ||
k8s: | ||
- 1.23.17 | ||
- 1.24.17 | ||
- 1.25.16 | ||
- 1.26.13 | ||
- 1.27.10 | ||
- 1.28.6 | ||
- 1.29.1 | ||
# All steps run in parallel unless otherwise specified. | ||
# See https://docs.github.com/en/actions/learn-github-actions/managing-complex-workflows#creating-dependent-jobs | ||
steps: | ||
- name: Fetch built CLI | ||
id: cache | ||
uses: actions/cache@v4 | ||
env: | ||
cache-name: cache-velero-cli | ||
with: | ||
path: ./_output/bin/linux/amd64/velero | ||
# The cache key a combination of the current PR number, and a SHA256 hash of the Velero binary | ||
key: velero-${{ github.event.pull_request.number }}-${{ hashFiles('./_output/bin/linux/amd64/velero') }} | ||
# This key controls the prefixes that we'll look at in the cache to restore from | ||
restore-keys: | | ||
velero-${{ github.event.pull_request.number }}- | ||
- uses: engineerd/[email protected] | ||
with: | ||
version: "v0.21.0" | ||
image: "kindest/node:v${{ matrix.k8s }}" | ||
- name: Install CRDs | ||
run: | | ||
kubectl cluster-info | ||
kubectl get pods -n kube-system | ||
kubectl version | ||
echo "current-context:" $(kubectl config current-context) | ||
echo "environment-kubeconfig:" ${KUBECONFIG} | ||
./_output/bin/linux/amd64/velero install --crds-only --dry-run -oyaml | kubectl apply -f - |
Oops, something went wrong.