add drone config
Einige Prüfungen sind fehlgeschlagen
continuous-integration/drone/push Build is failing
Einige Prüfungen sind fehlgeschlagen
continuous-integration/drone/push Build is failing
Dieser Commit ist enthalten in:
Ursprung
c0440c9780
Commit
bbc9548a93
1 geänderte Dateien mit 35 neuen und 0 gelöschten Zeilen
35
.drone.yml
Normale Datei
35
.drone.yml
Normale Datei
|
@ -0,0 +1,35 @@
|
|||
name: amd64
|
||||
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 -b $DRONE_BRANCH
|
||||
- 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
|
||||
|
||||
volumes:
|
||||
- name: cache
|
||||
temp: {}
|
Laden …
In neuem Issue referenzieren