-
Notifications
You must be signed in to change notification settings - Fork 21
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
kubectl container image (jsc#PED-11241) #2060
Conversation
Created a staging project on OBS for Tumbleweed: home:defolos:BCI:Staging:Tumbleweed:Tumbleweed-2060 Build ResultsRepository
Repository
Repository
Repository
Build succeeded ✅ To run BCI-tests against this PR, use the following command: OS_VERSION=tumbleweed TARGET=custom BASEURL=registry.opensuse.org/home/defolos/bci/staging/tumbleweed/tumbleweed-2060/ tox -- -n auto The following images can be pulled from the staging project:
|
1ffd2fa
to
ebd2680
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see inline comments
15afdb8
to
5feb2ac
Compare
Created a staging project on OBS for 6: home:defolos:BCI:Staging:SLE-15-SP6:6-2060 Build ResultsRepository
Repository
Repository
Repository
Repository
Repository
Repository
Repository
Build succeeded ✅ To run BCI-tests against this PR, use the following command: OS_VERSION=15.6 TARGET=custom BASEURL=registry.opensuse.org/home/defolos/bci/staging/sle-15-sp6/6-2060/ tox -- -n auto The following images can be pulled from the staging project:
|
Created a staging project on OBS for 5: home:defolos:BCI:Staging:SLE-15-SP5:5-2060 Build ResultsRepository
Repository
Repository
Repository
Repository
Repository
Repository
Repository
Build succeeded ✅ To run BCI-tests against this PR, use the following command: OS_VERSION=15.5 TARGET=custom BASEURL=registry.opensuse.org/home/defolos/bci/staging/sle-15-sp5/5-2060/ tox -- -n auto The following images can be pulled from the staging project:
|
Created a staging project on OBS for 7: home:defolos:BCI:Staging:SLE-15-SP7:7-2060 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see inline comments. the wrong package name is blocking
5feb2ac
to
64b61a5
Compare
fe34631
to
d1c970f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're still only generating one package per SP (see inline comments why)
d1c970f
to
b67a0db
Compare
src/bci_build/package/kubectl.py
Outdated
logo_url="https://raw.githubusercontent.com/kubernetes/kubernetes/master/logo/logo.png", | ||
) | ||
for ver, os_version in ( | ||
("1.28", OsVersion.TUMBLEWEED), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1.28 doesn't exist on TW. I'd also suggest to mimic the version from TW the same way as we have it for Rust & Go (via a list or a tuple)
("1.28", OsVersion.TUMBLEWEED), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
followed a model similar to postgres as I found it to be appropriate for this.
for ver, os_version in (
[
(kubectl_version, OsVersion.TUMBLEWEED)
for kubectl_version in ("1.29", "1.30", "1.31", "1.32")
]
+ [("1.28", OsVersion.SP6)]
+ [(kubectl_version, OsVersion.SP7) for kubectl_version in ("1.28", "1.30")]
)
b67a0db
to
e9f8502
Compare
src/bci_build/package/kubectl.py
Outdated
for kubectl_version in ("1.29", "1.30", "1.31", "1.32") | ||
] | ||
+ [("1.28", OsVersion.SP6)] | ||
+ [(kubectl_version, OsVersion.SP7) for kubectl_version in ("1.28", "1.30")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you change the version tuple into a global variable, then you can leverage it in _is_latest_kubectl
e9f8502
to
6f7c00b
Compare
No description provided.