Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Commit

Permalink
Add ci build jobs running in Zuul
Browse files Browse the repository at this point in the history
  • Loading branch information
Albin Vass committed Jun 14, 2021
1 parent 88087d2 commit 4fc976c
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
10 changes: 10 additions & 0 deletions zuul.d/jobs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
- job:
name: curl-docker
pre-run: zuul.d/playbooks/pre.yaml
run: zuul.d/playbooks/run.yaml
nodeset: ubuntu-focal

- project:
check:
jobs:
- curl-docker
10 changes: 10 additions & 0 deletions zuul.d/playbooks/pre.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
- hosts: all
roles:
- ensure-docker
tasks:
- name: Install make and curl
become: true
apt:
name:
- make
- curl
6 changes: 6 additions & 0 deletions zuul.d/playbooks/run.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- hosts: all
tasks:
- name: Build image
command: make all lint
args:
chdir: "{{ zuul.project.src_dir }}"

0 comments on commit 4fc976c

Please sign in to comment.