a45f4969f3
This is similar to image-build in terms of what it does, and somewhat similar to OSBS phase in how it's implemented. The phase reads configuration, submits the build via XMLRPC call and waits for the task to finish. Then it downloads the built image and includes it in the compose metadata. JIRA: RHELCMP-315 Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
43 lines
1.6 KiB
Python
43 lines
1.6 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; version 2 of the License.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU Library General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, see <https://gnu.org/licenses/>.
|
|
|
|
import sys
|
|
|
|
# phases in runtime order
|
|
from .init import InitPhase # noqa
|
|
from .weaver import WeaverPhase # noqa
|
|
from .pkgset import PkgsetPhase # noqa
|
|
from .gather import GatherPhase # noqa
|
|
from .createrepo import CreaterepoPhase # noqa
|
|
from .buildinstall import BuildinstallPhase # noqa
|
|
from .extra_files import ExtraFilesPhase # noqa
|
|
from .createiso import CreateisoPhase # noqa
|
|
from .extra_isos import ExtraIsosPhase # noqa
|
|
from .live_images import LiveImagesPhase # noqa
|
|
from .image_build import ImageBuildPhase # noqa
|
|
from .osbuild import OSBuildPhase # noqa
|
|
from .repoclosure import RepoclosurePhase # noqa
|
|
from .test import TestPhase # noqa
|
|
from .image_checksum import ImageChecksumPhase # noqa
|
|
from .livemedia_phase import LiveMediaPhase # noqa
|
|
from .ostree import OSTreePhase # noqa
|
|
from .ostree_installer import OstreeInstallerPhase # noqa
|
|
from .osbs import OSBSPhase # noqa
|
|
from .phases_metadata import gather_phases_metadata # noqa
|
|
|
|
|
|
this_module = sys.modules[__name__]
|
|
PHASES_NAMES = gather_phases_metadata(this_module)
|