kind: pipeline type: docker name: default steps: - 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 - name: submodules image: alpine/git commands: - git submodule update --recursive --init - 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 - name: build image: registry.aws.minori.work/imi415/arm-none-toolchain:latest commands: - make - 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 image_pull_secrets: - pull-secret