summaryrefslogtreecommitdiff
path: root/.semaphore/semaphore.yml
blob: 07742337e8a0bf25a7086e56233965d18ec65325 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
# SPDX-License-Identifier: LGPL-2.1-or-later
# vi: ts=2 sw=2 et:

version: v1.0
name: Debian autopkgtest (LXC)
agent:
  machine:
    type: e1-standard-2
    os_image: ubuntu2004

# 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