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

Set kubectl version to v1.28.3 #15053

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

ruanwenjun
Copy link
Member

@ruanwenjun ruanwenjun commented Oct 20, 2023

Purpose of the pull request

The ci has been blocked, this might due to we get the incorrect kubectl version.

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(or)

If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

@zhongjiajie
Copy link
Member

@Gallardot do you have time to take a look this PR?

@codecov-commenter
Copy link

codecov-commenter commented Oct 20, 2023

Codecov Report

Merging #15053 (83f704d) into dev (8f16fd7) will decrease coverage by 0.01%.
The diff coverage is n/a.

❗ Current head 83f704d differs from pull request most recent head 07a1d64. Consider uploading reports for the commit 07a1d64 to get more accurate results

@@             Coverage Diff              @@
##                dev   #15053      +/-   ##
============================================
- Coverage     38.95%   38.94%   -0.01%     
+ Complexity     4599     4598       -1     
============================================
  Files          1231     1231              
  Lines         43354    43354              
  Branches       4795     4795              
============================================
- Hits          16887    16886       -1     
  Misses        24594    24594              
- Partials       1873     1874       +1     

see 1 file with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@@ -70,7 +70,7 @@ jobs:
- name: Create k8s Kind Cluster
run: |
# install kubectl
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
Copy link
Member

@zhongjiajie zhongjiajie Oct 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's odd that CI can not get the value from this link, because I can get v1.28.3 with command echo $(curl -L -s https://dl.k8s.io/release/stable.txt)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the reason @Gallardot wants to check the latest stable version, so it use value from this link

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand the purpose of this PR. It is indeed necessary to use a specific version of kubectl instead of using the latest version of kubectl because the iteration of k8s version is relatively frequent. Perhaps we should unify the versions of kubectl and the kind cluster to avoid version differences.

@ruanwenjun @zhongjiajie

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, and this change is due to current our ci has blocked, this might due to we get the incompatibility version.

@sonarcloud
Copy link

sonarcloud bot commented Oct 20, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@ruanwenjun ruanwenjun added ready-to-merge improvement make more easy to user or prompt friendly bug Something isn't working and removed improvement make more easy to user or prompt friendly labels Oct 20, 2023
@ruanwenjun ruanwenjun merged commit 37db913 into apache:dev Oct 20, 2023
53 checks passed
@ruanwenjun ruanwenjun deleted the dev_wenjun_setKubectlVersion branch October 20, 2023 03:47
xdu-chenrj pushed a commit to xdu-chenrj/dolphinscheduler that referenced this pull request Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CI&CD ready-to-merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants