mirror of
https://onedev.site.tesses.net/tesses-framework/tessesframework-webapp
synced 2026-02-08 16:35:45 +00:00
45 lines
1.3 KiB
YAML
45 lines
1.3 KiB
YAML
version: 39
|
|
jobs:
|
|
- name: Build
|
|
steps:
|
|
- !CheckoutStep
|
|
name: Checkout
|
|
cloneCredential: !DefaultCredential {}
|
|
withLfs: true
|
|
withSubmodules: true
|
|
cloneDepth: 1
|
|
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
|
- !CommandStep
|
|
name: Build and Publish Deb Package
|
|
runInContainer: true
|
|
image: onedev.site.tesses.net/dependencies/debbuilder/jammy:latest
|
|
interpreter: !DefaultInterpreter
|
|
commands: |
|
|
apt update -y
|
|
apt install -y pkg-config
|
|
cd Packaging/Linux
|
|
bash build-ubuntu-jammy.sh
|
|
bash push-ubuntu-jammy.sh
|
|
envVars:
|
|
- name: GITEA_AUTH
|
|
value: '@secret:GITEA_AUTH@'
|
|
useTTY: true
|
|
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
|
- !CommandStep
|
|
name: Build and Publish Deb Package (Plucky)
|
|
runInContainer: true
|
|
image: onedev.site.tesses.net/dependencies/debbuilder/plucky:latest
|
|
interpreter: !DefaultInterpreter
|
|
commands: "apt update -y\napt install -y pkg-config \ncd Packaging/Linux\nbash build-ubuntu-plucky.sh\nbash push-ubuntu-plucky.sh\n"
|
|
envVars:
|
|
- name: GITEA_AUTH
|
|
value: '@secret:GITEA_AUTH@'
|
|
useTTY: true
|
|
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
|
triggers:
|
|
- !BranchUpdateTrigger {}
|
|
retryCondition: never
|
|
maxRetries: 3
|
|
retryDelay: 30
|
|
timeout: 14400
|