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

Move SAC Python containers to multibuild #2085

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Conversation

dirkmueller
Copy link
Member

This is needed to be able to provide multiple branches. Add 3.9 and 3.11.

dcermak pushed a commit that referenced this pull request Nov 28, 2024
Copy link

github-actions bot commented Nov 28, 2024

Created a staging project on OBS for 6: home:defolos:BCI:Staging:SLE-15-SP6:6-2085
Changes pushed to branch 6-2085 as commit aed7e42578b1589ac4ea175e7dc55f155074a734
Build succeeded ✅

Build Results

Repository images in home:defolos:BCI:Staging:SLE-15-SP6:6-2085 for x86_64: current state: published
Build results:

package name status build log
sac-apache-tomcat-10-image ⛔ excluded live log
sac-apache-tomcat-10-image:openjdk11 ⛔ excluded live log
sac-apache-tomcat-10-image:openjdk17 ⛔ excluded live log
sac-apache-tomcat-10-image:openjdk21 ⛔ excluded live log
sac-apache-tomcat-9-image ⛔ excluded live log
sac-apache-tomcat-9-image:openjdk11 ⛔ excluded live log
sac-apache-tomcat-9-image:openjdk17 ⛔ excluded live log
sac-apache-tomcat-9-image:openjdk21 ⛔ excluded live log
sac-apache-tomcat-9-image:openjdk8 ⛔ excluded live log
sac-python-3.11-image ⛔ excluded live log
sac-python-3.11-image:3.11 ⛔ excluded live log
sac-python-3.9-image ⛔ excluded live log
sac-python-3.9-image:3.9 ⛔ excluded live log

Repository images in home:defolos:BCI:Staging:SLE-15-SP6:6-2085 for aarch64: current state: published
Build results:

package name status build log
sac-apache-tomcat-10-image ⛔ excluded live log
sac-apache-tomcat-10-image:openjdk11 ⛔ excluded live log
sac-apache-tomcat-10-image:openjdk17 ⛔ excluded live log
sac-apache-tomcat-10-image:openjdk21 ⛔ excluded live log
sac-apache-tomcat-9-image ⛔ excluded live log
sac-apache-tomcat-9-image:openjdk11 ⛔ excluded live log
sac-apache-tomcat-9-image:openjdk17 ⛔ excluded live log
sac-apache-tomcat-9-image:openjdk21 ⛔ excluded live log
sac-apache-tomcat-9-image:openjdk8 ⛔ excluded live log
sac-python-3.11-image ⛔ excluded live log
sac-python-3.11-image:3.11 ⛔ excluded live log
sac-python-3.9-image ⛔ excluded live log
sac-python-3.9-image:3.9 ⛔ excluded live log

Repository images in home:defolos:BCI:Staging:SLE-15-SP6:6-2085 for s390x: current state: published
Build results:

package name status build log
sac-apache-tomcat-10-image ⛔ excluded live log
sac-apache-tomcat-10-image:openjdk11 ⛔ excluded live log
sac-apache-tomcat-10-image:openjdk17 ⛔ excluded live log
sac-apache-tomcat-10-image:openjdk21 ⛔ excluded live log
sac-apache-tomcat-9-image ⛔ excluded live log
sac-apache-tomcat-9-image:openjdk11 ⛔ excluded live log
sac-apache-tomcat-9-image:openjdk17 ⛔ excluded live log
sac-apache-tomcat-9-image:openjdk21 ⛔ excluded live log
sac-apache-tomcat-9-image:openjdk8 ⛔ excluded live log
sac-python-3.11-image ⛔ excluded live log
sac-python-3.11-image:3.11 ⛔ excluded live log
sac-python-3.9-image ⛔ excluded live log
sac-python-3.9-image:3.9 ⛔ excluded live log

Repository images in home:defolos:BCI:Staging:SLE-15-SP6:6-2085 for ppc64le: current state: published
Build results:

package name status build log
sac-apache-tomcat-10-image ⛔ excluded live log
sac-apache-tomcat-10-image:openjdk11 ⛔ excluded live log
sac-apache-tomcat-10-image:openjdk17 ⛔ excluded live log
sac-apache-tomcat-10-image:openjdk21 ⛔ excluded live log
sac-apache-tomcat-9-image ⛔ excluded live log
sac-apache-tomcat-9-image:openjdk11 ⛔ excluded live log
sac-apache-tomcat-9-image:openjdk17 ⛔ excluded live log
sac-apache-tomcat-9-image:openjdk21 ⛔ excluded live log
sac-apache-tomcat-9-image:openjdk8 ⛔ excluded live log
sac-python-3.11-image ⛔ excluded live log
sac-python-3.11-image:3.11 ⛔ excluded live log
sac-python-3.9-image ⛔ excluded live log
sac-python-3.9-image:3.9 ⛔ excluded live log

Repository containerfile in home:defolos:BCI:Staging:SLE-15-SP6:6-2085 for x86_64: current state: publishing
Build results:

package name status build log
sac-apache-tomcat-10-image ⛔ excluded live log
sac-apache-tomcat-10-image:openjdk11 ✅ succeeded live log
sac-apache-tomcat-10-image:openjdk17 ✅ succeeded live log
sac-apache-tomcat-10-image:openjdk21 ✅ succeeded live log
sac-apache-tomcat-9-image ⛔ excluded live log
sac-apache-tomcat-9-image:openjdk11 ✅ succeeded live log
sac-apache-tomcat-9-image:openjdk17 ✅ succeeded live log
sac-apache-tomcat-9-image:openjdk21 ✅ succeeded live log
sac-apache-tomcat-9-image:openjdk8 ✅ succeeded live log
sac-python-3.11-image ⛔ excluded live log
sac-python-3.11-image:3.11 ✅ succeeded live log
sac-python-3.9-image ⛔ excluded live log
sac-python-3.9-image:3.9 ✅ succeeded live log

Repository containerfile in home:defolos:BCI:Staging:SLE-15-SP6:6-2085 for aarch64: current state: publishing
Build results:

package name status build log
sac-apache-tomcat-10-image ⛔ excluded live log
sac-apache-tomcat-10-image:openjdk11 ✅ succeeded live log
sac-apache-tomcat-10-image:openjdk17 ✅ succeeded live log
sac-apache-tomcat-10-image:openjdk21 ✅ succeeded live log
sac-apache-tomcat-9-image ⛔ excluded live log
sac-apache-tomcat-9-image:openjdk11 ✅ succeeded live log
sac-apache-tomcat-9-image:openjdk17 ✅ succeeded live log
sac-apache-tomcat-9-image:openjdk21 ✅ succeeded live log
sac-apache-tomcat-9-image:openjdk8 ✅ succeeded live log
sac-python-3.11-image ⛔ excluded live log
sac-python-3.11-image:3.11 ✅ succeeded live log
sac-python-3.9-image ⛔ excluded live log
sac-python-3.9-image:3.9 ✅ succeeded live log

Repository containerfile in home:defolos:BCI:Staging:SLE-15-SP6:6-2085 for s390x: current state: publishing
Build results:

package name status build log
sac-apache-tomcat-10-image ⛔ excluded live log
sac-apache-tomcat-10-image:openjdk11 ⛔ excluded live log
sac-apache-tomcat-10-image:openjdk17 ⛔ excluded live log
sac-apache-tomcat-10-image:openjdk21 ⛔ excluded live log
sac-apache-tomcat-9-image ⛔ excluded live log
sac-apache-tomcat-9-image:openjdk11 ⛔ excluded live log
sac-apache-tomcat-9-image:openjdk17 ⛔ excluded live log
sac-apache-tomcat-9-image:openjdk21 ⛔ excluded live log
sac-apache-tomcat-9-image:openjdk8 ⛔ excluded live log
sac-python-3.11-image ⛔ excluded live log
sac-python-3.11-image:3.11 ⛔ excluded live log
sac-python-3.9-image ⛔ excluded live log
sac-python-3.9-image:3.9 ⛔ excluded live log

Repository containerfile in home:defolos:BCI:Staging:SLE-15-SP6:6-2085 for ppc64le: current state: publishing
Build results:

package name status build log
sac-apache-tomcat-10-image ⛔ excluded live log
sac-apache-tomcat-10-image:openjdk11 ⛔ excluded live log
sac-apache-tomcat-10-image:openjdk17 ⛔ excluded live log
sac-apache-tomcat-10-image:openjdk21 ⛔ excluded live log
sac-apache-tomcat-9-image ⛔ excluded live log
sac-apache-tomcat-9-image:openjdk11 ⛔ excluded live log
sac-apache-tomcat-9-image:openjdk17 ⛔ excluded live log
sac-apache-tomcat-9-image:openjdk21 ⛔ excluded live log
sac-apache-tomcat-9-image:openjdk8 ⛔ excluded live log
sac-python-3.11-image ⛔ excluded live log
sac-python-3.11-image:3.11 ⛔ excluded live log
sac-python-3.9-image ⛔ excluded live log
sac-python-3.9-image:3.9 ⛔ excluded live log

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-2085/ tox -- -n auto
The following images can be pulled from the staging project:
  • registry.opensuse.org/home/defolos/bci/staging/sle-15-sp6/6-2085/containerfile/containers/apache-tomcat:10.1-openjdk11
  • registry.opensuse.org/home/defolos/bci/staging/sle-15-sp6/6-2085/containerfile/containers/python:3.11

dcermak pushed a commit that referenced this pull request Nov 28, 2024
dcermak pushed a commit that referenced this pull request Nov 28, 2024
dcermak pushed a commit that referenced this pull request Nov 29, 2024
This is needed to be able to provide multiple branches. Add 3.9 and
3.11.
So far everything was queued up and then asyncio.gather() was run.
however, doing deletes at the same time while other tasks are writing
leads to corruption. so we need to sequence it out a little.
dcermak pushed a commit that referenced this pull request Nov 29, 2024
dcermak pushed a commit that referenced this pull request Nov 29, 2024
This way ContainerCrate can be instantiated per (os_version,
package_name) and we can handle service_replacements properly.
dcermak pushed a commit that referenced this pull request Nov 29, 2024
@dirkmueller dirkmueller marked this pull request as draft November 29, 2024 17:28
_multibuild files.
"""

class ContainerCrateAssigner:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we please stop adding more magic indirection to the code? I already voiced my disagreement with this implicit magic and it keeps getting worse.

Copy link
Member Author

Choose a reason for hiding this comment

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

This is a draft PR. the one that needs to move ahead is #2096 instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants