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

Automated cherry pick of #2672: Convert NodeName obtained from env var to lowercase on #2690

Conversation

tnqn
Copy link
Member

@tnqn tnqn commented Sep 1, 2021

Cherry pick of #2672 on release-1.3.

#2672: Convert NodeName obtained from env var to lowercase on

For details on the cherry pick process, see the cherry pick requests page.

Currently, the startup scripts force an environment variable
to have lowercase node name. This gets complex once we add
support to native windows services as they don't get
env variables from local shell.

An example of startup script is function: Start-AntreaAgent in
https://raw.githubusercontent.com/antrea-io/antrea/v1.2.0/hack/windows/Helper.psm1

Signed-off-by: Gurucharan Shetty <gurushetty@google.com>
@tnqn tnqn added the kind/cherry-pick Categorizes issue or PR as related to the cherry-pick of a bug fix from the main branch to a release label Sep 1, 2021
@tnqn tnqn requested a review from antoninbas September 1, 2021 02:45
@codecov-commenter
Copy link

codecov-commenter commented Sep 1, 2021

Codecov Report

Merging #2690 (71204ef) into release-1.3 (8c2abcd) will increase coverage by 19.53%.
The diff coverage is 0.00%.

Impacted file tree graph

@@               Coverage Diff                @@
##           release-1.3    #2690       +/-   ##
================================================
+ Coverage        41.05%   60.58%   +19.53%     
================================================
  Files              158      285      +127     
  Lines            19243    23006     +3763     
================================================
+ Hits              7900    13938     +6038     
+ Misses           10596     7568     -3028     
- Partials           747     1500      +753     
Flag Coverage Δ
kind-e2e-tests 48.25% <0.00%> (?)
unit-tests 41.06% <0.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pkg/util/env/env.go 41.46% <0.00%> (+13.25%) ⬆️
pkg/apiserver/handlers/endpoint/handler.go 58.82% <0.00%> (-11.77%) ⬇️
pkg/apiserver/handlers/webhook/convert_crd.go 2.56% <0.00%> (ø)
pkg/apiserver/handlers/webhook/mutation_labels.go 24.71% <0.00%> (ø)
pkg/legacyapis/controlplane/install/install.go 100.00% <0.00%> (ø)
...legacyclient/listers/core/v1alpha2/clustergroup.go 9.09% <0.00%> (ø)
...clusterinformation/v1beta1/antreacontrollerinfo.go 0.00% <0.00%> (ø)
pkg/legacyapis/controlplane/v1beta2/register.go 94.11% <0.00%> (ø)
.../typed/controlplane/v1beta2/controlplane_client.go 45.45% <0.00%> (ø)
...ters/clusterinformation/v1beta1/antreaagentinfo.go 0.00% <0.00%> (ø)
... and 231 more

@tnqn
Copy link
Member Author

tnqn commented Sep 1, 2021

/test-all

@antoninbas
Copy link
Contributor

/skip-all

@antoninbas antoninbas merged commit d1283f1 into antrea-io:release-1.3 Sep 1, 2021
@tnqn tnqn deleted the automated-cherry-pick-of-#2672-upstream-release-1.3 branch September 2, 2021 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cherry-pick Categorizes issue or PR as related to the cherry-pick of a bug fix from the main branch to a release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants