rd-blender-docker/.drone.yml

851 wiersze
14 KiB
YAML

---
kind: pipeline
name: 2.80-cpu-ubuntu18.04
platform:
os: linux
arch: amd64
steps:
- name: generate
pull: if-not-exists
image: python:3.8-slim
commands:
- python3 generate.py
- name: 2.80-cpu-ubuntu18.04
pull: if-not-exists
image: plugins/docker
settings:
dockerfile: dist/2.80-cpu-ubuntu18.04/Dockerfile
password:
from_secret: docker_password
repo: nytimes/blender
tags: 2.80-cpu-ubuntu18.04
username:
from_secret: docker_username
trigger:
branch:
- master
event:
- push
---
kind: pipeline
name: 2.80-gpu-ubuntu18.04
platform:
os: linux
arch: amd64
steps:
- name: generate
pull: if-not-exists
image: python:3.8-slim
commands:
- python3 generate.py
- name: 2.80-gpu-ubuntu18.04
pull: if-not-exists
image: plugins/docker
settings:
dockerfile: dist/2.80-gpu-ubuntu18.04/Dockerfile
password:
from_secret: docker_password
repo: nytimes/blender
tags: 2.80-gpu-ubuntu18.04
username:
from_secret: docker_username
trigger:
branch:
- master
event:
- push
---
kind: pipeline
name: 2.81-cpu-ubuntu18.04
platform:
os: linux
arch: amd64
steps:
- name: generate
pull: if-not-exists
image: python:3.8-slim
commands:
- python3 generate.py
- name: 2.81-cpu-ubuntu18.04
pull: if-not-exists
image: plugins/docker
settings:
dockerfile: dist/2.81-cpu-ubuntu18.04/Dockerfile
password:
from_secret: docker_password
repo: nytimes/blender
tags: 2.81-cpu-ubuntu18.04
username:
from_secret: docker_username
trigger:
branch:
- master
event:
- push
---
kind: pipeline
name: 2.81-gpu-ubuntu18.04
platform:
os: linux
arch: amd64
steps:
- name: generate
pull: if-not-exists
image: python:3.8-slim
commands:
- python3 generate.py
- name: 2.81-gpu-ubuntu18.04
pull: if-not-exists
image: plugins/docker
settings:
dockerfile: dist/2.81-gpu-ubuntu18.04/Dockerfile
password:
from_secret: docker_password
repo: nytimes/blender
tags: 2.81-gpu-ubuntu18.04
username:
from_secret: docker_username
trigger:
branch:
- master
event:
- push
---
kind: pipeline
name: 2.82-cpu-ubuntu18.04
platform:
os: linux
arch: amd64
steps:
- name: generate
pull: if-not-exists
image: python:3.8-slim
commands:
- python3 generate.py
- name: 2.82-cpu-ubuntu18.04
pull: if-not-exists
image: plugins/docker
settings:
dockerfile: dist/2.82-cpu-ubuntu18.04/Dockerfile
password:
from_secret: docker_password
repo: nytimes/blender
tags: 2.82-cpu-ubuntu18.04
username:
from_secret: docker_username
trigger:
branch:
- master
event:
- push
---
kind: pipeline
name: 2.82-gpu-ubuntu18.04
platform:
os: linux
arch: amd64
steps:
- name: generate
pull: if-not-exists
image: python:3.8-slim
commands:
- python3 generate.py
- name: 2.82-gpu-ubuntu18.04
pull: if-not-exists
image: plugins/docker
settings:
dockerfile: dist/2.82-gpu-ubuntu18.04/Dockerfile
password:
from_secret: docker_password
repo: nytimes/blender
tags: 2.82-gpu-ubuntu18.04
username:
from_secret: docker_username
trigger:
branch:
- master
event:
- push
---
kind: pipeline
name: 2.83-cpu-ubuntu18.04
platform:
os: linux
arch: amd64
steps:
- name: generate
pull: if-not-exists
image: python:3.8-slim
commands:
- python3 generate.py
- name: 2.83-cpu-ubuntu18.04
pull: if-not-exists
image: plugins/docker
settings:
dockerfile: dist/2.83-cpu-ubuntu18.04/Dockerfile
password:
from_secret: docker_password
repo: nytimes/blender
tags: 2.83-cpu-ubuntu18.04
username:
from_secret: docker_username
trigger:
branch:
- master
event:
- push
---
kind: pipeline
name: 2.83-gpu-ubuntu18.04
platform:
os: linux
arch: amd64
steps:
- name: generate
pull: if-not-exists
image: python:3.8-slim
commands:
- python3 generate.py
- name: 2.83-gpu-ubuntu18.04
pull: if-not-exists
image: plugins/docker
settings:
dockerfile: dist/2.83-gpu-ubuntu18.04/Dockerfile
password:
from_secret: docker_password
repo: nytimes/blender
tags: 2.83-gpu-ubuntu18.04
username:
from_secret: docker_username
trigger:
branch:
- master
event:
- push
---
kind: pipeline
name: 2.90-cpu-ubuntu18.04
platform:
os: linux
arch: amd64
steps:
- name: generate
pull: if-not-exists
image: python:3.8-slim
commands:
- python3 generate.py
- name: 2.90-cpu-ubuntu18.04
pull: if-not-exists
image: plugins/docker
settings:
dockerfile: dist/2.90-cpu-ubuntu18.04/Dockerfile
password:
from_secret: docker_password
repo: nytimes/blender
tags: 2.90-cpu-ubuntu18.04
username:
from_secret: docker_username
trigger:
branch:
- master
event:
- push
---
kind: pipeline
name: 2.90-gpu-ubuntu18.04
platform:
os: linux
arch: amd64
steps:
- name: generate
pull: if-not-exists
image: python:3.8-slim
commands:
- python3 generate.py
- name: 2.90-gpu-ubuntu18.04
pull: if-not-exists
image: plugins/docker
settings:
dockerfile: dist/2.90-gpu-ubuntu18.04/Dockerfile
password:
from_secret: docker_password
repo: nytimes/blender
tags: 2.90-gpu-ubuntu18.04
username:
from_secret: docker_username
trigger:
branch:
- master
event:
- push
---
kind: pipeline
name: 2.91-cpu-ubuntu18.04
platform:
os: linux
arch: amd64
steps:
- name: generate
pull: if-not-exists
image: python:3.8-slim
commands:
- python3 generate.py
- name: 2.91-cpu-ubuntu18.04
pull: if-not-exists
image: plugins/docker
settings:
dockerfile: dist/2.91-cpu-ubuntu18.04/Dockerfile
password:
from_secret: docker_password
repo: nytimes/blender
tags: 2.91-cpu-ubuntu18.04
username:
from_secret: docker_username
trigger:
branch:
- master
event:
- push
---
kind: pipeline
name: 2.91-gpu-ubuntu18.04
platform:
os: linux
arch: amd64
steps:
- name: generate
pull: if-not-exists
image: python:3.8-slim
commands:
- python3 generate.py
- name: 2.91-gpu-ubuntu18.04
pull: if-not-exists
image: plugins/docker
settings:
dockerfile: dist/2.91-gpu-ubuntu18.04/Dockerfile
password:
from_secret: docker_password
repo: nytimes/blender
tags: 2.91-gpu-ubuntu18.04
username:
from_secret: docker_username
trigger:
branch:
- master
event:
- push
---
kind: pipeline
name: 2.92-cpu-ubuntu18.04
platform:
os: linux
arch: amd64
steps:
- name: generate
pull: if-not-exists
image: python:3.8-slim
commands:
- python3 generate.py
- name: 2.92-cpu-ubuntu18.04
pull: if-not-exists
image: plugins/docker
settings:
dockerfile: dist/2.92-cpu-ubuntu18.04/Dockerfile
password:
from_secret: docker_password
repo: nytimes/blender
tags: 2.92-cpu-ubuntu18.04
username:
from_secret: docker_username
trigger:
branch:
- master
event:
- push
---
kind: pipeline
name: 2.92-gpu-ubuntu18.04
platform:
os: linux
arch: amd64
steps:
- name: generate
pull: if-not-exists
image: python:3.8-slim
commands:
- python3 generate.py
- name: 2.92-gpu-ubuntu18.04
pull: if-not-exists
image: plugins/docker
settings:
dockerfile: dist/2.92-gpu-ubuntu18.04/Dockerfile
password:
from_secret: docker_password
repo: nytimes/blender
tags: 2.92-gpu-ubuntu18.04
username:
from_secret: docker_username
trigger:
branch:
- master
event:
- push
---
kind: pipeline
name: 2.93-cpu-ubuntu18.04
platform:
os: linux
arch: amd64
steps:
- name: generate
pull: if-not-exists
image: python:3.8-slim
commands:
- python3 generate.py
- name: 2.93-cpu-ubuntu18.04
pull: if-not-exists
image: plugins/docker
settings:
dockerfile: dist/2.93-cpu-ubuntu18.04/Dockerfile
password:
from_secret: docker_password
repo: nytimes/blender
tags: 2.93-cpu-ubuntu18.04
username:
from_secret: docker_username
trigger:
branch:
- master
event:
- push
---
kind: pipeline
name: 2.93-gpu-ubuntu18.04
platform:
os: linux
arch: amd64
steps:
- name: generate
pull: if-not-exists
image: python:3.8-slim
commands:
- python3 generate.py
- name: 2.93-gpu-ubuntu18.04
pull: if-not-exists
image: plugins/docker
settings:
dockerfile: dist/2.93-gpu-ubuntu18.04/Dockerfile
password:
from_secret: docker_password
repo: nytimes/blender
tags: 2.93-gpu-ubuntu18.04
username:
from_secret: docker_username
trigger:
branch:
- master
event:
- push
---
kind: pipeline
name: 3.0-cpu-ubuntu18.04
platform:
os: linux
arch: amd64
steps:
- name: generate
pull: if-not-exists
image: python:3.8-slim
commands:
- python3 generate.py
- name: 3.0-cpu-ubuntu18.04
pull: if-not-exists
image: plugins/docker
settings:
dockerfile: dist/3.0-cpu-ubuntu18.04/Dockerfile
password:
from_secret: docker_password
repo: nytimes/blender
tags: 3.0-cpu-ubuntu18.04
username:
from_secret: docker_username
trigger:
branch:
- master
event:
- push
---
kind: pipeline
name: 3.0-gpu-ubuntu18.04
platform:
os: linux
arch: amd64
steps:
- name: generate
pull: if-not-exists
image: python:3.8-slim
commands:
- python3 generate.py
- name: 3.0-gpu-ubuntu18.04
pull: if-not-exists
image: plugins/docker
settings:
dockerfile: dist/3.0-gpu-ubuntu18.04/Dockerfile
password:
from_secret: docker_password
repo: nytimes/blender
tags: 3.0-gpu-ubuntu18.04
username:
from_secret: docker_username
trigger:
branch:
- master
event:
- push
---
kind: pipeline
name: 3.1-cpu-ubuntu18.04
platform:
os: linux
arch: amd64
steps:
- name: generate
pull: if-not-exists
image: python:3.8-slim
commands:
- python3 generate.py
- name: 3.1-cpu-ubuntu18.04
pull: if-not-exists
image: plugins/docker
settings:
dockerfile: dist/3.1-cpu-ubuntu18.04/Dockerfile
password:
from_secret: docker_password
repo: nytimes/blender
tags: 3.1-cpu-ubuntu18.04
username:
from_secret: docker_username
trigger:
branch:
- master
event:
- push
---
kind: pipeline
name: 3.1-gpu-ubuntu18.04
platform:
os: linux
arch: amd64
steps:
- name: generate
pull: if-not-exists
image: python:3.8-slim
commands:
- python3 generate.py
- name: 3.1-gpu-ubuntu18.04
pull: if-not-exists
image: plugins/docker
settings:
dockerfile: dist/3.1-gpu-ubuntu18.04/Dockerfile
password:
from_secret: docker_password
repo: nytimes/blender
tags:
- 3.1-gpu-ubuntu18.04
username:
from_secret: docker_username
trigger:
branch:
- master
event:
- push
---
kind: pipeline
name: 3.2-cpu-ubuntu18.04
platform:
os: linux
arch: amd64
steps:
- name: generate
pull: if-not-exists
image: python:3.8-slim
commands:
- python3 generate.py
- name: 3.2-cpu-ubuntu18.04
pull: if-not-exists
image: plugins/docker
settings:
dockerfile: dist/3.2-cpu-ubuntu18.04/Dockerfile
password:
from_secret: docker_password
repo: nytimes/blender
tags: 3.2-cpu-ubuntu18.04
username:
from_secret: docker_username
trigger:
branch:
- master
event:
- push
---
kind: pipeline
name: 3.2-gpu-ubuntu18.04
platform:
os: linux
arch: amd64
steps:
- name: generate
pull: if-not-exists
image: python:3.8-slim
commands:
- python3 generate.py
- name: 3.2-gpu-ubuntu18.04
pull: if-not-exists
image: plugins/docker
settings:
dockerfile: dist/3.2-gpu-ubuntu18.04/Dockerfile
password:
from_secret: docker_password
repo: nytimes/blender
tags:
- 3.2-gpu-ubuntu18.04
username:
from_secret: docker_username
trigger:
branch:
- master
event:
- push
---
kind: pipeline
name: 3.3.1-cpu-ubuntu18.04
platform:
os: linux
arch: amd64
steps:
- name: generate
pull: if-not-exists
image: python:3.8-slim
commands:
- python3 generate.py
- name: 3.3.1-cpu-ubuntu18.04
pull: if-not-exists
image: plugins/docker
settings:
dockerfile: dist/3.3.1-cpu-ubuntu18.04/Dockerfile
password:
from_secret: docker_password
repo: nytimes/blender
tags: 3.3.1-cpu-ubuntu18.04
username:
from_secret: docker_username
trigger:
branch:
- master
event:
- push
---
kind: pipeline
name: 3.3.1-gpu-ubuntu18.04
platform:
os: linux
arch: amd64
steps:
- name: generate
pull: if-not-exists
image: python:3.8-slim
commands:
- python3 generate.py
- name: 3.3.1-gpu-ubuntu18.04
pull: if-not-exists
image: plugins/docker
settings:
dockerfile: dist/3.3.1-gpu-ubuntu18.04/Dockerfile
password:
from_secret: docker_password
repo: nytimes/blender
tags:
- 3.3.1-gpu-ubuntu18.04
- latest
username:
from_secret: docker_username
trigger:
branch:
- master
event:
- push
---
kind: pipeline
name: notify
platform:
os: linux
arch: amd64
steps:
- name: notify
pull: if-not-exists
image: plugins/slack
settings:
channel: rd-bots
icon_emoji: ":blender-3d:"
template: "{{#success build.status}}\n Build {{build.number}} for ${DRONE_BRANCH} on ${DRONE_REPO} succeeded :party-gopher: {{build.link}}\n{{else}}\n Build {{build.number}} for ${DRONE_BRANCH} on ${DRONE_REPO} failed! :doh: {{build.link}}\n{{/success}}\n"
username: Blender Docker Bot
webhook:
from_secret: slack_webhook
depends_on:
- 2.80-cpu-ubuntu18.04
- 2.80-gpu-ubuntu18.04
- 2.81-cpu-ubuntu18.04
- 2.81-gpu-ubuntu18.04
- 2.82-cpu-ubuntu18.04
- 2.82-gpu-ubuntu18.04
- 2.83-cpu-ubuntu18.04
- 2.83-gpu-ubuntu18.04
- 2.90-cpu-ubuntu18.04
- 2.90-gpu-ubuntu18.04
- 2.91-gpu-ubuntu18.04
- 2.91-cpu-ubuntu18.04
- 2.92-gpu-ubuntu18.04
- 2.92-cpu-ubuntu18.04
- 2.93-gpu-ubuntu18.04
- 2.93-cpu-ubuntu18.04
- 3.0-gpu-ubuntu18.04
- 3.0-cpu-ubuntu18.04
- 3.1-gpu-ubuntu18.04
- 3.1-cpu-ubuntu18.04
- 3.2-gpu-ubuntu18.04
- 3.2-cpu-ubuntu18.04
- 3.3.1-gpu-ubuntu18.04
- 3.3.1-cpu-ubuntu18.04
trigger:
branch:
- master
event:
- push
status:
- success
- failure