Do not use cache on submodules
continuous-integration/drone/push Build is passing Details

This commit is contained in:
imi415 2021-01-13 03:25:39 +08:00
parent 4e6eef3189
commit 36a785f18b
Signed by: imi415
GPG Key ID: 17F01E106F9F5E0A
1 changed files with 0 additions and 42 deletions

View File

@ -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