Skip to content

Commit

Permalink
Add a travis.yml and a test (gluster#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelbabu authored Oct 29, 2018
1 parent b617193 commit db6c5c5
Show file tree
Hide file tree
Showing 47 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.retry
jenkins_jobs.ini
jenkins.ini
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
language: python
python:
- '3.6'
script: tests/verify-yaml.sh
deploy:
- provider: script
script: bash tests/deploy-centos-ci.sh
on:
branch: master
env:
global:
secure: I5Dlju6i7NRNH5aQoTV75Pf4yRpppPFzrhdHGkphVAILd6kB8lopLmcBEEZ64cAmIlhD6XJqSt/wn+c9krEQvRJEreOVjcYYKIeA+cblnk0piHoM5HoLpTF8Xv6I2ewNKesmBSuxY3i78Qov5IqFiD5LG0WysbIW9Cuyt0CPNePtLiezK1HmmLZqJjOU9SNLxEmp1/t7XDPe8SDLtocR1h77nd8/v2DJQAneyR3aN0mBjMw1z7BtuWj1kQUb1jPT741JCgye/0LW1QfFr6pSf7gAfBfCBafxjNlddtgNfdBPONbrPyGANa5HeAypFb6AL4/lBmNJs0jZlXe5k7tT7e/a28KlkL5d0rPc4HIZ2zjg5CzHGHuH09pwQR6lSLK+HNIUNlKN6F7Wgkq7RSAOwSvA0F5aRhrhqr3JMLj0hk8K5U8ucXpxOdxCVPboqNiFlL4riKXghhwWinWz0iO6YScOo/N6xD5h4WrH4ZpYziUUbyIMvVbHu/y71tUxxSXZIBGGRNdR1B2u2a1W8pvvyqd/oEogPQ+UUUdYo9Belox8t6QlJmfhyzUVn6y8c4y4pCBNARWm/pP3G6nW5EFS6hk2VJq5PaWxm4HuB8YhCuEnPHvl22y9JtJNpArE5gtOb6TiS9TZc1biw8BT0JpBPh/zFDJCcgOgjLNBqVLQPJk=
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
git+https://git.openstack.org/openstack-infra/jenkins-job-builder#egg=jenkins-job-builder
3 changes: 3 additions & 0 deletions tests/deploy-centos-ci.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
sed "s/JENKINS_API_KEY/$JENKINS_API_KEY/g" tests/jenkins.conf > jobs/jenkins.ini
jenkins-jobs --conf jobs/jenkins.ini update jobs
12 changes: 12 additions & 0 deletions tests/jenkins.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[job_builder]
ignore_cache=False
keep_descriptions=False
recursive=False
exclude=.*:manual:./development
allow_duplicates=False
#query_plugins_info=False

[jenkins]
user=gluster
password=JENKINS_API_KEY
url=https://ci.centos.org
3 changes: 3 additions & 0 deletions tests/verify-yaml.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

jenkins-jobs test jobs

0 comments on commit db6c5c5

Please sign in to comment.