Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Zuul jobs #45

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 0 additions & 29 deletions .travis.yml

This file was deleted.

39 changes: 39 additions & 0 deletions zuul.d/jobs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
- job:
name: curl-fuzz-base
abstract: true
pre-run: zuul.d/playbooks/pre.yaml
run: zuul.d/playbooks/run.yaml
nodeset: ubuntu-focal

- job:
name: curl-fuzz-mainline
parent: curl-fuzz-base
vars:
curl_test: mainline

- job:
name: curl-fuzz-code-coverage
parent: curl-fuzz-base
vars:
curl_test: codecoverage

- job:
name: curl-fuzz-code-profile
parent: curl-fuzz-base
vars:
curl_test: codeprofile

- job:
name: curl-fuzz-oss
parent: curl-fuzz-base
vars:
curl_test: oss-fuzz
curl_script: travisoss

- project:
check:
jobs:
- curl-fuzz-mainline
- curl-fuzz-code-coverage
- curl-fuzz-code-profile
- curl-fuzz-oss
Empty file added zuul.d/playbooks/.zuul.ignore
Empty file.
18 changes: 18 additions & 0 deletions zuul.d/playbooks/pre.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
- hosts: all
roles:
- role: ensure-docker
when: curl_test == 'oss-fuzz'
tasks:
- name: Install dependencies
become: true
apt:
name:
- lcov
- llvm
- libev-dev
- libc-ares-dev
- libstdc++-7-dev
- libidn2-0-dev
- libssh2-1-dev
- krb5-user
- pkg-config
8 changes: 8 additions & 0 deletions zuul.d/playbooks/run.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- hosts: all
tasks:
- name: Run job
shell: ./{{ curl_script | default(curl_test) }}.sh
args:
chdir: "{{ zuul.project.src_dir }}"
environment:
TRAVIS_BRANCH: "{{ zuul.branch }}"