mirror of
https://codeberg.org/librewolf/source.git
synced 2024-12-22 13:43:04 -05:00
test gitea actions
This commit is contained in:
parent
5ce6564218
commit
85e64445ee
2 changed files with 12 additions and 70 deletions
12
.forgejo/actions/push.yaml
Normal file
12
.forgejo/actions/push.yaml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
name: Push
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
push:
|
||||||
|
runs-on: alpine
|
||||||
|
steps:
|
||||||
|
- run: apk update -U && apk add make gnupg patch python3 bash xz
|
||||||
|
shell: sh
|
||||||
|
- run: make fetch-upstream-woodpecker
|
||||||
|
- run: make check-patchfail-woodpecker
|
||||||
|
- run: make all
|
|
@ -1,70 +0,0 @@
|
||||||
steps:
|
|
||||||
|
|
||||||
fetch:
|
|
||||||
image: alpine
|
|
||||||
commands:
|
|
||||||
- apk update -U
|
|
||||||
- apk add make gnupg
|
|
||||||
|
|
||||||
- make fetch-upstream-woodpecker
|
|
||||||
|
|
||||||
test:
|
|
||||||
image: alpine
|
|
||||||
commands:
|
|
||||||
- apk update -U
|
|
||||||
- apk add make patch
|
|
||||||
|
|
||||||
- make check-patchfail-woodpecker
|
|
||||||
|
|
||||||
build:
|
|
||||||
image: alpine
|
|
||||||
commands:
|
|
||||||
- apk update -U
|
|
||||||
- apk add make gnupg patch python3 bash xz
|
|
||||||
|
|
||||||
- make all
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# uploading to storage.ci.librewolf.net
|
|
||||||
|
|
||||||
# upload:
|
|
||||||
# image: woodpeckerci/plugin-s3
|
|
||||||
# when:
|
|
||||||
# - branch: main
|
|
||||||
# settings:
|
|
||||||
# bucket: artifacts
|
|
||||||
# source: "*.{tar.gz,sha256sum}"
|
|
||||||
# target: /${CI_BUILD_NUMBER}
|
|
||||||
# path_style: true
|
|
||||||
# endpoint: https://storage.ci.librewolf.net
|
|
||||||
#
|
|
||||||
# secrets: [aws_access_key_id, aws_secret_access_key]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# display-links:
|
|
||||||
# image: alpine
|
|
||||||
# when:
|
|
||||||
# - branch: main
|
|
||||||
# commands:
|
|
||||||
# - echo "https://storage.ci.librewolf.net/artifacts/${CI_BUILD_NUMBER}/librewolf-$(cat version)-$(cat release).source.tar.gz"
|
|
||||||
# - echo "https://storage.ci.librewolf.net/artifacts/${CI_BUILD_NUMBER}/librewolf-$(cat version)-$(cat release).source.tar.gz.sha256sum"
|
|
||||||
|
|
||||||
|
|
||||||
# my ts+axios api stuff to make the codeberg release
|
|
||||||
|
|
||||||
|
|
||||||
# release:
|
|
||||||
# image: alpine
|
|
||||||
# when:
|
|
||||||
# - branch: main
|
|
||||||
# commands:
|
|
||||||
# - apk update -U
|
|
||||||
# - apk add nodejs npm
|
|
||||||
#
|
|
||||||
# - ( cd .woodpecker.release && npm install && npm run build )
|
|
||||||
# - ( cd .woodpecker.release && npm run start $(cat ../version)-$(cat ../release) ${CI_BUILD_NUMBER} )
|
|
||||||
#
|
|
||||||
# secrets: [ cb_api_key ]
|
|
Loading…
Reference in a new issue