[Notes] [Git][BuildStream/buildstream][chandan/update-ci-tags] 4 commits: Pipeline: Skip except_elements logic if no elements to except



Title: GitLab

Tristan Van Berkom pushed to branch chandan/update-ci-tags at BuildStream / buildstream

Commits:

3 changed files:

Changes:

  • .gitlab-ci.yml
    1
    -image: buildstream/testsuite-debian:9-master-112-a9f63c5e
    
    1
    +image: buildstream/testsuite-debian:9-master-114-4cab18e3
    
    2 2
     
    
    3 3
     cache:
    
    4 4
       key: "$CI_JOB_NAME-"
    
    ... ... @@ -79,25 +79,25 @@ source_dist:
    79 79
         - coverage-linux/
    
    80 80
     
    
    81 81
     tests-debian-9:
    
    82
    -  image: buildstream/testsuite-debian:9-master-112-a9f63c5e
    
    82
    +  image: buildstream/testsuite-debian:9-master-114-4cab18e3
    
    83 83
       <<: *linux-tests
    
    84 84
     
    
    85 85
     tests-fedora-27:
    
    86
    -  image: buildstream/testsuite-fedora:27-master-112-a9f63c5e
    
    86
    +  image: buildstream/testsuite-fedora:27-master-114-4cab18e3
    
    87 87
       <<: *linux-tests
    
    88 88
     
    
    89 89
     tests-fedora-28:
    
    90
    -  image: buildstream/testsuite-fedora:28-master-112-a9f63c5e
    
    90
    +  image: buildstream/testsuite-fedora:28-master-114-4cab18e3
    
    91 91
       <<: *linux-tests
    
    92 92
     
    
    93 93
     tests-ubuntu-18.04:
    
    94
    -  image: buildstream/testsuite-ubuntu:18.04-master-112-a9f63c5e
    
    94
    +  image: buildstream/testsuite-ubuntu:18.04-master-114-4cab18e3
    
    95 95
       <<: *linux-tests
    
    96 96
     
    
    97 97
     tests-unix:
    
    98 98
       # Use fedora here, to a) run a test on fedora and b) ensure that we
    
    99 99
       # can get rid of ostree - this is not possible with debian-8
    
    100
    -  image: buildstream/testsuite-fedora:27-master-112-a9f63c5e
    
    100
    +  image: buildstream/testsuite-fedora:27-master-114-4cab18e3
    
    101 101
       stage: test
    
    102 102
       variables:
    
    103 103
         BST_FORCE_BACKEND: "unix"
    

  • buildstream/_pipeline.py
    ... ... @@ -235,6 +235,9 @@ class Pipeline():
    235 235
         #                       exceptions removed
    
    236 236
         #
    
    237 237
         def except_elements(self, targets, elements, except_targets):
    
    238
    +        if not except_targets:
    
    239
    +            return elements
    
    240
    +
    
    238 241
             targeted = list(self.dependencies(targets, Scope.ALL))
    
    239 242
             visited = []
    
    240 243
     
    

  • dev-requirements.txt
    1 1
     coverage == 4.4.0
    
    2 2
     pep8
    
    3
    -pytest >= 3.1.0
    
    3
    +pylint == 2.1.1
    
    4
    +pytest >= 3.7
    
    4 5
     pytest-cov >= 2.5.0
    
    5 6
     pytest-datafiles
    
    6 7
     pytest-env
    



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