Skip to content

Commit

Permalink
Added basic jobs to convert to Zuul
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaser committed Jun 16, 2021
1 parent 1a12e22 commit feeb016
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 29 deletions.
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
- clang-3.7
- libev-dev
- libc-ares-dev
- libstdc++-4.8-dev
- libidn2-0-dev
- libssh2-1-dev
- krb5-user
- pkg-config
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: Run job
shell: ./{{ curl_script | default(curl_test) }}.sh
environment:
TRAVIS_BRANCH: "{{ zuul.projects.checkout }}"

0 comments on commit feeb016

Please sign in to comment.