karmada icon indicating copy to clipboard operation
karmada copied to clipboard

do not switch context when deploy karmada

Open wangyanzhao opened this issue 3 years ago • 17 comments

What type of PR is this?

/kind feature

What this PR does / why we need it:

Do not switch context when deploy karmada

Which issue(s) this PR fixes: Fixes #2059

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


wangyanzhao avatar Jun 29 '22 13:06 wangyanzhao

Welcome @wangyanzhao! It looks like this is your first PR to karmada-io/karmada 🎉

karmada-bot avatar Jun 29 '22 13:06 karmada-bot

Hi @wangyanzhao, thanks for your contributions.

Please sign off refer to https://github.com/karmada-io/karmada/pull/2091/checks?check_run_id=7112607767

XiShanYongYe-Chang avatar Jun 30 '22 01:06 XiShanYongYe-Chang

@jameszhangyukun: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

In response to this:

/retest

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

karmada-bot avatar Jun 30 '22 02:06 karmada-bot

@wangyanzhao Testing failed, please check. https://github.com/karmada-io/karmada/runs/7127449610?check_suite_focus=true Seems a typo there.

RainbowMango avatar Jun 30 '22 08:06 RainbowMango

@wangyanzhao Testing failed, please check. https://github.com/karmada-io/karmada/runs/7127449610?check_suite_focus=true Seems a typo there.

fixed @RainbowMango

wangyanzhao avatar Jul 04 '22 12:07 wangyanzhao

@wangyanzhao You might need to add your email to GitHub email list, otherwise, GitHub can't count your contribution.

RainbowMango avatar Jul 05 '22 11:07 RainbowMango

https://github.com/karmada-io/karmada/runs/7195338380?check_suite_focus=true#step:5:1202

@RainbowMango, it doesn't look like a code bug, can you retry this test.

wangyanzhao avatar Jul 20 '22 11:07 wangyanzhao

done. I'll review it tomorrow.

RainbowMango avatar Jul 20 '22 11:07 RainbowMango

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: RainbowMango

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

karmada-bot avatar Jul 21 '22 08:07 karmada-bot

Search Switched to context in action log, still remain some use-context: https://github.com/karmada-io/karmada/runs/7445487996?check_suite_focus=true#step:4:514

ikaven1024 avatar Jul 21 '22 09:07 ikaven1024

@ikaven1024, all use-context in test shell had been deleted.

wangyanzhao avatar Jul 21 '22 12:07 wangyanzhao

After deploying, shall we change the context to karmada?

The e2e failed due to the current context is not karmada. https://github.com/karmada-io/karmada/runs/7449544501?check_suite_focus=true#step:4:579

ikaven1024 avatar Jul 22 '22 02:07 ikaven1024

After deploying, shall we change the context to karmada?

The e2e failed due to the current context is not karmada. https://github.com/karmada-io/karmada/runs/7449544501?check_suite_focus=true#step:4:579

We shall not switch context, I will fix this e2e test.

wangyanzhao avatar Jul 28 '22 09:07 wangyanzhao

After deploying, shall we change the context to karmada? The e2e failed due to the current context is not karmada. https://github.com/karmada-io/karmada/runs/7449544501?check_suite_focus=true#step:4:579

We shall not switch context, I will fix this e2e test.

What do you think about it @RainbowMango?

ikaven1024 avatar Jul 28 '22 09:07 ikaven1024

What do you think about it @RainbowMango?

Do you mean we can't or inappropriate to update the E2E? I haven't looked at the logs.

RainbowMango avatar Jul 28 '22 09:07 RainbowMango

What do you think about it @RainbowMango?

Do you mean we can't or inappropriate to update the E2E? I haven't looked at the logs.

During deploying, context cannot be change. I green with it. After deploy, shall we change the context? If we change it, it is ready, and maybe wonderful for user to use it. I am not sure about it.

ikaven1024 avatar Jul 28 '22 10:07 ikaven1024

What do you think about it @RainbowMango?

Do you mean we can't or inappropriate to update the E2E? I haven't looked at the logs.

During deploying, context cannot be change. I green with it. After deploy, shall we change the context? If we change it, it is ready, and maybe wonderful for user to use it. I am not sure about it.

I have a case, we should modify our ci shells which is on host cluster because of switch to karmada context after deploying karmada.

WDYT @RainbowMango @ikaven1024

wangyanzhao avatar Jul 29 '22 02:07 wangyanzhao

Hi @wangyanzhao shall we move forward it? It seems still some wrong in e2e test.

ikaven1024 avatar Sep 01 '22 08:09 ikaven1024

Hi @wangyanzhao i picked your commit and fixed the e2e errors: #2474

ikaven1024 avatar Sep 06 '22 02:09 ikaven1024

@wangyanzhao Thanks for doing this. @ikaven1024 picked your commit to #2474, your contribution is counted.

RainbowMango avatar Sep 06 '22 03:09 RainbowMango

Very Thank You. @ikaven1024 @RainbowMango

wangyanzhao avatar Sep 16 '22 10:09 wangyanzhao