Do not use cache on submodules
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
4e6eef3189
commit
36a785f18b
42
.drone.yml
42
.drone.yml
|
@ -3,57 +3,15 @@ type: kubernetes
|
|||
name: default
|
||||
|
||||
steps:
|
||||
- name: restore
|
||||
image: plugins/s3-cache
|
||||
settings:
|
||||
pull: true
|
||||
endpoint: https://s3.ap-northeast-1.amazonaws.com
|
||||
root: /imi415-artifacts/drone-cache
|
||||
access_key:
|
||||
from_secret: aws-s3-ak
|
||||
secret_key:
|
||||
from_secret: aws-s3-aks
|
||||
mount:
|
||||
- Middlewares/Third_Party/LittleVGL
|
||||
restore: true
|
||||
- name: submodules
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git submodule update --recursive --init
|
||||
|
||||
- name: rebuild
|
||||
image: plugins/s3-cache
|
||||
settings:
|
||||
pull: true
|
||||
endpoint: https://s3.ap-northeast-1.amazonaws.com
|
||||
root: /imi415-artifacts/drone-cache
|
||||
access_key:
|
||||
from_secret: aws-s3-ak
|
||||
secret_key:
|
||||
from_secret: aws-s3-aks
|
||||
mount:
|
||||
- Middlewares/Third_Party/LittleVGL
|
||||
rebuild: true
|
||||
when:
|
||||
event: push
|
||||
|
||||
- name: build
|
||||
image: registry.aws.minori.work/imi415/arm-none-toolchain:latest
|
||||
commands:
|
||||
- make
|
||||
|
||||
- name: flush
|
||||
image: plugins/s3-cache
|
||||
settings:
|
||||
pull: true
|
||||
endpoint: https://s3.ap-northeast-1.amazonaws.com
|
||||
root: /imi415-artifacts/drone-cache
|
||||
access_key:
|
||||
from_secret: aws-s3-ak
|
||||
secret_key:
|
||||
from_secret: aws-s3-aks
|
||||
flush: true
|
||||
flush_age: 30
|
||||
|
||||
image_pull_secrets:
|
||||
- pull-secret
|
||||
|
|
Loading…
Reference in New Issue