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:
|
pypi:
|
||||||
image: yourlabs/python
|
image: yourlabs/python
|
||||||
only: [tags]
|
only: [tags]
|
||||||
|
|||||||
@ -38,7 +38,8 @@ gitlabci = GitLabCI(
|
|||||||
build=dict(
|
build=dict(
|
||||||
stage='build',
|
stage='build',
|
||||||
image='yourlabs/shlax',
|
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(
|
test=dict(
|
||||||
stage='test',
|
stage='test',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user