[Notes] [Git][BuildStream/buildstream][chandan/toxify] fixup! TEMP: remove non test stages



Title: GitLab

Chandan Singh pushed to branch chandan/toxify at BuildStream / buildstream

Commits:

1 changed file:

Changes:

  • .gitlab-ci.yml
    ... ... @@ -119,90 +119,3 @@ tests-fedora-missing-deps:
    119 119
         - chown -R buildstream:buildstream .
    
    120 120
     
    
    121 121
         - ${TEST_COMMAND}
    122
    -
    
    123
    -
    
    124
    -#####################################################
    
    125
    -#                    Post stage                     #
    
    126
    -#####################################################
    
    127
    -
    
    128
    -analysis:
    
    129
    -  stage: post
    
    130
    -  script:
    
    131
    -  - |
    
    132
    -    pip3 install radon
    
    133
    -    mkdir analysis
    
    134
    -
    
    135
    -  - |
    
    136
    -    echo "Calculating Maintainability Index"
    
    137
    -    radon mi -s -j buildstream > analysis/mi.json
    
    138
    -    radon mi -s buildstream
    
    139
    -
    
    140
    -  - |
    
    141
    -    echo "Calculating Cyclomatic Complexity"
    
    142
    -    radon cc -a -s -j buildstream > analysis/cc.json
    
    143
    -    radon cc -a -s buildstream
    
    144
    -
    
    145
    -  - |
    
    146
    -    echo "Calculating Raw Metrics"
    
    147
    -    radon raw -s -j buildstream > analysis/raw.json
    
    148
    -    radon raw -s buildstream
    
    149
    -
    
    150
    -  except:
    
    151
    -  - schedules
    
    152
    -  artifacts:
    
    153
    -    paths:
    
    154
    -    - analysis/
    
    155
    -
    
    156
    -# Collate coverage reports
    
    157
    -#
    
    158
    -coverage:
    
    159
    -  stage: post
    
    160
    -  coverage: '/TOTAL +\d+ +\d+ +(\d+\.\d+)%/'
    
    161
    -  script:
    
    162
    -    - cd dist && ./unpack.sh && cd buildstream
    
    163
    -    - pip3 install --no-index .
    
    164
    -    - mkdir report
    
    165
    -    - cd report
    
    166
    -    - cp ../../../coverage-unix/coverage.* .
    
    167
    -    - cp ../../../coverage-linux/coverage.* .
    
    168
    -    - ls coverage.*
    
    169
    -    - coverage combine --rcfile=../.coveragerc -a coverage.*
    
    170
    -    - coverage report --rcfile=../.coveragerc -m
    
    171
    -  dependencies:
    
    172
    -  - tests-debian-9
    
    173
    -  - tests-fedora-27
    
    174
    -  - tests-fedora-28
    
    175
    -  - tests-unix
    
    176
    -  except:
    
    177
    -  - schedules
    
    178
    -
    
    179
    -# Deploy, only for merges which land on master branch.
    
    180
    -#
    
    181
    -pages:
    
    182
    -  stage: post
    
    183
    -  dependencies:
    
    184
    -  - docs
    
    185
    -  variables:
    
    186
    -    ACME_DIR: public/.well-known/acme-challenge
    
    187
    -  script:
    
    188
    -  - mkdir -p ${ACME_DIR}
    
    189
    -    # Required to finish the creation of the Let's Encrypt certificate,
    
    190
    -    # which allows using https://docs.buildstream.build/ for accessing
    
    191
    -    # the documentation.
    
    192
    -  - echo ${ACME_CHALLENGE} > ${ACME_DIR}/$(echo ${ACME_CHALLENGE} | cut -c1-43)
    
    193
    -  artifacts:
    
    194
    -    paths:
    
    195
    -    - public/
    
    196
    -  only:
    
    197
    -  #
    
    198
    -  # FIXME:
    
    199
    -  #
    
    200
    -  # Ideally we want to publish to a different subdir of
    
    201
    -  # pages depending on which stable branch we are building here,
    
    202
    -  # not currently automatically supported but can be worked around.
    
    203
    -  #
    
    204
    -  # See https://gitlab.com/gitlab-org/gitlab-ce/issues/35141
    
    205
    -  #
    
    206
    -  - master
    
    207
    -  except:
    
    208
    -  - schedules



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