CI: Move to woodpecker
All checks were successful
ci/woodpecker/push/publish index Pipeline was successful

This commit is contained in:
nemunaire 2023-10-27 17:51:15 +02:00
parent f3c1c2e685
commit 6a04a91df1
3 changed files with 37 additions and 59 deletions

View File

@ -1,59 +0,0 @@
---
kind: pipeline
type: docker
name: publish index
platform:
os: linux
arch: arm64
steps:
- name: publish on s3
image: plugins/s3
settings:
endpoint: https://storage.nemunai.re
path_style: true
bucket: scores
access_key:
from_secret: s3_access_key
secret_key:
from_secret: s3_secret_key
source: _list.html
target: /
trigger:
event:
- push
---
kind: pipeline
type: docker
name: render
platform:
os: linux
arch: arm64
steps:
- name: render
image: jeandeaual/lilypond:stable
user: root
commands:
- lilypond -dno-point-and-click -dembed-source-code -o "${FILE%.ly}" "${FILE%.ly}.ly"
- name: publish on s3
image: plugins/s3
settings:
endpoint: https://storage.nemunai.re
path_style: true
bucket: scores
access_key:
from_secret: s3_access_key
secret_key:
from_secret: s3_secret_key
source: "${FILE%.ly}.pdf"
target: /
trigger:
event:
- custom

View File

@ -0,0 +1,16 @@
steps:
publish-on-s3:
image: plugins/s3
settings:
endpoint: https://storage.nemunai.re
path_style: true
bucket: scores
access_key:
from_secret: s3_access_key
secret_key:
from_secret: s3_secret_key
source: _list.html
target: /
when:
event: push

21
.woodpecker/render.yaml Normal file
View File

@ -0,0 +1,21 @@
steps:
render:
image: jeandeaual/lilypond:stable
commands:
- lilypond -dno-point-and-click -dembed-source-code -o "${FILE%.ly}" "${FILE%.ly}.ly"
publish-on-s3:
image: plugins/s3
settings:
endpoint: https://storage.nemunai.re
path_style: true
bucket: scores
access_key:
from_secret: s3_access_key
secret_key:
from_secret: s3_secret_key
source: "${FILE%.ly}.pdf"
target: /
when:
event: custom