169 lines
2.6 KiB
YAML
169 lines
2.6 KiB
YAML
|
---
|
||
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: electron-ozone
|
||
|
|
||
|
platform:
|
||
|
os: linux
|
||
|
arch: amd64
|
||
|
|
||
|
workspace:
|
||
|
base: /src
|
||
|
|
||
|
steps:
|
||
|
- name: build_electron-ozone
|
||
|
pull: if-not-exists
|
||
|
image: leophys/pikaur-root:0.1
|
||
|
commands:
|
||
|
- -Sy --noconfirm electron-ozone
|
||
|
volumes:
|
||
|
- name: build_electron-ozone
|
||
|
path: /build
|
||
|
|
||
|
volumes:
|
||
|
- name: build_electron-ozone
|
||
|
host:
|
||
|
path: /var/builds/archlinux/electron-ozone
|
||
|
|
||
|
trigger:
|
||
|
branch:
|
||
|
- master
|
||
|
event:
|
||
|
- push
|
||
|
- cron
|
||
|
|
||
|
---
|
||
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: notify_failure-electron-ozone
|
||
|
|
||
|
clone:
|
||
|
disable: true
|
||
|
|
||
|
steps:
|
||
|
- name: notify_failure
|
||
|
pull: if-not-exists
|
||
|
image: leophys/mailer:0.5
|
||
|
environment:
|
||
|
M_SERVER_ADDRESS:
|
||
|
from_secret: m_server_address
|
||
|
M_USER:
|
||
|
from_secret: m_user
|
||
|
M_PASSWORD:
|
||
|
from_secret: m_password
|
||
|
M_FROM:
|
||
|
from_secret: m_from
|
||
|
M_TO:
|
||
|
from_secret: m_to
|
||
|
M_SUB: "[electron-ozone] FAILURE"
|
||
|
M_TEXT: "Failed building electron-ozone"
|
||
|
|
||
|
trigger:
|
||
|
status:
|
||
|
- failure
|
||
|
|
||
|
depends_on:
|
||
|
- electron-ozone
|
||
|
|
||
|
---
|
||
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: discord_arch_electron
|
||
|
|
||
|
platform:
|
||
|
os: linux
|
||
|
arch: amd64
|
||
|
|
||
|
workspace:
|
||
|
base: /src
|
||
|
|
||
|
steps:
|
||
|
- name: build_electron-ozone
|
||
|
pull: if-not-exists
|
||
|
image: leophys/pikaur-root:0.1
|
||
|
commands:
|
||
|
- -Sy --noconfirm discord_arch_electron
|
||
|
volumes:
|
||
|
- name: build_discord_arch_electron
|
||
|
path: /build
|
||
|
|
||
|
volumes:
|
||
|
- name: build_discord_arch_electron
|
||
|
host:
|
||
|
path: /var/builds/archlinux/discord_arch_electron
|
||
|
|
||
|
trigger:
|
||
|
branch:
|
||
|
- master
|
||
|
event:
|
||
|
- push
|
||
|
- cron
|
||
|
|
||
|
---
|
||
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: notify_failure-discord_arch_electron
|
||
|
|
||
|
clone:
|
||
|
disable: true
|
||
|
|
||
|
steps:
|
||
|
- name: notify_failure
|
||
|
pull: if-not-exists
|
||
|
image: leophys/mailer:0.5
|
||
|
environment:
|
||
|
M_SERVER_ADDRESS:
|
||
|
from_secret: m_server_address
|
||
|
M_USER:
|
||
|
from_secret: m_user
|
||
|
M_PASSWORD:
|
||
|
from_secret: m_password
|
||
|
M_FROM:
|
||
|
from_secret: m_from
|
||
|
M_TO:
|
||
|
from_secret: m_to
|
||
|
M_SUB: "[discord_arch_electron] FAILURE"
|
||
|
M_TEXT: "Failed building discord_arch_electron"
|
||
|
|
||
|
trigger:
|
||
|
status:
|
||
|
- failure
|
||
|
|
||
|
depends_on:
|
||
|
- discord_arch_electron
|
||
|
|
||
|
---
|
||
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: notify_success
|
||
|
|
||
|
clone:
|
||
|
disable: true
|
||
|
|
||
|
steps:
|
||
|
- name: notify_success
|
||
|
pull: if-not-exists
|
||
|
image: leophys/mailer:0.5
|
||
|
environment:
|
||
|
M_SERVER_ADDRESS:
|
||
|
from_secret: m_server_address
|
||
|
M_USER:
|
||
|
from_secret: m_user
|
||
|
M_PASSWORD:
|
||
|
from_secret: m_password
|
||
|
M_FROM:
|
||
|
from_secret: m_from
|
||
|
M_TO:
|
||
|
from_secret: m_to
|
||
|
M_SUB: "[archlinux] SUCCESS"
|
||
|
M_TEXT: "Success building archlinux packages"
|
||
|
|
||
|
trigger:
|
||
|
status:
|
||
|
- success
|
||
|
|
||
|
depends_on:
|
||
|
- electron-ozone
|
||
|
- discord_arch_electron
|
||
|
|