This repository has been archived on 2023-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
handbuch-gen/.drone.yml

66 lines
1.0 KiB
YAML
Raw Normal View History

2021-11-17 23:10:14 +01:00
kind: pipeline
type: docker
name: amd64-pull
platform:
os: linux
arch: amd64
steps:
2021-11-18 00:08:34 +01:00
- name: submodules
image: ubuntu:focal
commands:
2021-11-18 00:10:20 +01:00
- apt-get -y install git
2021-11-18 00:08:34 +01:00
- git submodule update --init --recursive
2021-11-17 23:10:14 +01:00
- name: build-and-test
image: ubuntu:focal
commands:
- export DEBIAN_FRONTEND=noninteractive
2021-11-17 23:10:14 +01:00
- apt-get -y update
- apt-get -y install graphviz plantuml make python3-pip git
- pip install -r requirements.txt
2021-11-17 23:30:50 +01:00
- make bundle
2021-11-17 23:10:14 +01:00
trigger:
branch:
- main
event:
- pull_request
---
kind: pipeline
type: docker
name: amd64-master
platform:
os: linux
arch: amd64
steps:
2021-11-18 00:08:34 +01:00
- name: submodules
image: ubuntu:focal
commands:
2021-11-18 00:10:20 +01:00
- apt-get -y install git
2021-11-18 00:08:34 +01:00
- git submodule update --init --recursive
2021-11-17 23:10:14 +01:00
- name: build-and-test
image: ubuntu:focal
commands:
- export DEBIAN_FRONTEND=noninteractive
2021-11-17 23:10:14 +01:00
- export DRONE_BUILD_DIR=$PWD
- apt-get -y update
- apt-get -y install graphviz plantuml make python3 python3-pip git
- pip install -r requirements.txt
- make -j4 bundle
2021-11-17 23:10:14 +01:00
trigger:
branch:
- master
event:
- push