#5 tests: Add gating tests
Closed 3 years ago by bcl. Opened 3 years ago by bcl.
rpms/ bcl/lorax rawhide-gating  into  rawhide

file added
+7
@@ -0,0 +1,7 @@ 

+ --- !Policy

+ product_versions:

+   - fedora-*

+ decision_contexts: [bodhi_update_push_stable]

+ subject_type: koji_build

+ rules:

+   - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}

file added
+1
@@ -0,0 +1,1 @@ 

+ 1

file added
+5
@@ -0,0 +1,5 @@ 

+ ---

+ 

+ standard-inventory-qcow2:

+   qemu:

+     m: 4G

@@ -0,0 +1,13 @@ 

+ #!/bin/bash

+ set -eux

+ # Gather up the list of system repo files and use them for lorax

+ REPOS=$(for f in /etc/yum.repos.d/*repo; do echo -n "--repo $f "; done)

+ if [ -z "$REPOS" ]; then

+     echo "No system repos found"

+     exit 1

+ fi

+ 

+ # NOTE: We must use --nomacboot because the test system doesn't have the hfsplus fs available

+ # Run lorax using the host's repository configuration file

+ lorax --product="Fedora" --version=rawhide --release=rawhide --volid="Fedora-rawhide-test" \

+       $REPOS --isfinal --nomacboot /var/tmp/lorax-fedora-iso/

file added
+15
@@ -0,0 +1,15 @@ 

+ ---

+ # Run lorax with the new templates

+ - hosts: localhost

+   roles:

+     - role: standard-test-basic

+       tags:

+         - classic

+ 

+       required_packages:

+         - lorax

+ 

+       tests:

+         - simple:

+             dir: scripts

+             run: ./run_tests.sh

no initial comment

rebased onto 0507006

3 years ago

Pull-Request has been closed by bcl

3 years ago