containers / qm

QM is a containerized environment for running Functional Safety qm (Quality Management) software
https://github.com/containers/qm
GNU General Public License v2.0
20 stars 21 forks source link

setup: move setup to experimental dir #431

Closed dougsland closed 3 months ago

dougsland commented 3 months ago

The experimental dir is a home to unsupported code but developers are welcome to use, test or add more code.

Setup tool is a solution to deploy QM for non automotive environment. Today the official and only solution for automotive is the ones provided via CentOS automotive sample-images project.

See: https://gitlab.com/CentOS/automotive/sample-images See-Also: https://github.com/containers/qm/issues/430

dougsland commented 3 months ago

Okay, as expected, we are eating our own food to make CI/CD. We will need to split it in a sub-package. How about, qm-setup subpackage which is not required in the main qm package but we require this package in the CI/CD and qm-desktop? @alexlarsson @Yarboa @rhatdan @pypingou WDYT?

Log from CI/CD error:

        ./set-ffi-env-e2e: line 218: /usr/share/qm/setup: No such file or directory
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dougsland commented 3 months ago

Okay, as expected, we are eating our own food to make CI/CD. We will need to split it in a sub-package. How about, qm-setup subpackage which is not required in the main qm package but we require this package in the CI/CD and qm-desktop? @alexlarsson @Yarboa @rhatdan @pypingou WDYT?

Log from CI/CD error:

        ./set-ffi-env-e2e: line 218: /usr/share/qm/setup: No such file or directory
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

or actually remake it using osbuild.

Yarboa commented 3 months ago

Okay, as expected, we are eating our own food to make CI/CD. We will need to split it in a sub-package. How about, qm-setup subpackage which is not required in the main qm package but we require this package in the CI/CD and qm-desktop? @alexlarsson @Yarboa @rhatdan @pypingou WDYT?

Log from CI/CD error:

        ./set-ffi-env-e2e: line 218: /usr/share/qm/setup: No such file or directory
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thanks @dougsland I tend to use ENV_VAR,

So once rpm install called, if ENV_VAR exist like ADD_SETUP=true it will install it. Default it will not, WDYT?

alexlarsson commented 3 months ago

I would much prefer it if we just kept it in /usr/share/qm/setup, but well documented as not being supported in production. Having a subpackage implies much more in terms of something being supported, and it will be very complex to ever get rid of once it is in peoples rpm databases, etc.

dougsland commented 3 months ago

I would much prefer it if we just kept it in /usr/share/qm/setup, but well documented as not being supported in production. Having a subpackage implies much more in terms of something being supported, and it will be very complex to ever get rid of once it is in peoples rpm databases, etc.

You got it. Next patch coming soon.

dougsland commented 3 months ago

Not this solution, we will go with an update in the docs