2 Commits

Author SHA1 Message Date
9882035ca4 chore(ci): improve error handling and push only ref
Some checks failed
Markdown linter / markdown-lint (push) Failing after 20s
2025-04-14 17:32:17 +02:00
9280fb3553 fix(ci): remove drone configuration
All checks were successful
Markdown linter / markdown-lint (push) Successful in 11s
2025-04-14 16:47:45 +02:00
4 changed files with 6 additions and 101 deletions

View File

@ -1,7 +1,7 @@
pkgbase = mint-backgrounds
pkgdesc = The backgrounds of Linux Mint
pkgver = 1.8.0
pkgrel = 1
pkgrel = 2
arch = any
license = Various
depends = mint-backgrounds-helena

View File

@ -1,97 +0,0 @@
---
kind: pipeline
type: kubernetes
name: linter
clone:
disable: true
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.1
- name: markdown lint
commands:
- markdownlint *.md
image: git.cryptic.systems/volker.raschek/markdownlint:0.37.0
resources:
limits:
cpu: 150
memory: 150M
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
resources:
limits:
cpu: 150
memory: 150M
when:
status:
- changed
- failure
trigger:
event:
exclude:
- tag
---
kind: pipeline
type: kubernetes
name: sync-to-aur.archlinux.org
clone:
disable: true
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.1
- name: git-push
image: docker.io/appleboy/drone-git-push:1.0.6
settings:
branch: master
remote: ssh://aur@aur.archlinux.org/mint-backgrounds.git
force: false
commit: false
ssh_key:
from_secret: aur_ssh_key
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
resources:
limits:
cpu: 150
memory: 150M
when:
status:
- changed
- failure
trigger:
event:
- tag
repo:
- volker.raschek/mint-backgrounds-pkg

View File

@ -15,9 +15,11 @@ jobs:
- ubuntu-latest
steps:
- uses: actions/checkout@v4.2.2
with:
fetch-depth: 0
- name: Configure SSH client
run: |
mkdir ~/.ssh
mkdir ~/.ssh || true
chmod 0700 ~/.ssh
echo "${AUR_SSH_KEY}" | base64 --decode > ~/.ssh/id
@ -30,7 +32,7 @@ jobs:
EOF
- name: Push
run: |
git push ssh://aur@aur.archlinux.org/mint-backgrounds.git
git push ssh://aur@aur.archlinux.org/mint-backgrounds.git 'HEAD:refs/heads/master'
- name: Remove SSH client configuration
run: |
rm -rf ~/.ssh

View File

@ -2,7 +2,7 @@
pkgname=mint-backgrounds
pkgver=1.8.0
pkgrel=1
pkgrel=2
pkgdesc="The backgrounds of Linux Mint"
license=('Various')
arch=('any')