-
Notifications
You must be signed in to change notification settings - Fork 81
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 #1271 from spidernet-io/main
merge
- Loading branch information
Showing
508 changed files
with
35,076 additions
and
21,652 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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -205,7 +205,7 @@ jobs: | |
- name: Setup Golang | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.19.0 | ||
go-version: 1.20.0 | ||
id: go | ||
|
||
# https://github.com/helm/kind-action | ||
|
@@ -286,15 +286,15 @@ jobs: | |
- name: Upload e2e log For Dual-stack | ||
if: ${{ needs.get_ref.outputs.ipfamily_dual_e2e == 'true' }} | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
name: dualstack-debuglog.txt | ||
path: test/e2edebugLog.txt | ||
retention-days: 30 | ||
|
||
- name: Upload e2e report For Dual-stack | ||
if: ${{ steps.dualstack_e2e.outputs.upload == 'true' && needs.get_ref.outputs.ipfamily_dual_e2e == 'true' }} | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
name: dualstack-e2ereport.json | ||
path: e2ereport.json | ||
|
@@ -378,15 +378,15 @@ jobs: | |
- name: Upload e2e log For ipv4-only | ||
if: ${{ needs.get_ref.outputs.ipfamily_ipv4only_e2e == 'true' }} | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
name: ipv4Only-debuglog.txt | ||
path: test/e2edebugLog.txt | ||
retention-days: 30 | ||
|
||
- name: Upload e2e report For ipv4-only | ||
if: ${{ steps.ipv4only_e2e.outputs.upload == 'true' && needs.get_ref.outputs.ipfamily_ipv4only_e2e == 'true' }} | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
name: ipv4Only-e2ereport.json | ||
path: e2ereport.json | ||
|
@@ -447,15 +447,15 @@ jobs: | |
- name: Upload e2e log For ipv6-only | ||
if: ${{ needs.get_ref.outputs.ipfamily_ipv6only_e2e == 'true' }} | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
name: ipv6Only-debuglog.txt | ||
path: test/e2edebugLog.txt | ||
retention-days: 30 | ||
|
||
- name: Upload e2e report For ipv6-only | ||
if: ${{ steps.ipv6only_e2e.outputs.upload == 'true' && needs.get_ref.outputs.ipfamily_ipv6only_e2e == 'true' }} | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
name: ipv6Only-e2ereport.json | ||
path: e2ereport.json | ||
|
@@ -472,8 +472,8 @@ jobs: | |
creat_issue: | ||
runs-on: ubuntu-latest | ||
needs: [e2e_against_commit] | ||
if: ${{ always() && needs.e2e_against_commit.result == 'failure' }} | ||
needs: [e2e_against_commit, call_unitest, lint_chart_against_release_image] | ||
if: ${{ always() && needs.e2e_against_commit.result == 'failure' || needs.call_unitest.result == 'failure' || needs.lint_chart_against_release_image.result == 'failure' }} | ||
steps: | ||
- name: echo | ||
run: | | ||
|
@@ -489,4 +489,4 @@ jobs: | |
body: | | ||
action url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} | ||
labels: "kind/bug" | ||
assignees: "weizhoublue" | ||
assignees: "iiiceoo,Icarus9913" |
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 |
---|---|---|
|
@@ -42,7 +42,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2.2.1 | ||
uses: docker/setup-buildx-action@v2.4.1 | ||
|
||
- name: Inspect builder | ||
run: | | ||
|
@@ -106,7 +106,7 @@ jobs: | |
|
||
- name: Release build ${{ env.IMAGE_NAME }} | ||
if: ${{ steps.tag-in-repositories.outputs.exists == 'false' }} | ||
uses: docker/build-push-action@v3.2.0 | ||
uses: docker/build-push-action@v4.0.0 | ||
continue-on-error: false | ||
id: docker_build_release | ||
with: | ||
|
@@ -130,7 +130,7 @@ jobs: | |
- name: Upload artifact digests | ||
if: ${{ steps.tag-in-repositories.outputs.exists == 'false' }} | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
name: image-digest ${{ env.IMAGE_NAME }} | ||
path: image-digest | ||
|
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 |
---|---|---|
|
@@ -52,7 +52,7 @@ jobs: | |
|
||
steps: | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2.2.1 | ||
uses: docker/setup-buildx-action@v2.4.1 | ||
|
||
# commit sha is used for image tag | ||
- name: Getting image tag | ||
|
@@ -131,7 +131,7 @@ jobs: | |
# Import GitHub's cache build to docker cache | ||
- name: Copy ${{ matrix.name }} Golang cache to docker cache | ||
uses: docker/build-push-action@v3.2.0 | ||
uses: docker/build-push-action@v4.0.0 | ||
with: | ||
context: /tmp/.cache/${{ matrix.name }} | ||
file: ./images/cache/Dockerfile | ||
|
@@ -144,7 +144,7 @@ jobs: | |
# build normal image | ||
- name: CI Build ${{ matrix.name }} | ||
if: ${{ github.event_name != 'pull_request_target' }} | ||
uses: docker/build-push-action@v3.2.0 | ||
uses: docker/build-push-action@v4.0.0 | ||
continue-on-error: false | ||
id: docker_build_ci_master | ||
with: | ||
|
@@ -166,7 +166,7 @@ jobs: | |
# build debug image who turn on race and deadlock detection | ||
- name: CI race detection Build ${{ matrix.name }} | ||
if: ${{ github.event_name != 'pull_request_target' }} | ||
uses: docker/build-push-action@v3.2.0 | ||
uses: docker/build-push-action@v4.0.0 | ||
continue-on-error: false | ||
id: docker_build_ci_master_detect_race_condition | ||
with: | ||
|
@@ -198,7 +198,7 @@ jobs: | |
# =========== trigger by PR updates , build 2 images | ||
- name: CI Build ${{ matrix.name }} | ||
if: ${{ github.event_name == 'pull_request_target' }} | ||
uses: docker/build-push-action@v3.2.0 | ||
uses: docker/build-push-action@v4.0.0 | ||
continue-on-error: false | ||
id: docker_build_ci_pr | ||
with: | ||
|
@@ -216,7 +216,7 @@ jobs: | |
- name: CI race detection Build ${{ matrix.name }} | ||
if: ${{ github.event_name == 'pull_request_target' }} | ||
uses: docker/build-push-action@v3.2.0 | ||
uses: docker/build-push-action@v4.0.0 | ||
continue-on-error: false | ||
id: docker_build_ci_pr_detect_race_condition | ||
with: | ||
|
@@ -244,15 +244,15 @@ jobs: | |
# Upload artifact digests | ||
- name: Upload artifact digests | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
name: image-digest-${{ matrix.name }} | ||
path: image-digest | ||
retention-days: 1 | ||
|
||
# Upload artifact race images tar | ||
- name: Upload artifact race image tar | ||
uses: actions/[email protected].1 | ||
uses: actions/[email protected].2 | ||
with: | ||
name: image-tar-${{ matrix.name }} | ||
path: /tmp/${{ matrix.name }}-race.tar | ||
|
@@ -262,7 +262,7 @@ jobs: | |
# Store docker's golang's cache build locally only on the main branch | ||
- name: Store ${{ matrix.name }} Golang cache build locally | ||
if: ${{ github.event_name != 'pull_request_target' && steps.cache.outputs.cache-hit != 'true' }} | ||
uses: docker/build-push-action@v3.2.0 | ||
uses: docker/build-push-action@v4.0.0 | ||
with: | ||
context: . | ||
file: ./images/cache/Dockerfile | ||
|
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.