fix(ci): init
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Markus Pesch 2023-04-12 22:49:30 +02:00
parent 4ab8166e8a
commit c4ea12aad9
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
5 changed files with 133 additions and 7 deletions

55
.drone.yml Normal file
View File

@ -0,0 +1,55 @@
---
kind: pipeline
type: kubernetes
name: linter
platform:
os: linux
arch: amd64
steps:
- name: markdown lint
commands:
- markdownlint *.md
image: docker.io/volkerraschek/markdownlint:0.32.1
resources:
limits:
cpu: 150
memory: 150M
# - name: sync
# image: appleboy/drone-git-push
# environment:
# GIT_PUSH_SSH_KEY:
# from_secret: aur_ssh_key
# settings:
# branch: master
# remote: ssh://aur@aur.archlinux.org/mint-backgrounds.git
# force: false
- 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: docker.io/volkerraschek/drone-email:0.1.1
resources:
limits:
cpu: 150
memory: 150M
when:
status:
- changed
- failure
trigger:
event:
exclude:
- tag

15
.editorconfig Normal file
View File

@ -0,0 +1,15 @@
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = false
[Makefile]
indent_style = tab

16
.gitignore vendored
View File

@ -1,7 +1,9 @@
pkg *
src !.drone.yml
act_runner* !.gitignore
LICENSE !.editorconfig
*.tar.gz !.SRCINFO
*.tar.zst !gitea-runner.service
*.tar.zst.sig !LICENSE
!PKGBUILD
!README.md

19
LICENSE Normal file
View File

@ -0,0 +1,19 @@
Copyright (c) 2022 The Gitea Authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

35
README.md Normal file
View File

@ -0,0 +1,35 @@
# gitea-runner
[![https://img.shields.io/aur/version/gitea-runner](https://img.shields.io/aur/version/gitea-runner)](https://aur.archlinux.org/packages/gitea-runner)
[![https://img.shields.io/aur/license/gitea-runner](https://img.shields.io/aur/license/gitea-runner)](https://aur.archlinux.org/packages/gitea-runner)
[![https://img.shields.io/aur/maintainer/gitea-runner](https://img.shields.io/aur/maintainer/gitea-runner)](https://aur.archlinux.org/packages/gitea-runner)
[![https://img.shields.io/aur/last-modified/gitea-runner](https://img.shields.io/aur/last-modified/gitea-runner)](https://aur.archlinux.org/packages/gitea-runner)
[![Build Status](https://drone.cryptic.systems/api/badges/volker.raschek/gitea-runner-pkg/status.svg)](https://drone.cryptic.systems/volker.raschek/gitea-runner-pkg)
This repository contains the source code to build the Arch Linux package
`gitea-runner`.
The package can be created and installed locally via `makepkg`. Alternatively,
it can be installed from the
[AUR](https://aur.archlinux.org/packages/gitea-runner) using an AUR helper
such as `yay`.
## makepkg
Clone the repository from one of the mirrors and move into the cloned git
repository. Execute `makepkg --install` to build the and install the package.
```bash
git clone <URL>
cd gitea-runner
makepkg --install
```
## yay
Make sure that yay is installed. Run yay to build and install the
gitea-runner package.
```bash
yay --sync --aur gitea-runner
```