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 e078603
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 29 deletions.
29 changes: 0 additions & 29 deletions .travis.yml

This file was deleted.

32 changes: 32 additions & 0 deletions zuul.d/jobs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
- 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
vars:
curl_test: mainline

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

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

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

- project:
check:
jobs:
- curl-docker
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 e078603

Please sign in to comment.