forked from ag_kommunikation/webseite
Define new build pipeline
This commit is contained in:
parent
8ff500f749
commit
48150b5677
38
.drone.yml
38
.drone.yml
@ -1,46 +1,26 @@
|
|||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: build_webseite_main
|
name: build
|
||||||
|
|
||||||
workspace:
|
|
||||||
path: /workspace
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: build
|
|
||||||
image: registry.wtf-eg.net/lektor
|
|
||||||
|
|
||||||
image_pull_secrets:
|
|
||||||
- dockerconfig
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
- pull_request
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: build_webseite_pr
|
|
||||||
|
|
||||||
workspace:
|
|
||||||
path: /workspace
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: registry.wtf-eg.net/lektor
|
image: python:3.10-bullseye
|
||||||
|
commands:
|
||||||
|
- python3 -m pip install --user pipx
|
||||||
|
- export PATH=/root/.local/bin:$PATH
|
||||||
|
- pipx install lektor
|
||||||
|
- lektor build
|
||||||
|
|
||||||
image_pull_secrets:
|
|
||||||
- dockerconfig
|
|
||||||
|
|
||||||
trigger:
|
|
||||||
branch:
|
|
||||||
- main
|
|
||||||
event:
|
|
||||||
- pull_request
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: a7c0aeda778717207ec641e7af90a358376eb3bfb22beeb67217b6d201e9e675
|
hmac: aa654e71bb04571a3861f7b05550caea1b75b162d8c2710f1498a36dc5c2b8da
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user