GitXplorerGitXplorer
r

manageiq-bot

public
0 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
c48619ed4cbfe75f922a7fccd0668aa0a74e623a

cleanup and config added

ggoern committed 7 years ago
Unverified
8a2aca9f3b0a2076c452f303945ef9e34fd20a02

some configmaps and OpenShift spec conf added

ggoern committed 7 years ago
Verified
592a168fa209f5b44b62d9d226ee14ff80f76453

implemented pr_in_progress()

ggoern committed 7 years ago
Unverified
4802be957ec0112d4a94ba4fea5177f1a233e84c

exclude certs from git repo

ggoern committed 7 years ago
Verified
dbd87cd90c42c5e6f859cfdc170233df48de7a18

these three guys seem to work together... v0.3.0

ggoern committed 7 years ago
Unverified
9e63de70862d5830c3088212c77ea30809ea66b1

working on updating the tracker issue as builds fail

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.