1
0
Fork 0

„.drone.yml“ ändern
Einige Checks meldeten Fehler
continuous-integration/drone/push Build encountered an error

Dieser Commit ist enthalten in:
Nick Slowinski 2023-06-27 09:25:56 +02:00 committet von Nicks Git-Service
Ursprung 29ad6bc40b
Commit 0f6b938de6
Signiert von: Nicks Git-Service
GPG-Schlüssel-ID: 71E74D538F99C01A

Datei anzeigen

@ -43,6 +43,51 @@ trigger:
- push
- pull_request
---
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
volumes:
- name: cache
temp: {}