Files
fm-orchestrator/tests/integration/example.test.env.yaml
2019-12-09 15:18:11 +01:00

64 lines
2.3 KiB
YAML

---
# Utility to be used to clone and build the modules.
# It's configuration points to the dist-git where
# test modules are to be found.
packaging_utility: fedpkg
# API endpoint of the MBS instance under test.
mbs_api: https://mbs.fedoraproject.org/module-build-service/2/module-builds/
# Koji instance the MBS instance under test communicates with.
koji:
server: https://koji.fedoraproject.org/kojihub
topurl: https://kojipkgs.fedoraproject.org/
# Test data to be used by the tests.
# Items in here are mapped by their name to the tests that use them.
# For example test_scratch_build will use scratch_build.
testdata:
scratch_build:
# MBS build id to be reused for this test.
# When specified no new build is started for this test,
# but the existing one reused.
build_id: 1234
# Name of the module.
module: testmodule
# Branch which is going to be built for this test.
branch: scratch-build-branch
failed_build:
build_id: 1234
module: testmodule
branch: failed-build-branch
# Batch considered by this test.
batch: 2
# List of components expected to fail in the batch.
failing_components:
- comp1
# List of components expected to complete or canceled in the batch.
canceled_components:
- comp2
normal_build:
build_id: 1234
module: testmodule
branch: normal-build-branch
# List of components in order they should be build in. One set represents one batch.
buildorder: [{"module-build-macros"}, {"attr"}, {"acl"}]
# True if buildrequire a Platform stream representing a GA RHEL release
platform_is_ga: true
resume_cancelled_build:
# This scenario doesn't support reusing past builds. "build_id" is not used.
module: testmodule
branch: cancel-build-branch
reuse_all_components:
build_id: 1234
build_id_reused: 1235
module: testmodule
branch: reuse-all-components-branch
reuse_components:
# Build id to be reused for this test, it will be used to set a baseline.
baseline_build_id: 1234
build_id: 1235
module: testmodule
branch: reuse-components-build-branch
# Name of package that will be changed and will be rebuild in the build.
package: acl
# Name of the branch which is going to be built for the specified package.
component_branch: private-test-reuse-components