[Notes] [Git][BuildStream/buildstream][bschubert/add-fedora-nobwrap-tests] gitlab-ci.yml: Add linux without brwap/ostree to ensure tests behave



Title: GitLab

Benjamin Schubert pushed to branch bschubert/add-fedora-nobwrap-tests at BuildStream / buildstream

Commits:

1 changed file:

Changes:

  • .gitlab-ci.yml
    ... ... @@ -126,6 +126,21 @@ tests-unix:
    126 126
         - python3 setup.py test --index-url invalid://uri --addopts --integration
    
    127 127
     
    
    128 128
     
    
    129
    +tests-fedora-missing-deps:
    
    130
    +  # Ensure that tests behave nicely while missing bwrap and ostree
    
    131
    +  image: buildstream/testsuite-fedora:28-master-119-552f5fc6
    
    132
    +  <<: *tests
    
    133
    +
    
    134
    +  script:
    
    135
    +    # We remove the Bubblewrap and OSTree packages here so that we catch any
    
    136
    +    # codepaths that try to use them. Removing OSTree causes fuse-libs to
    
    137
    +    # disappear unless we mark it as user-installed.
    
    138
    +    - dnf mark install fuse-libs
    
    139
    +    - dnf erase -y bubblewrap ostree
    
    140
    +
    
    141
    +    # Since the unix platform is required to run as root, no user change required
    
    142
    +    - python3 setup.py test --index-url invalid://uri --addopts --integration
    
    143
    +
    
    129 144
     # Automatically build documentation for every commit, we want to know
    
    130 145
     # if building documentation fails even if we're not deploying it.
    
    131 146
     # Note: We still do not enforce a consistent installation of python3-sphinx,
    



  • [Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]