-
Notifications
You must be signed in to change notification settings - Fork 564
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into release-3.1
# Conflicts: # .github/workflows/sync-feature-code.yaml # docs/kubernetes-versions.md # hack/sync-components.sh # version/components.json
- Loading branch information
Showing
384 changed files
with
38,165 additions
and
90 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
name: Kubernetes-Auto-Support | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 0 * * *' | ||
|
||
|
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 |
---|---|---|
|
@@ -8,7 +8,6 @@ on: | |
jobs: | ||
sync-feature: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check if PR has merged | ||
id: check_pr | ||
|
@@ -31,29 +30,28 @@ jobs: | |
if: ${{ steps.check_pr.outputs.pr_merged == 'true' }} | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: feature | ||
ref: feature-gitops | ||
path: feature-branch | ||
|
||
- name: Remove old feature directory | ||
if: ${{ steps.check_pr.outputs.pr_merged == 'true' }} | ||
run: rm -rf feature | ||
|
||
- name: Sync feature branch to master/feature directory | ||
if: ${{ steps.check_pr.outputs.pr_merged == 'true' }} | ||
run: | | ||
mkdir -p feature | ||
rm -rf feature && mkdir -p feature | ||
rm -rf feature-branch/vendor | ||
cp -r feature-branch/* feature/ | ||
git config --global user.name 'ks-ci-bot' | ||
git config --global user.email '[email protected]' | ||
git add feature/ | ||
git commit -m "Sync feature branch to master/feature directory" | ||
rm -rf feature-branch | ||
- name: Push changes and create PR | ||
if: ${{ steps.check_pr.outputs.pr_merged == 'true' }} | ||
uses: peter-evans/create-pull-request@v4 | ||
uses: peter-evans/create-pull-request@v7 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
commit-message: Sync feature branch to master/feature directory | ||
commit-message: 'Sync feature branch to master/feature directory' | ||
delete-branch: true | ||
branch: sync-feature-to-main | ||
title: [ci-bot] Sync feature branch to master/feature directory | ||
body: This PR syncs the feature branch to the master/feature directory. | ||
sign-commits: true | ||
title: '[ci-bot] Sync feature branch to master/feature directory' | ||
body: | | ||
This PR syncs the feature branch to the master/feature directory. | ||
```release-note | ||
none | ||
``` |
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
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
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.