GitXplorerGitXplorer
r

manageiq-bot

public
0 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
dd4e79b7771a61f05d9cf9d94ed05474a63d0672

added tool to download all travis logs to disk

ggoern committed 7 years ago
Verified
13f95624210752f1c268fe19c647e12c49531077

added delete_document_by_id() to datahub_helper

ggoern committed 7 years ago
Verified
e579a2bd90e3c049a38c2545e24235bea2fca76f

upload_to_datahub() with new api, test updated, void test tests/successful_travis_build_id_test.py removed

ggoern committed 7 years ago
Verified
07815815727e0df3983c56cfec3aae030e9efa5b

implemented initial upload of travis-ci logs to datahib

ggoern committed 7 years ago
Verified
fcf99ab859ffc4e14bb558e15cc552ec95a5ee4c

pinned dependencies

ggoern committed 7 years ago
Unverified
df00cdab5162d36f19a88b267f8c285f686a3443

now a cronjob

ggoern committed 7 years ago

README

The README file for this repository.

manageiq-bot

A ManageIQ Team Member

Dependency Status

Deployment

The following sections describe what needs to be done to deploy the Thoth ManageIQ Dependency Bot.

Secrets

Secrets are used for varius API access, either via REST or SSH. Secrets are references by Deployments or CronJobs.

oc create secret generic manageiq-bot \
 --from-literal=GEMNASIUM_API_KEY=<token> \
 --from-literal=GITHUB_ACCESS_TOKEN=<token> \
 --from-literal=THOTH_DEPENDENCY_BOT_TRAVISCI=<token>
oc secrets new-sshauth github  --ssh-privatekey=<ssh_private_key_filename>

BuildConfigurations and ImageStreams

These two build configurations use the git repositories as input, during development it is advices to create corresponding binary builds.

oc new-build --name patch-bot --to patch-bot --image-stream openshift/python:3.5 https://github.com/goern/manageiq-bot
oc new-build --name dependencies --to dependencies --image-stream openshift/python:3.5 https://github.com/goern/manageiq-bot

Deployments

oc create -f dependencies.json

Services and Routes

As we want to provide a webhook endpoint, we need to create a service and expose it via a route.

oc create service clusterip  dependencies --tcp 8080:8080
oc expose service dependencies

CornJob

Local Testing

curl -d @test/fixtures/travis-webhooks-one-event.urlencoded -H "Content-Type: application/x-www-form-urlencoded" -X POST http://localhost:8080/webhooks/travis-ci

TODO

Implemente pr_in_progress()

Copyright

Copyright (C) 2017 Red Hat Inc.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

The GNU General Public License is provided within the file LICENSE.