geforkt von nick-slowinski.de/docs
Nick Slowinski
fe2243553a
Einige Prüfungen sind fehlgeschlagen
continuous-integration/drone/push Build is failing
94 Zeilen
Kein EOL
1,5 KiB
YAML
94 Zeilen
Kein EOL
1,5 KiB
YAML
name: test
|
|
kind: pipeline
|
|
type: docker
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
clone:
|
|
disable: true
|
|
|
|
steps:
|
|
- name: clone
|
|
image: registry.access.redhat.com/ubi9/python-311:1-12
|
|
volumes:
|
|
- name: cache
|
|
path: /opt/app-root/src
|
|
commands:
|
|
- mkdir ~/docs && cd ~/docs
|
|
- git clone $DRONE_REPO_LINK .
|
|
- git checkout $DRONE_COMMIT
|
|
when:
|
|
branch:
|
|
exclude:
|
|
- renovate/*
|
|
- name: build
|
|
image: registry.access.redhat.com/ubi9/python-311:1-12
|
|
volumes:
|
|
- name: cache
|
|
path: /opt/app-root/src
|
|
commands:
|
|
- cd ~/docs
|
|
- pip install --upgrade pip
|
|
- pip install -r requirements.txt
|
|
- mkdocs build
|
|
when:
|
|
branch:
|
|
exclude:
|
|
- renovate/*
|
|
|
|
trigger:
|
|
event:
|
|
- push
|
|
- pull_request
|
|
|
|
---
|
|
name: deploy
|
|
kind: pipeline
|
|
type: docker
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
clone:
|
|
disable: true
|
|
|
|
steps:
|
|
- name: clone
|
|
image: registry.access.redhat.com/ubi9/python-311:1-12
|
|
volumes:
|
|
- name: cache
|
|
path: /opt/app-root/src
|
|
commands:
|
|
- mkdir ~/docs && cd ~/docs
|
|
- git clone $DRONE_REPO_LINK .
|
|
- git checkout $DRONE_COMMIT
|
|
when:
|
|
branch:
|
|
exclude:
|
|
- renovate/*
|
|
- name: build
|
|
image: registry.access.redhat.com/ubi9/python-311:1-12
|
|
volumes:
|
|
- name: cache
|
|
path: /opt/app-root/src
|
|
commands:
|
|
- cd ~/docs
|
|
- pip install --upgrade pip
|
|
- pip install -r requirements.txt
|
|
- mkdocs build
|
|
when:
|
|
branch:
|
|
exclude:
|
|
- renovate/*
|
|
|
|
trigger:
|
|
event:
|
|
- promote
|
|
target:
|
|
- production
|
|
volumes:
|
|
- name: cache
|
|
temp: {} |