[Notes] [Git][BuildGrid/buildgrid][jennis/update_CI] .gitlab-ci.yml: Run CI with debian-stretch image:



Title: GitLab

James Ennis pushed to branch jennis/update_CI at BuildGrid / buildgrid

Commits:

1 changed file:

Changes:

  • .gitlab-ci.yml
    1
    -image: buildstream/buildstream-fedora:master-81-06ae434
    
    1
    +image: python:3.5-stretch
    
    2 2
     
    
    3 3
     variables:
    
    4 4
       BGD: bgd --verbose
    
    ... ... @@ -8,6 +8,7 @@ stages:
    8 8
       - post
    
    9 9
     
    
    10 10
     before_script:
    
    11
    +  - pip3 install setuptools
    
    11 12
       - export PATH=~/.local/bin:${PATH}
    
    12 13
       - pip3 install --user -e .
    
    13 14
     
    
    ... ... @@ -31,25 +32,13 @@ before_script:
    31 32
         - ${BGD} bot --host=0.0.0.0 dummy &
    
    32 33
         - ${BGD} execute --host=0.0.0.0 request --wait-for-completion
    
    33 34
     
    
    34
    -tests-debian:
    
    35
    -  image: buildstream/buildstream-debian
    
    36
    -  <<: *linux-tests
    
    37
    -
    
    38
    -# Need to yum install until we have our own image
    
    39
    -tests-fedora:
    
    35
    +tests-debian-stretch:
    
    40 36
       <<: *linux-tests
    
    41
    -  script:
    
    42
    -    - yum -y install clang libffi-devel openssl-devel python3-devel
    
    43
    -    - python3 setup.py test
    
    44
    -    - mkdir -p coverage/
    
    45
    -    - cp .coverage.* coverage/coverage."${CI_JOB_NAME}"
    
    46 37
     
    
    47 38
     run-dummy-job-debian:
    
    48 39
       image: buildstream/buildstream-debian
    
    49 40
       <<: *dummy-job
    
    50 41
     
    
    51
    -run-dummy-job-fedora:
    
    52
    -  <<: *dummy-job
    
    53 42
     
    
    54 43
     coverage:
    
    55 44
       stage: post
    
    ... ... @@ -62,14 +51,14 @@ coverage:
    62 51
         - coverage combine --rcfile=../.coveragerc -a coverage.*
    
    63 52
         - coverage report --rcfile=../.coveragerc -m
    
    64 53
       dependencies:
    
    65
    -  - tests-fedora
    
    54
    +  - tests-debian-stretch
    
    66 55
     
    
    67 56
     # Deploy, only for merges which land on master branch.
    
    68 57
     #
    
    69 58
     pages:
    
    70 59
       stage: post
    
    71 60
       dependencies:
    
    72
    -  - tests-fedora
    
    61
    +  - tests-debian-stretch
    
    73 62
       script:
    
    74 63
       - mv coverage/ public/
    
    75 64
       artifacts:
    



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