-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2596 from spidernet-io/main
merge main to release-v0.8.0
- Loading branch information
Showing
85 changed files
with
2,729 additions
and
2,545 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 |
---|---|---|
|
@@ -140,7 +140,7 @@ jobs: | |
- name: create an issue | ||
uses: dacbd/[email protected] | ||
with: | ||
token: ${{ secrets.WELAN_PAT }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
title: "Nightly K8s Matrix CI ${{ ENV.TIMESTAMP }}: Failed" | ||
body: | | ||
action url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} | ||
|
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 |
---|---|---|
|
@@ -51,8 +51,25 @@ jobs: | |
fetch-depth: 0 | ||
ref: ${{ env.REF }} | ||
|
||
- name: Set main branch docs to dev (latest) | ||
id: main_docs | ||
if: ${{ env.REF == 'main' }} | ||
run: | | ||
pip install mkdocs==1.5.2 mike==1.1.2 mkdocs-material==8.5.11 | ||
git config user.email "[email protected]" | ||
git config user.name "robot" | ||
cp ./docs/mkdocs.yml ./ | ||
mike deploy --rebase -b ${{ env.MERGE_BRANCH }} dev -t "dev (${{ env.REF }})" | ||
rm -rf ./site && rm -rf ./mkdocs.yml | ||
git checkout -f ${{ env.MERGE_BRANCH }} | ||
rm -rf ./charts && rm -rf ./index.yaml && rm -rf ./changelogs | ||
tar -czvf ./site.tar.gz * | ||
ls | ||
echo "push document version `dev` from branch ${{ env.REF }}." | ||
- name: Extract Version | ||
id: extract | ||
if: ${{ env.REF != 'main' }} | ||
run: | | ||
if ! grep -E "^[[:space:]]*v[0-9]+.[0-9]+.[0-9]+[[:space:]]*$" VERSION &>/dev/null ; then | ||
echo "not a release version, skip generating doc." | ||
|
@@ -82,7 +99,7 @@ jobs: | |
- name: build doc | ||
id: build_doc | ||
if: ${{ env.SKIP_ALL_JOB != 'true' }} | ||
if: ${{ env.SKIP_ALL_JOB != 'true' && env.REF != 'main' }} | ||
run: | | ||
git checkout ${{ env.REF }} | ||
ls | ||
|
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 |
---|---|---|
|
@@ -199,15 +199,18 @@ jobs: | |
- name: Get the E2E Performance Result For Dual-stack | ||
id: get_performance | ||
if: ${{ inputs.run_e2e == 'true' && inputs.ip_family == 'dual' && matrix.e2e_test_mode == 'e2e_test_underlay' }} | ||
continue-on-error: true | ||
shell: bash | ||
run: | | ||
# sudo apt-get install -y jq | ||
TOOL_PATH=${{ env.PERFORMANCESCRIPT }} | ||
TODO_STATUS=$( ${TOOL_PATH} "e2ereport.json" ) | ||
echo "PERFORMANCE_RESULT=${TODO_STATUS}" >> $GITHUB_ENV | ||
[ -z ${{ env.PERFORMANCE_RESULT }} ] || { echo "error, miss spiderpool performance result " ; exit 1 ; } | ||
- name: Update Badge For Dual-stack | ||
if: ${{ inputs.run_e2e == 'true' && env.PERFORMANCE_RESULT != '' && inputs.ip_family == 'dual' }} | ||
continue-on-error: true | ||
uses: schneegans/[email protected] | ||
with: | ||
auth: ${{ secrets.WELAN_PAT }} | ||
|
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 +1 @@ | ||
v0.8.0-rc1 | ||
v0.8.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
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.