[Notes] [Git][BuildStream/buildstream][bst-1.2] 2 commits: CI: test building freedesktop-sdk overnight



Title: GitLab

Tiago Gomes pushed to branch bst-1.2 at BuildStream / buildstream

Commits:

1 changed file:

Changes:

  • .gitlab-ci.yml
    ... ... @@ -84,6 +84,8 @@ source_dist:
    84 84
       - cd ../..
    
    85 85
       - mkdir -p coverage-linux/
    
    86 86
       - cp dist/buildstream/.coverage.* coverage-linux/coverage."${CI_JOB_NAME}"
    
    87
    +  except:
    
    88
    +  - schedules
    
    87 89
       artifacts:
    
    88 90
         paths:
    
    89 91
         - coverage-linux/
    
    ... ... @@ -132,6 +134,8 @@ tests-unix:
    132 134
         - cd ../..
    
    133 135
         - mkdir -p coverage-unix/
    
    134 136
         - cp dist/buildstream/.coverage.* coverage-unix/coverage.unix
    
    137
    +  except:
    
    138
    +  - schedules
    
    135 139
       artifacts:
    
    136 140
         paths:
    
    137 141
         - coverage-unix/
    
    ... ... @@ -153,10 +157,41 @@ docs:
    153 157
       - make BST_FORCE_SESSION_REBUILD=1 -C doc
    
    154 158
       - cd ../..
    
    155 159
       - mv dist/buildstream/doc/build/html public
    
    160
    +  except:
    
    161
    +  - schedules
    
    156 162
       artifacts:
    
    157 163
         paths:
    
    158 164
         - public/
    
    159 165
     
    
    166
    +.overnight-tests: &overnight-tests-template
    
    167
    +  stage: test
    
    168
    +  variables:
    
    169
    +    bst_ext_url: git+https://gitlab.com/BuildStream/bst-external.git
    
    170
    +    bst_ext_ref: 1d6ab71151b93c8cbc0a91a36ffe9270f3b835f1 # 0.5.1
    
    171
    +    fd_sdk_ref: 718ea88089644a1ea5b488de0b90c2c565cb75f8 # 18.08.12
    
    172
    +  before_script:
    
    173
    +  - (cd dist && ./unpack.sh && cd buildstream && pip3 install .)
    
    174
    +  - pip3 install --user -e ${bst_ext_url}@${bst_ext_ref}#egg=bst_ext
    
    175
    +  - git clone https://gitlab.com/freedesktop-sdk/freedesktop-sdk.git
    
    176
    +  - git -C freedesktop-sdk checkout ${fd_sdk_ref}
    
    177
    +  only:
    
    178
    +  - schedules
    
    179
    +
    
    180
    +overnight-tests:
    
    181
    +  <<: *overnight-tests-template
    
    182
    +  script:
    
    183
    +  - make -C freedesktop-sdk
    
    184
    +  tags:
    
    185
    +  - overnight-tests
    
    186
    +
    
    187
    +overnight-tests-no-cache:
    
    188
    +  <<: *overnight-tests-template
    
    189
    +  script:
    
    190
    +  - sed -i '/artifacts:/,+1 d' freedesktop-sdk/bootstrap/project.conf
    
    191
    +  - sed -i '/artifacts:/,+1 d' freedesktop-sdk/project.conf
    
    192
    +  - make -C freedesktop-sdk
    
    193
    +  tags:
    
    194
    +  - overnight-tests
    
    160 195
     
    
    161 196
     # Check code quality with gitlab's built-in feature.
    
    162 197
     #
    
    ... ... @@ -175,6 +210,8 @@ code_quality:
    175 210
             --volume "$PWD":/code
    
    176 211
             --volume /var/run/docker.sock:/var/run/docker.sock
    
    177 212
             "registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code
    
    213
    +  except:
    
    214
    +  - schedules
    
    178 215
       artifacts:
    
    179 216
         paths: [gl-code-quality-report.json]
    
    180 217
     
    
    ... ... @@ -204,6 +241,8 @@ analysis:
    204 241
         radon raw -s -j buildstream > analysis/raw.json
    
    205 242
         radon raw -s buildstream
    
    206 243
     
    
    244
    +  except:
    
    245
    +  - schedules
    
    207 246
       artifacts:
    
    208 247
         paths:
    
    209 248
         - analysis/
    
    ... ... @@ -229,6 +268,8 @@ coverage:
    229 268
       - tests-fedora-28
    
    230 269
       - tests-unix
    
    231 270
       - source_dist
    
    271
    +  except:
    
    272
    +  - schedules
    
    232 273
     
    
    233 274
     # Deploy, only for merges which land on master branch.
    
    234 275
     #
    
    ... ... @@ -253,3 +294,5 @@ pages:
    253 294
       # See https://gitlab.com/gitlab-org/gitlab-ce/issues/35141
    
    254 295
       #
    
    255 296
       - master
    
    297
    +  except:
    
    298
    +  - schedules



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