Gitlab cache
This commit is contained in:
parent
82f98b41b4
commit
3f4738f432
@ -1,4 +1,10 @@
|
||||
build: {image: yourlabs/shlax, script: ./shlaxfile.py build, stage: build}
|
||||
build:
|
||||
cache:
|
||||
key: cache
|
||||
paths: [.cache]
|
||||
image: yourlabs/shlax
|
||||
script: ./shlaxfile.py build
|
||||
stage: build
|
||||
pypi:
|
||||
image: yourlabs/python
|
||||
only: [tags]
|
||||
|
||||
@ -38,7 +38,8 @@ gitlabci = GitLabCI(
|
||||
build=dict(
|
||||
stage='build',
|
||||
image='yourlabs/shlax',
|
||||
script='./shlaxfile.py -d shlax build',
|
||||
script='CACHE_DIR=$(pwd)/.cache ./shlaxfile.py -d shlax build push',
|
||||
cache=dict(paths=['.cache'], key='cache'),
|
||||
),
|
||||
test=dict(
|
||||
stage='test',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user