Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git-cherry-pick: it is so slow to create a Pod requiring IP from a super big CIDR #3627

Closed
wants to merge 173 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
173 commits
Select commit Hold shift + click to select a range
6b573db
Merge pull request #2509 from spidernet-io/main
weizhoublue Nov 2, 2023
09d2681
Merge pull request #2596 from spidernet-io/main
cyclinder Nov 8, 2023
bf5df0b
Merge pull request #2601 from ty-dc/docs/unit
weizhoublue Nov 16, 2023
f80262a
Merge pull request #2613 from spidernet-io/robot/cherrypick/pr2601/re…
weizhoublue Nov 16, 2023
cd1a3db
Merge pull request #2603 from cyclinder/spidermultusconfig/file_empty…
weizhoublue Nov 17, 2023
34fc3b5
Merge pull request #2619 from spidernet-io/robot/cherrypick/pr2603/re…
cyclinder Nov 17, 2023
45c202e
Merge pull request #2626 from ty-dc/docs/fix-description-error
weizhoublue Nov 21, 2023
e9f002b
Merge pull request #2633 from spidernet-io/robot/cherrypick/pr2626/re…
weizhoublue Nov 21, 2023
322f70b
Merge pull request #2639 from cyclinder/ifacer/fix_bond
weizhoublue Nov 22, 2023
88cac5a
Merge pull request #2622 from Icarus9913/fix/wk/crd
weizhoublue Nov 22, 2023
abef0f8
Merge pull request #2644 from spidernet-io/robot/cherrypick/pr2639/re…
cyclinder Nov 23, 2023
e7e7a43
Merge pull request #2645 from spidernet-io/robot/cherrypick/pr2622/re…
cyclinder Nov 23, 2023
5b9cb4c
Merge pull request #2661 from cyclinder/docs/ifacer_network_manager
weizhoublue Nov 29, 2023
ec4b296
Merge pull request #2669 from spidernet-io/robot/cherrypick/pr2661/re…
weizhoublue Nov 29, 2023
046bd97
Merge pull request #2667 from Icarus9913/fix/wk/charts
weizhoublue Nov 29, 2023
c867067
Merge pull request #2672 from spidernet-io/robot/cherrypick/pr2667/re…
weizhoublue Nov 29, 2023
6d7c3c4
update to v0.8.1
Icarus9913 Nov 30, 2023
13b9b44
Merge pull request #2685 from Icarus9913/feat/wk/v081
cyclinder Nov 30, 2023
0e1ffd7
Updated docs for spiderpool v0.8
ty-dc Dec 2, 2023
f911fa2
Merge pull request #2724 from ty-dc/release-v0.8
weizhoublue Dec 2, 2023
f4082d4
image: archtecture
weizhoublue Dec 4, 2023
6c1b011
Merge pull request #2736 from spidernet-io/pr/welan/8arch
weizhoublue Dec 4, 2023
66629f8
Merge branch 'remotes/release-v0.8'
Icarus9913 Dec 5, 2023
e2ee37b
update to v0.8.2
Icarus9913 Dec 6, 2023
ba48168
Merge pull request #2747 from Icarus9913/main080
weizhoublue Dec 6, 2023
474c262
Merge pull request #2759 from cyclinder/init_pod/fix_init_multus
weizhoublue Dec 7, 2023
fc4b50f
Merge pull request #2760 from spidernet-io/robot/cherrypick/pr2759/re…
weizhoublue Dec 7, 2023
05c9fda
Merge pull request #2774 from cyclinder/docs/submariner
weizhoublue Dec 8, 2023
6d2b2c7
Merge pull request #2781 from spidernet-io/robot/cherrypick/pr2774/re…
weizhoublue Dec 8, 2023
c00bece
Merge pull request #2777 from cyclinder/docs/opt_arch
weizhoublue Dec 8, 2023
047e255
Merge pull request #2783 from spidernet-io/robot/cherrypick/pr2777/re…
weizhoublue Dec 8, 2023
c383daf
e2e-init: fix and update get-start-kind.md
ty-dc Dec 4, 2023
5ec0657
Merge pull request #2789 from ty-dc/release-v0.8
weizhoublue Dec 9, 2023
5c50f49
init-pod: don't init multus CR if multus is disable
cyclinder Dec 5, 2023
64a1593
bump golang to v1.21.4
cyclinder Dec 6, 2023
3a59495
coordinator: ensure detect gateway and ip conflict in pod's netns
cyclinder Dec 6, 2023
7f0c439
docs: rebase main
ty-dc Dec 10, 2023
252583f
Merge pull request #2794 from ty-dc/release-v0.8
weizhoublue Dec 10, 2023
80db675
Merge pull request #2797 from cyclinder/cherrypick1
weizhoublue Dec 10, 2023
37ab245
Merge pull request #2778 from Icarus9913/fix/wk/scripts
cyclinder Dec 11, 2023
321d9a3
Merge pull request #2799 from spidernet-io/robot/cherrypick/pr2778/re…
cyclinder Dec 11, 2023
6eef74c
bump version to v0.8.3
cyclinder Dec 11, 2023
9d6a66d
Merge pull request #2800 from cyclinder/bump_version_v_0_8_3
cyclinder Dec 11, 2023
7fc495f
Merge pull request #2805 from ty-dc/format-release-docs
weizhoublue Dec 12, 2023
7f7d991
Merge pull request #2825 from spidernet-io/robot/cherrypick/pr2805/re…
weizhoublue Dec 12, 2023
1c1cafd
Merge pull request #2834 from spidernet-io/pr/welan/dodo
weizhoublue Dec 13, 2023
daf3bf1
Merge pull request #2835 from spidernet-io/robot/cherrypick/pr2834/re…
weizhoublue Dec 13, 2023
8c98bf4
update index
weizhoublue Dec 13, 2023
21e5584
Merge pull request #2838 from spidernet-io/pr/welan/v8
weizhoublue Dec 13, 2023
99a81a4
Merge pull request #2839 from cyclinder/docs/arch_image
weizhoublue Dec 13, 2023
0fe194b
Merge pull request #2841 from spidernet-io/robot/cherrypick/pr2839/re…
weizhoublue Dec 13, 2023
0ac176e
Merge pull request #2820 from Icarus9913/docs/wk/aws
weizhoublue Dec 13, 2023
e032b48
Merge pull request #2842 from spidernet-io/robot/cherrypick/pr2820/re…
weizhoublue Dec 13, 2023
2f52d54
update quick start
weizhoublue Dec 13, 2023
1276d58
Merge pull request #2843 from spidernet-io/pr/welan/v8
weizhoublue Dec 13, 2023
d92b193
logo (#2818)
weizhoublue Dec 12, 2023
c1f6a29
update readme.md
cyclinder Dec 11, 2023
f942b04
update readme.md
cyclinder Dec 11, 2023
e0f770f
update log
weizhoublue Dec 13, 2023
37ccba1
Merge pull request #2846 from spidernet-io/pr/welan/v8
weizhoublue Dec 13, 2023
16052f4
update doc
weizhoublue Dec 13, 2023
399036f
Merge pull request #2848 from spidernet-io/pr/welan/v8
weizhoublue Dec 13, 2023
41d3852
Merge pull request #2852 from ty-dc/docs/xxxxxxx
weizhoublue Dec 13, 2023
4ddd9e1
Merge pull request #2853 from spidernet-io/robot/cherrypick/pr2852/re…
weizhoublue Dec 13, 2023
a9d68cc
Merge pull request #2855 from spidernet-io/pr/welan/newdoo
weizhoublue Dec 13, 2023
6763c70
Merge pull request #2856 from spidernet-io/robot/cherrypick/pr2855/re…
weizhoublue Dec 13, 2023
644d93f
Merge pull request #2865 from ty-dc/docs/authors
weizhoublue Dec 13, 2023
c1a5d22
Merge pull request #2866 from spidernet-io/robot/cherrypick/pr2865/re…
weizhoublue Dec 13, 2023
7c0f13f
Merge pull request #2861 from ty-dc/update-images
weizhoublue Dec 13, 2023
fa4afb5
Merge pull request #2860 from Icarus9913/doc/wk/title
weizhoublue Dec 13, 2023
b61fdf4
Merge pull request #2868 from spidernet-io/robot/cherrypick/pr2861/re…
weizhoublue Dec 13, 2023
ac09ad3
Merge pull request #2869 from spidernet-io/robot/cherrypick/pr2860/re…
weizhoublue Dec 13, 2023
4951668
doc: add community
weizhoublue Dec 13, 2023
ee2a10b
doc: add community
weizhoublue Dec 13, 2023
f0f7b02
Merge pull request #2871 from spidernet-io/pr/welan/8cherry
weizhoublue Dec 13, 2023
804b10d
update contributing
weizhoublue Dec 13, 2023
2b0f737
Merge pull request #2872 from spidernet-io/pr/welan/8cherry
weizhoublue Dec 13, 2023
fb85d9b
Merge pull request #2876 from spidernet-io/pr/welan/maidoc
weizhoublue Dec 13, 2023
21a9d5b
Merge pull request #2877 from spidernet-io/robot/cherrypick/pr2876/re…
weizhoublue Dec 13, 2023
28c3d38
Merge pull request #2878 from spidernet-io/pr/welan/maidoc
weizhoublue Dec 13, 2023
154f7e1
Merge pull request #2879 from spidernet-io/robot/cherrypick/pr2878/re…
weizhoublue Dec 13, 2023
5a32c75
Merge pull request #2882 from spidernet-io/pr/welan/maidoc
weizhoublue Dec 13, 2023
3089c43
Merge pull request #2883 from spidernet-io/robot/cherrypick/pr2882/re…
weizhoublue Dec 13, 2023
3ddca44
Merge pull request #2886 from spidernet-io/pr/welan/cod
weizhoublue Dec 13, 2023
00f0d63
Merge pull request #2887 from spidernet-io/robot/cherrypick/pr2886/re…
weizhoublue Dec 13, 2023
92c4930
Merge pull request #2891 from spidernet-io/pr/welan/cod
weizhoublue Dec 14, 2023
db1d0e0
Merge pull request #2892 from spidernet-io/robot/cherrypick/pr2891/re…
weizhoublue Dec 14, 2023
63c5a71
Merge pull request #2895 from ty-dc/docs/readme
weizhoublue Dec 14, 2023
30a7ea6
Merge pull request #2896 from spidernet-io/robot/cherrypick/pr2895/re…
weizhoublue Dec 14, 2023
ca2b173
Merge pull request #2898 from cyclinder/docs/update3
weizhoublue Dec 14, 2023
26d0a4f
Merge pull request #2900 from spidernet-io/robot/cherrypick/pr2898/re…
weizhoublue Dec 14, 2023
2d74f65
Merge pull request #2897 from cyclinder/docs/update2
weizhoublue Dec 14, 2023
64a856e
Merge pull request #2904 from spidernet-io/robot/cherrypick/pr2897/re…
weizhoublue Dec 14, 2023
7dd271e
update roadmap
weizhoublue Dec 14, 2023
1223a6a
Merge pull request #2909 from spidernet-io/pr/welan/8road
weizhoublue Dec 14, 2023
6261ae1
cherrypick 2831 to release-v0.8
ty-dc Dec 15, 2023
49fe5eb
Merge pull request #2916 from ty-dc/release-v0.8
weizhoublue Dec 15, 2023
22eb042
Merge pull request #2920 from spidernet-io/pr/welan/ipamdoc
weizhoublue Dec 15, 2023
8fd7b13
Merge pull request #2921 from spidernet-io/robot/cherrypick/pr2920/re…
weizhoublue Dec 15, 2023
3fa80a5
Merge pull request #2919 from cyclinder/coordinator/move_ipv6_route
cyclinder Dec 15, 2023
2d10678
Merge pull request #2925 from spidernet-io/robot/cherrypick/pr2919/re…
cyclinder Dec 15, 2023
57048b1
Merge pull request #2929 from cyclinder/spidercoorinator/update_status
weizhoublue Dec 18, 2023
dc35ae4
Merge pull request #2944 from spidernet-io/robot/cherrypick/pr2929/re…
cyclinder Dec 18, 2023
b7886f9
doc: update sriov note
weizhoublue Dec 20, 2023
27c6729
Merge pull request #2959 from spidernet-io/pr/welan/8docs
weizhoublue Dec 20, 2023
760ccdc
readme: add copyright
weizhoublue Dec 20, 2023
ea9ab8e
Merge pull request #2982 from spidernet-io/pr/welan/sadf8
weizhoublue Dec 22, 2023
c0b163d
Merge pull request #2974 from cyclinder/charts/multus_uninstalll
weizhoublue Dec 22, 2023
80994dd
cherrypick: fix spiderpool-agent crashes when kubevirt static IP feat…
Icarus9913 Dec 22, 2023
cb79b8e
Merge pull request #2985 from spidernet-io/robot/cherrypick/pr2974/re…
cyclinder Dec 22, 2023
53a8ad2
Merge pull request #3003 from ty-dc/blog/vivo
weizhoublue Dec 25, 2023
ca5fd1f
Merge pull request #3004 from spidernet-io/robot/cherrypick/pr3003/re…
cyclinder Dec 26, 2023
3159f72
Merge branch 'release-v0.8' into cherrypick2971
ty-dc Dec 26, 2023
437beef
rebase main for calico version
ty-dc Dec 26, 2023
6beb82a
Merge pull request #2987 from Icarus9913/cherrypick2971
cyclinder Dec 26, 2023
4b03e7d
Merge pull request #3008 from ty-dc/release-v0.8
cyclinder Dec 26, 2023
ff93b07
Merge pull request #2952 from Icarus9913/fix/wk/subnet-pod
weizhoublue Dec 26, 2023
065f434
Merge pull request #3020 from cyclinder/spidercoorinator/kubeadm_config
Icarus9913 Dec 27, 2023
a477520
cherrypick 3011 to v0.8
Icarus9913 Dec 27, 2023
a1cce41
Merge pull request #3023 from spidernet-io/robot/cherrypick/pr3020/re…
cyclinder Dec 27, 2023
e2281e6
Merge pull request #3025 from Icarus9913/cherrypick3011-v8
weizhoublue Dec 27, 2023
fca0556
Merge pull request #3019 from spidernet-io/robot/cherrypick/pr2952/re…
weizhoublue Dec 27, 2023
65d75ab
Merge pull request #3027 from cyclinder/docs/update_calico_start
weizhoublue Dec 27, 2023
00a25ac
Merge pull request #3028 from spidernet-io/robot/cherrypick/pr3027/re…
cyclinder Dec 27, 2023
04a2eca
release v0.8.4
Icarus9913 Dec 28, 2023
7a4e163
Merge pull request #3038 from Icarus9913/v084
cyclinder Dec 28, 2023
10c24fd
[release-v0.8]cherry-pick PRs submitted by robots can be verified.
ty-dc Jan 3, 2024
bd450d4
Merge pull request #3078 from ty-dc/release-v0.8
Icarus9913 Jan 11, 2024
209c921
Merge pull request #3066 from ty-dc/e2e/kind-node-image
ty-dc Jan 11, 2024
b8b3b80
Merge pull request #3079 from spidernet-io/robot/cherrypick/pr3066/re…
ty-dc Jan 12, 2024
2f2577d
Merge pull request #3071 from Icarus9913/typo
Icarus9913 Jan 12, 2024
b770c32
Merge pull request #3083 from spidernet-io/robot/cherrypick/pr3071/re…
cyclinder Jan 12, 2024
bd59cfb
Merge pull request #3088 from ty-dc/fix/ifacer
Icarus9913 Jan 15, 2024
1c306e4
Merge pull request #3090 from spidernet-io/robot/cherrypick/pr3088/re…
weizhoublue Jan 15, 2024
0234532
Spidercoordinator: It able to get CIDR from kubeadm-config
cyclinder Jan 5, 2024
bb079d0
Merge pull request #3130 from cyclinder/cherry_pick_0.8
cyclinder Jan 25, 2024
173a7c3
Merge pull request #3151 from spidernet-io/robot-changelog-no-signoff
weizhoublue Jan 29, 2024
8f9accc
Merge pull request #3153 from spidernet-io/robot/cherrypick/pr3151/re…
ty-dc Jan 29, 2024
f80ef4b
update to v0.8.5
Icarus9913 Jan 30, 2024
7f97702
Merge pull request #3159 from Icarus9913/085
weizhoublue Jan 31, 2024
be44bea
Merge pull request #3176 from spidernet-io/robot/fix
cyclinder Feb 2, 2024
ccb6fe5
Merge pull request #3178 from spidernet-io/robot/cherrypick/pr3176/re…
ty-dc Feb 2, 2024
410a2cc
Merge pull request #3223 from Icarus9913/feat/wk/pyroscope
cyclinder Feb 21, 2024
9c3a054
fix cilium installation failure
Icarus9913 Feb 26, 2024
2d0c419
Merge pull request #3245 from Icarus9913/fix/wk/080-cilium-installation
weizhoublue Feb 27, 2024
65c2e51
Merge branch 'release-v0.8' into robot/cherrypick/pr3223/release-v0.8
Icarus9913 Feb 27, 2024
76192cc
Merge pull request #3235 from spidernet-io/robot/cherrypick/pr3223/re…
weizhoublue Feb 27, 2024
36a17fc
Rework spidercoordinator informer to update pod and service cidr
cyclinder Feb 26, 2024
5d28bde
Fix the golang-lint: remove pointer package
cyclinder Feb 29, 2024
e4a8651
Merge pull request #3261 from cyclinder/auto_cherry_pick_v0.8_spiderc…
weizhoublue Mar 1, 2024
4e3030c
Merge pull request #3284 from cyclinder/spidercoordinator/hander_patch
weizhoublue Mar 5, 2024
9373839
Merge pull request #3286 from spidernet-io/robot/cherrypick/pr3284/re…
ty-dc Mar 5, 2024
433a5db
Spidercoordinator: Add kubeadm-config event to workQueue
cyclinder Mar 5, 2024
832a8e8
Merge pull request #3302 from ty-dc/fix-ipv6-podDefaultRoute
weizhoublue Mar 11, 2024
e8afacb
Merge pull request #3306 from spidernet-io/robot/cherrypick/pr3302/re…
ty-dc Mar 11, 2024
a3ccd62
Merge pull request #3304 from cyclinder/cherry_pick_0.8_1
weizhoublue Mar 12, 2024
9210fd5
bump release-v0.8 to v0.8.6
cyclinder Mar 15, 2024
97a3c52
Merge pull request #3312 from cyclinder/v0.8.6
weizhoublue Mar 15, 2024
255ccd4
Merge pull request #3358 from cyclinder/coordinator/fix_source_ip
weizhoublue Apr 16, 2024
82f4033
Merge pull request #3363 from spidernet-io/robot/cherrypick/pr3358/re…
weizhoublue Apr 16, 2024
7b62e27
bump cosign-release to v2.2.3
cyclinder Apr 16, 2024
2ed8703
Merge pull request #3370 from cyclinder/ci/bump_cosign-release2
weizhoublue Apr 16, 2024
31afa16
[chery-pick] CI: update release version in readme
weizhoublue Apr 22, 2024
48bef1b
Merge pull request #3395 from ty-dc/release-v0.8
ty-dc Apr 22, 2024
7877286
Add upgrade test for spiderpool
ty-dc Mar 14, 2024
22910a2
Merge pull request #3416 from ty-dc/release-v0.8
weizhoublue Apr 29, 2024
fcce811
Merge pull request #3432 from ty-dc/ignore-rc
weizhoublue Apr 30, 2024
0364533
Merge pull request #3437 from spidernet-io/robot/cherrypick/pr3432/re…
weizhoublue Apr 30, 2024
3bc27e3
doc: optimize ovs
weizhoublue Apr 30, 2024
fa112be
Merge pull request #3442 from ty-dc/release-v0.8
cyclinder Apr 30, 2024
1daebd8
docs: add underlay and overlay network coexist
cyclinder May 11, 2024
0d89c39
Merge pull request #3557 from cyclinder/cp1
weizhoublue Jun 6, 2024
87adc5a
Fix big CIDR create Pod slow
lou-lan Jun 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/.spelling
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ golangci-lint
gofmt
codeql
gokart
unitest
unittest
codecov
openapi.yaml
vXX.XX.XX
Expand Down
6 changes: 5 additions & 1 deletion .github/markdownlintignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
vendor/
vendor/
// Content tabs are used in the following documentation, which require special formatting
// see https://squidfunk.github.io/mkdocs-material/reference/content-tabs/#. Therefore, Markdown detection will be skipped.
docs/usage/install/get-started-kind-zh_CN.md
docs/usage/install/get-started-kind.md
10 changes: 9 additions & 1 deletion .github/workflows/auto-cherrypick.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ jobs:
with:
fetch-depth: 0

- uses: crazy-max/ghaction-import-gpg@v5
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true

- name: cherry pick
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -107,7 +114,7 @@ jobs:
echo "============ begin to cherry pick ============ "
FINAL_FAILURE=false
git branch
git config user.email "[email protected]"
git config user.email "[email protected]"
git config user.name "robot"
gh label create ${{ env.CHERRYPICK_LABEL }} || true
for BRANCH in $WANT_MERGE_BRANCH_LIST ; do
Expand Down Expand Up @@ -184,6 +191,7 @@ jobs:
if [ "$UPDATE" == "true" ] ; then
echo "succeeded to cherry pick to branch $BRANCH "
# create a pr
git commit -s -S --amend --no-edit
git push origin ${PR_BRANCH}:${PR_BRANCH} -f
gh pr create --title "${PR_TITLE}" \
--assignee "${PR_AUTHOR},${{ env.DEFAULT_REVIEWER }}" \
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/auto-nightly-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
outputs:
ref: ${{ env.RUN_REF }}
e2e_labels: ${{ env.RUN_E2E_LABELS }}
unitest_enabled: ${{ env.RUN_UNITEST_ENABLED }}
unittest_enabled: ${{ env.RUN_UNITTEST_ENABLED }}
run_push: ${{ env.RUN_PUSH}}
e2e_enabled: ${{ env.RUN_E2E_ENABLED }}
ipfamily_ipv4only_e2e: ${{ env.RUN_E2E_IPV4_ONLY }}
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
echo "RUN_E2E_LABELS=smoke" >> $GITHUB_ENV
echo "RUN_E2E_ENABLED=true" >> $GITHUB_ENV
# do it in another workflow
echo "RUN_UNITEST_ENABLED=false" >> $GITHUB_ENV
echo "RUN_UNITTEST_ENABLED=false" >> $GITHUB_ENV
echo "RUN_E2E_IPV4_ONLY=false" >> $GITHUB_ENV
echo "RUN_E2E_IPV6_ONLY=false" >> $GITHUB_ENV
echo "RUN_E2E_DUAL_STACK=true" >> $GITHUB_ENV
Expand All @@ -76,7 +76,7 @@ jobs:
fi
echo "RUN_E2E_ENABLED=${{ steps.filter_pr.outputs.run_e2e }}" >> $GITHUB_ENV
# do it in another workflow
echo "RUN_UNITEST_ENABLED=false" >> $GITHUB_ENV
echo "RUN_UNITTEST_ENABLED=false" >> $GITHUB_ENV
else
# schedule event
# use main sha for ci image tag
Expand All @@ -86,7 +86,7 @@ jobs:
# nightly ci, run all e2e
echo "RUN_E2E_LABEL=" >> $GITHUB_ENV
echo "RUN_E2E_ENABLED=true" >> $GITHUB_ENV
echo "RUN_UNITEST_ENABLED=true" >> $GITHUB_ENV
echo "RUN_UNITTEST_ENABLED=true" >> $GITHUB_ENV
echo "RUN_E2E_IPV4_ONLY=true" >> $GITHUB_ENV
echo "RUN_E2E_IPV6_ONLY=true" >> $GITHUB_ENV
echo "RUN_E2E_DUAL_STACK=true" >> $GITHUB_ENV
Expand All @@ -105,9 +105,9 @@ jobs:
ref=$( git show -s --format='format:%H')
echo "RUN_REF=${ref}" >> $GITHUB_ENV

call_unitest:
call_unittest:
needs: get_ref
if: ${{ needs.get_ref.outputs.unitest_enabled == 'true' }}
if: ${{ needs.get_ref.outputs.unittest_enabled == 'true' }}
# forbid to specify version for local workflow, GITHUB_REF Same as the caller workflow
uses: ./.github/workflows/lint-golang.yaml
with:
Expand Down Expand Up @@ -189,8 +189,8 @@ jobs:

creat_issue:
runs-on: ubuntu-latest
needs: [call_e2e_dual, call_e2e_ipv4, call_e2e_ipv6, call_unitest, lint_chart_against_release_image, call_low_kernel]
if: ${{ always() && needs.call_e2e_dual.result == 'failure' || needs.call_e2e_ipv4.result == 'failure' || needs.call_e2e_ipv6.result == 'failure' || needs.call_unitest.result == 'failure' || needs.lint_chart_against_release_image.result == 'failure' || needs.call_low_kernel.result == 'failure' }}
needs: [call_e2e_dual, call_e2e_ipv4, call_e2e_ipv6, call_unittest, lint_chart_against_release_image, call_low_kernel]
if: ${{ always() && needs.call_e2e_dual.result == 'failure' || needs.call_e2e_ipv4.result == 'failure' || needs.call_e2e_ipv6.result == 'failure' || needs.call_unittest.result == 'failure' || needs.lint_chart_against_release_image.result == 'failure' || needs.call_low_kernel.result == 'failure' }}
steps:
- name: echo
run: |
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/auto-pr-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
outputs:
ref: ${{ env.RUN_REF }}
e2e_labels: ${{ env.RUN_E2E_LABELS }}
unitest_enabled: ${{ env.RUN_UNITEST_ENABLED }}
unittest_enabled: ${{ env.RUN_UNITTEST_ENABLED }}
e2e_enabled: ${{ env.RUN_E2E_ENABLED }}
ipfamily_ipv4only_e2e: ${{ env.RUN_E2E_IPV4_ONLY }}
ipfamily_ipv6only_e2e: ${{ env.RUN_E2E_IPV6_ONLY }}
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
run: |
if ${{ github.event_name == 'workflow_dispatch' }} ; then
echo "call by self workflow_dispatch"
echo "RUN_UNITEST_ENABLED=true" >> $GITHUB_ENV
echo "RUN_UNITTEST_ENABLED=true" >> $GITHUB_ENV
echo "RUN_E2E_ENABLED=true" >> $GITHUB_ENV
echo "RUN_E2E_LABELS=${{ github.event.inputs.e2e_labels }}" >> $GITHUB_ENV
echo "RUN_TAG=${{ github.event.inputs.ref }}" >> $GITHUB_ENV
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
echo "RUN_E2E_LABELS=smoke" >> $GITHUB_ENV
echo "RUN_E2E_ENABLED=true" >> $GITHUB_ENV
# do it in another workflow
echo "RUN_UNITEST_ENABLED=false" >> $GITHUB_ENV
echo "RUN_UNITTEST_ENABLED=false" >> $GITHUB_ENV
echo "RUN_E2E_IPV4_ONLY=false" >> $GITHUB_ENV
echo "RUN_E2E_IPV6_ONLY=false" >> $GITHUB_ENV
echo "RUN_E2E_DUAL_STACK=true" >> $GITHUB_ENV
Expand All @@ -118,15 +118,15 @@ jobs:
fi
echo "RUN_E2E_ENABLED=${{ steps.filter_pr.outputs.run_e2e }}" >> $GITHUB_ENV
# do it in another workflow
echo "RUN_UNITEST_ENABLED=false" >> $GITHUB_ENV
echo "RUN_UNITTEST_ENABLED=false" >> $GITHUB_ENV
else
# call by auto-nightly-ci, the event is schedule or its workflow_dispatch
# use main sha for ci image tag
echo "trigger by workflow_call"
echo "RUN_TAG=main" >> $GITHUB_ENV
echo "RUN_E2E_LABEL=" >> $GITHUB_ENV
echo "RUN_E2E_ENABLED=true" >> $GITHUB_ENV
echo "RUN_UNITEST_ENABLED=true" >> $GITHUB_ENV
echo "RUN_UNITTEST_ENABLED=true" >> $GITHUB_ENV
if ${{ inputs.ipfamily == 'ipv4' }}; then
echo "RUN_E2E_IPV4_ONLY=true" >> $GITHUB_ENV
echo "RUN_E2E_IPV6_ONLY=false" >> $GITHUB_ENV
Expand Down Expand Up @@ -163,9 +163,9 @@ jobs:
ref=$( git show -s --format='format:%H')
echo "RUN_REF=${ref}" >> $GITHUB_ENV

call_unitest:
call_unittest:
needs: get_ref
if: ${{ needs.get_ref.outputs.unitest_enabled == 'true' }}
if: ${{ needs.get_ref.outputs.unittest_enabled == 'true' }}
# forbid to specify version for local workflow, GITHUB_REF Same as the caller workflow
uses: ./.github/workflows/lint-golang.yaml
with:
Expand Down
Loading
Loading