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

Add a file to get the current latest version. #3608

Open
iamsurfing opened this issue May 9, 2024 · 2 comments
Open

Add a file to get the current latest version. #3608

iamsurfing opened this issue May 9, 2024 · 2 comments
Labels
area/release-eng Issues or PRs related to the Release Engineering subproject kind/feature Categorizes issue or PR as related to a new feature. needs-priority sig/release Categorizes an issue or PR as relevant to SIG Release.

Comments

@iamsurfing
Copy link

What would you like to be added:

Add a file to get the current latest version like this.

curl https://pkgs.k8s.io/core:/stable:/latest.txt
v1.30

Why is this needed:

CI/CD can always use the latest version.

@iamsurfing iamsurfing added area/release-eng Issues or PRs related to the Release Engineering subproject kind/feature Categorizes issue or PR as related to a new feature. sig/release Categorizes an issue or PR as relevant to SIG Release. labels May 9, 2024
@saschagrunert
Copy link
Member

saschagrunert commented May 10, 2024

@iamsurfing how about using https://dl.k8s.io/release/stable.txt ?

@iamsurfing
Copy link
Author

It is OK in Internet, but it is not good while using mirror.

container--->mirror1--->dl.k8s.io
container--->mirror2--->pkgs.k8s.io

If mirror1 sync successful but mirror2 sync failed, the build will failed. It is more obvious in enterprise.

Add the file can make build script more robust.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/release-eng Issues or PRs related to the Release Engineering subproject kind/feature Categorizes issue or PR as related to a new feature. needs-priority sig/release Categorizes an issue or PR as relevant to SIG Release.
Projects
None yet
Development

No branches or pull requests

3 participants