[expat] initial configuration

This commit is contained in:
Mike Aizatsky 2016-07-21 11:38:57 -07:00
parent 8cfb75a181
commit 3d59d551e9
5 changed files with 59 additions and 1 deletions

20
expat/Dockerfile Normal file
View File

@ -0,0 +1,20 @@
# Copyright 2016 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
FROM libfuzzer/base-fuzzer
MAINTAINER mike.aizatsky@gmail.com
CMD /workspace/oss-fuzz/expat/build.sh

24
expat/Jenkinsfile vendored Normal file
View File

@ -0,0 +1,24 @@
// Copyright 2016 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
////////////////////////////////////////////////////////////////////////////////
def libfuzzerBuild = fileLoader.fromGit('infra/libfuzzer-pipeline.groovy',
'https://github.com/google/oss-fuzz.git', 'master', null, '')
libfuzzerBuild {
git = "git://git.code.sf.net/p/expat/code_git"
needsOssFuzz = true
dockerfile = "oss-fuzz/expat/Dockerfile"
}

4
expat/Readme.md Normal file
View File

@ -0,0 +1,4 @@
Fuzzing expat
=============
* home page: [http://expat.sourceforge.net/](http://expat.sourceforge.net/)

8
expat/build.sh Normal file
View File

@ -0,0 +1,8 @@
#!/bin/bash -ex
echo $pwd
ls -alR
./buildconf.sh
./configure

View File

@ -3,5 +3,7 @@ Infrastructure
This directory contains infrastructure definition for oss-fuzz project:
* `base-images` - docker images used for building fuzzers.
* `base-images` - docker images for building fuzzers & corresponding jenkins
pipeline.
* `docker-cleanup` - jenkins pipeline to clean stale docker images & processes.
* `jenkins-cluster` - kubernetes cluster definition for our jenkins-based build.