[Notes] [Git][BuildStream/buildstream][Qinusty/gitlab-ci-duration] Test: Use /cache as cache for perm



Title: GitLab

Qinusty pushed to branch Qinusty/gitlab-ci-duration at BuildStream / buildstream

Commits:

1 changed file:

Changes:

  • .gitlab-ci.yml
    ... ... @@ -3,7 +3,7 @@ image: buildstream/testsuite-debian:9-master-114-4cab18e3
    3 3
     cache:
    
    4 4
       key: "$CI_JOB_NAME-"
    
    5 5
       paths:
    
    6
    -    - cache/
    
    6
    +    - /cache/
    
    7 7
     
    
    8 8
     stages:
    
    9 9
       - prepare
    
    ... ... @@ -69,7 +69,7 @@ source_dist:
    69 69
       - useradd -Um buildstream
    
    70 70
       - chown -R buildstream:buildstream .
    
    71 71
     
    
    72
    -  - export INTEGRATION_CACHE="$(pwd)/cache/integration-cache"
    
    72
    +  - export INTEGRATION_CACHE="/cache/integration-cache"
    
    73 73
     
    
    74 74
       # Unpack and get into dist/buildstream
    
    75 75
       - cd dist && ./unpack.sh
    
    ... ... @@ -122,7 +122,7 @@ tests-unix:
    122 122
         PYTEST_ADDOPTS: "--color=yes"
    
    123 123
       script:
    
    124 124
     
    
    125
    -    - export INTEGRATION_CACHE="$(pwd)/cache/integration-cache"
    
    125
    +    - export INTEGRATION_CACHE="/cache/integration-cache"
    
    126 126
     
    
    127 127
         # We remove the Bubblewrap and OSTree packages here so that we catch any
    
    128 128
         # codepaths that try to use them. Removing OSTree causes fuse-libs to
    
    ... ... @@ -144,8 +144,8 @@ tests-unix:
    144 144
         paths:
    
    145 145
         - coverage-unix/
    
    146 146
         - logs-unix/
    
    147
    -  tags:
    
    148
    -  - test
    
    147
    +  # tags:
    
    148
    +  # - test
    
    149 149
     
    
    150 150
     
    
    151 151
     # Automatically build documentation for every commit, we want to know
    
    ... ... @@ -164,7 +164,7 @@ docs:
    164 164
     
    
    165 165
       stage: test
    
    166 166
       script:
    
    167
    -  - export BST_SOURCE_CACHE="$(pwd)/cache/integration-cache/sources"
    
    167
    +  - export BST_SOURCE_CACHE="/cache/integration-cache/sources"
    
    168 168
       - pip3 install sphinx
    
    169 169
       - pip3 install sphinx-click
    
    170 170
       - pip3 install sphinx_rtd_theme
    



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