STM32H750VB_EPD/.drone.yml

60 lines
1.2 KiB
YAML
Raw Normal View History

2021-01-10 16:22:10 +00:00
kind: pipeline
type: docker
name: default
steps:
2021-01-12 16:13:56 +00:00
- name: restore
image: plugins/s3-cache
settings:
pull: true
endpoint: http://s3-ap-northeast-1.amazonaws.com
root: /imi415-artifacts
access_key:
from_secret: aws-s3-ak
secret_key:
from_secret: aws-s3-aks
mount:
- Middlewares/Third_Party/LittleVGL
restore: true
2021-01-10 16:32:58 +00:00
- name: submodules
image: alpine/git
commands:
2021-01-10 16:36:40 +00:00
- git submodule update --recursive --init
2021-01-10 16:32:58 +00:00
2021-01-12 16:13:56 +00:00
- name: rebuild
image: plugins/s3-cache
settings:
pull: true
endpoint: http://s3-ap-northeast-1.amazonaws.com
root: /imi415-artifacts
access_key:
from_secret: aws-s3-ak
secret_key:
from_secret: aws-s3-aks
mount:
- Middlewares/Third_Party/LittleVGL
rebuild: true
when:
event: push
2021-01-10 16:22:10 +00:00
- name: build
image: registry.aws.minori.work/imi415/arm-none-toolchain:latest
commands:
- make
2021-01-12 16:13:56 +00:00
- name: flush
image: plugins/s3-cache
settings:
pull: true
endpoint: http://s3-ap-northeast-1.amazonaws.com
root: /imi415-artifacts
access_key:
from_secret: aws-s3-ak
secret_key:
from_secret: aws-s3-aks
flush: true
flush_age: 30
2021-01-10 16:22:10 +00:00
image_pull_secrets:
- pull-secret