-
Notifications
You must be signed in to change notification settings - Fork 39
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
Drop SLE Micro version references from code #914
Drop SLE Micro version references from code #914
Conversation
939e38b
to
cdaf00c
Compare
.obs/dockerfile/teal-iso/Dockerfile
Outdated
#!BuildTag: rancher/elemental-teal-iso/5.3:latest | ||
#!BuildTag: rancher/elemental-teal-iso/5.3:%VERSION% | ||
#!BuildTag: rancher/elemental-teal-iso/5.3:%VERSION%-%RELEASE% | ||
#!BuildTag: rancher/elemental-teal-iso:latest |
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.
Hmm, this might fail while we build two versions (like 5.3
and 5.4
) in parallel.
We should probably just drop the :latest
tag ?!
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.
In OBS builds this will end up being something like:
registry.org/home/cassany/elementalnewdev/containers/rancher/elemental-teal-iso:latest
registry.org/home/cassany/elementalnewdev/containers_next/rancher/elemental-teal-iso:latest
So there will not be an overlap as long as they build in different repositories. For IBS builds under registry.suse.com I see your point. If we follow other SUSE images approach we could keep it our latest code base stream build and remove it on old ones. Using suse/sle15:latest
image as an example this shifted from SP4 to SP5 as soon as the new one was released. I agree this is quite annoying from maintenance point of view as this forces us to update the old build in any new release 🤔 also feels like this can be error prone if done manually.
.obs/dockerfile/teal-iso/Dockerfile
Outdated
FROM rancher/elemental-builder-image/5.3:latest AS builder | ||
ARG SLE_VERSION | ||
|
||
FROM rancher/elemental-teal:latest AS os |
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.
Same here ...
5fe40b4
to
d9ade15
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.
Looks much better now 😆
8c870d6
to
393f8a7
Compare
Signed-off-by: David Cassany <dcassany@suse.com>
Signed-off-by: David Cassany <dcassany@suse.com>
Add again SLEMicro version within the repository to be sure we can still make use of the 'latest' tag for each base distro version. Now it will be dynamically computed from project configuration at the expense of increasing _service file complexity in OBS. Signed-off-by: David Cassany <dcassany@suse.com>
393f8a7
to
812c1c7
Compare
I ended up keeping the |
These are the changes required in this repository for the builds I prepared in here.
Note this changes image and charts URLs, so this is likely to be a breaking change from CI perspective.
Part of #815