2022-05-26 06:36:47 +00:00
|
|
|
# THIS FILE WAS AUTO-GENERATED
|
|
|
|
#
|
|
|
|
# $ lcitool manifest ci/manifest.yml
|
|
|
|
#
|
|
|
|
# https://gitlab.com/libvirt/libvirt-ci
|
|
|
|
|
|
|
|
|
|
|
|
.gitlab_native_build_job:
|
|
|
|
image: $CI_REGISTRY_IMAGE/ci-$NAME:latest
|
|
|
|
stage: builds
|
2022-05-27 14:06:17 +00:00
|
|
|
rules:
|
|
|
|
- if: '$LIBVIRT_JOB_OPTIONAL'
|
|
|
|
when: manual
|
|
|
|
allow_failure: true
|
|
|
|
- when: on_success
|
2022-05-26 06:36:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
.gitlab_cross_build_job:
|
|
|
|
image: $CI_REGISTRY_IMAGE/ci-$NAME-cross-$CROSS:latest
|
|
|
|
stage: builds
|
2022-05-27 14:06:17 +00:00
|
|
|
rules:
|
|
|
|
- if: '$LIBVIRT_JOB_OPTIONAL'
|
|
|
|
when: manual
|
|
|
|
allow_failure: true
|
|
|
|
- when: on_success
|
2022-05-26 06:36:47 +00:00
|
|
|
|
|
|
|
|
|
|
|
.cirrus_build_job:
|
|
|
|
stage: builds
|
|
|
|
image: registry.gitlab.com/libvirt/libvirt-ci/cirrus-run:master
|
|
|
|
needs: []
|
|
|
|
script:
|
|
|
|
- source ci/cirrus/$NAME.vars
|
|
|
|
- sed -e "s|[@]CI_REPOSITORY_URL@|$CI_REPOSITORY_URL|g"
|
|
|
|
-e "s|[@]CI_COMMIT_REF_NAME@|$CI_COMMIT_REF_NAME|g"
|
|
|
|
-e "s|[@]CI_COMMIT_SHA@|$CI_COMMIT_SHA|g"
|
|
|
|
-e "s|[@]CIRRUS_VM_INSTANCE_TYPE@|$CIRRUS_VM_INSTANCE_TYPE|g"
|
|
|
|
-e "s|[@]CIRRUS_VM_IMAGE_SELECTOR@|$CIRRUS_VM_IMAGE_SELECTOR|g"
|
|
|
|
-e "s|[@]CIRRUS_VM_IMAGE_NAME@|$CIRRUS_VM_IMAGE_NAME|g"
|
|
|
|
-e "s|[@]UPDATE_COMMAND@|$UPDATE_COMMAND|g"
|
|
|
|
-e "s|[@]UPGRADE_COMMAND@|$UPGRADE_COMMAND|g"
|
|
|
|
-e "s|[@]INSTALL_COMMAND@|$INSTALL_COMMAND|g"
|
|
|
|
-e "s|[@]PATH@|$PATH_EXTRA${PATH_EXTRA:+:}\$PATH|g"
|
|
|
|
-e "s|[@]PKG_CONFIG_PATH@|$PKG_CONFIG_PATH|g"
|
|
|
|
-e "s|[@]PKGS@|$PKGS|g"
|
|
|
|
-e "s|[@]MAKE@|$MAKE|g"
|
|
|
|
-e "s|[@]PYTHON@|$PYTHON|g"
|
|
|
|
-e "s|[@]PIP3@|$PIP3|g"
|
|
|
|
-e "s|[@]PYPI_PKGS@|$PYPI_PKGS|g"
|
|
|
|
-e "s|[@]XML_CATALOG_FILES@|$XML_CATALOG_FILES|g"
|
|
|
|
<ci/cirrus/build.yml >ci/cirrus/$NAME.yml
|
|
|
|
- cat ci/cirrus/$NAME.yml
|
|
|
|
- cirrus-run -v --show-build-log always ci/cirrus/$NAME.yml
|
|
|
|
rules:
|
2022-05-27 14:06:17 +00:00
|
|
|
- if: "$CIRRUS_GITHUB_REPO == null || $CIRRUS_API_TOKEN == null"
|
|
|
|
when: never
|
|
|
|
- if: '$LIBVIRT_JOB_OPTIONAL'
|
|
|
|
when: manual
|
|
|
|
allow_failure: true
|
|
|
|
- when: on_success
|