ci: migrate to Semaphore CI 2.0

This commit is contained in:
Frantisek Sumsal 2021-01-15 18:04:47 +01:00
parent 41979f59d3
commit 01371e2cd8
2 changed files with 27 additions and 0 deletions

27
.semaphore/semaphore.yml Normal file
View File

@ -0,0 +1,27 @@
---
# vi: ts=2 sw=2 et:
version: v1.0
name: Debian autopkgtest (LXC)
agent:
machine:
type: e1-standard-2
os_image: ubuntu1804
# Cancel any running or queued job for the same ref
auto_cancel:
running:
when: "true"
execution_time_limit:
hours: 1
blocks:
- name: "Setup & test"
task:
jobs:
- name: "Install dependencies & run the Debian autopkgtest"
commands:
- checkout --use-cache
- .semaphore/semaphore-runner.sh SETUP
- .semaphore/semaphore-runner.sh RUN