-
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
base: main
Are you sure you want to change the base?
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 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.7 TARGET=custom BASEURL=registry.opensuse.org/home/defolos/bci/staging/sle-15-sp7/7-2060/ tox -- -n auto The following images can be pulled from the staging project:
|
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
Jira is jsc#PED-11241 |
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.
other than the outstanding comments from @dcermak LGTM
64b61a5
to
4e1bab2
Compare
4e1bab2
to
1df2fc4
Compare
("1.18", OsVersion.SP6), | ||
("1.23", OsVersion.SP6), | ||
("1.24", OsVersion.SP6), | ||
("1.25", OsVersion.SP6), | ||
("1.26", OsVersion.SP6), | ||
("1.27", OsVersion.SP6), | ||
("1.28", OsVersion.SP6), | ||
("1.18", OsVersion.SP7), | ||
("1.23", OsVersion.SP7), | ||
("1.24", OsVersion.SP7), | ||
("1.25", OsVersion.SP7), | ||
("1.26", OsVersion.SP7), | ||
("1.27", OsVersion.SP7), | ||
("1.28", OsVersion.SP7), |
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.
Imho there's very little value in us shipping eol k8s client versions
("1.18", OsVersion.SP6), | |
("1.23", OsVersion.SP6), | |
("1.24", OsVersion.SP6), | |
("1.25", OsVersion.SP6), | |
("1.26", OsVersion.SP6), | |
("1.27", OsVersion.SP6), | |
("1.28", OsVersion.SP6), | |
("1.18", OsVersion.SP7), | |
("1.23", OsVersion.SP7), | |
("1.24", OsVersion.SP7), | |
("1.25", OsVersion.SP7), | |
("1.26", OsVersion.SP7), | |
("1.27", OsVersion.SP7), | |
("1.28", OsVersion.SP7), | |
("1.28", OsVersion.SP6), | |
("1.28", OsVersion.SP7), | |
("1.30", OsVersion.SP7), |
pretty_name="kubectl", | ||
custom_description="Kubernetes CLI for communicating with a Kubernetes cluster's control plane, using the Kubernetes API.", | ||
os_version=os_version, | ||
is_latest=os_version in CAN_BE_LATEST_OS_VERSION, |
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.
This condition is wrong: every SP6 & Tumbleweed container will be marked as latest
|
||
KUBECTL_CONTAINERS = [] |
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.
KUBECTL_CONTAINERS = [] |
from_target_image=generate_from_image_tag(os_version, "bci-micro"), | ||
tag_version=ver, | ||
version_in_uid=False, | ||
additional_versions=[format_version(ver, ParseVersion.MAJOR)], |
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.
Imho not a very useful version: all k8s-client container images now gets the additional tag kubectl:1
. That doesn't allow you to distinguish between them
|
||
KUBECTL_CONTAINERS = [ | ||
ApplicationStackContainer( | ||
name="kubectl", |
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.
We must set a package_name
. ATM all containers are called kubectl-image
and we only create one image with the latest one created.
name="kubectl", | |
name="kubectl", | |
package_name=f"kubectl-{ver}-image", |
No description provided.