Skip to content

Commit

Permalink
Merge pull request #1271 from spidernet-io/main
Browse files Browse the repository at this point in the history
merge
  • Loading branch information
iiiceoo authored Feb 24, 2023
2 parents ed6a9cd + dfa9533 commit a6ea61f
Show file tree
Hide file tree
Showing 508 changed files with 35,076 additions and 21,652 deletions.
18 changes: 18 additions & 0 deletions .github/.spelling
Original file line number Diff line number Diff line change
Expand Up @@ -278,3 +278,21 @@ default_ipv4_ippool
default_ipv6_ippool
clusterDefaultIPv4Subnet
clusterDefaultIPv6Subnet
SpiderEndpoint.Status.OwnerControllerType
OwnerControllerType
subresource
ipam_allocation_duration_seconds_histogram
ipam_release_duration_seconds_histogram
auto_ippool_create_or_mark_conflict_counts
ippool_informer_conflict_counts
auto_pool_scale_conflict_counts
auto_pool_creation_average_duration
auto_pool_creation_max_duration_seconds
auto_pool_creation_min_duration_seconds
auto_pool_creation_latest_duration_seconds
auto_pool_creation_duration_seconds_histogram
auto_pool_scale_average_duration
auto_pool_scale_max_duration_seconds
auto_pool_scale_min_duration_seconds
auto_pool_scale_latest_duration_seconds
auto_pool_scale_duration_seconds_histogram
33 changes: 0 additions & 33 deletions .github/changelog_builder_conf.json

This file was deleted.

20 changes: 10 additions & 10 deletions .github/workflows/auto-nightly-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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: |
Expand All @@ -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"
6 changes: 3 additions & 3 deletions .github/workflows/build-image-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/build-image-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/call-clean-ghcr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
- name: Delete CI image
if: ${{ steps.args.outputs.tag_regex != '' }}
uses: vlaurin/action-ghcr-prune@v0.4.0
uses: vlaurin/action-ghcr-prune@v0.5.0
with:
token: ${{ secrets.WELAN_PAT }}
organization: ${{ github.repository_owner }}
Expand All @@ -81,7 +81,7 @@ jobs:

- name: Delete CI image
if: ${{ steps.args.outputs.tag_regex == '' }}
uses: vlaurin/action-ghcr-prune@v0.4.0
uses: vlaurin/action-ghcr-prune@v0.5.0
with:
token: ${{ secrets.WELAN_PAT }}
organization: ${{ github.repository_owner }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/call-lint-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:

# https://github.com/actions/setup-python
- name: Set up Python
uses: actions/setup-python@v4.4.0
uses: actions/setup-python@v4.5.0
with:
python-version: 3.8
architecture: x64
Expand Down
Loading

0 comments on commit a6ea61f

Please sign in to comment.