{"id":15566751,"url":"https://github.com/webknjaz/ansiwatch-bot","last_synced_at":"2025-09-02T18:30:36.398Z","repository":{"id":148296437,"uuid":"146324278","full_name":"webknjaz/ansiwatch-bot","owner":"webknjaz","description":"Ansible content linter bot","archived":false,"fork":false,"pushed_at":"2023-05-22T21:35:30.000Z","size":135,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-28T18:33:30.427Z","etag":null,"topics":["bot","ci","ci-cd","github-app","github-apps","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webknjaz.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"patreon":"webknjaz","ko_fi":"webknjaz","custom":"https://www.paypal.me/webknjazCZ"}},"created_at":"2018-08-27T16:27:10.000Z","updated_at":"2020-08-25T11:53:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"fae5b474-8181-47f0-b5a6-1a0deb258799","html_url":"https://github.com/webknjaz/ansiwatch-bot","commit_stats":{"total_commits":121,"total_committers":3,"mean_commits":"40.333333333333336","dds":"0.016528925619834656","last_synced_commit":"988cda4cac78b4773a298e10e27fa0a6c7e6312a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webknjaz%2Fansiwatch-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webknjaz%2Fansiwatch-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webknjaz%2Fansiwatch-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webknjaz%2Fansiwatch-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webknjaz","download_url":"https://codeload.github.com/webknjaz/ansiwatch-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231800774,"owners_count":18428574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bot","ci","ci-cd","github-app","github-apps","python"],"created_at":"2024-10-02T17:06:15.531Z","updated_at":"2024-12-30T00:51:30.484Z","avatar_url":"https://github.com/webknjaz.png","language":"Python","funding_links":["https://patreon.com/webknjaz","https://ko-fi.com/webknjaz","https://www.paypal.me/webknjazCZ"],"categories":[],"sub_categories":[],"readme":"ansiwatch-bot\n-------------\n\nAnsible content linter bot\n\nWhat is this?\n=============\n\nCurrently it's my research about Bots using GitHub Apps integrations.\nRuns ``ansible-review`` on ``pull_request`` event, posts result via\nChecks API. One-click installable. Deployed privately for now.\nDemo of the check posted:\nhttps://github.com/webknjaz/ansible-gentoo-laptop/pull/4/checks?check_run_id=26277133\n\nWhat is it done of?\n===================\n\n* `ansible-review \u003chttps://pypi.org/p/ansible-review\u003e`_ — linter itself\n* `check-in \u003chttps://pypi.org/p/check-in\u003e`_ — Checks API bindings\n* `CherryPy \u003chttps://pypi.org/p/CherryPy\u003e`_ — framework implementing\n  GitHub webhook event routing, GitHub integration and repos sync via\n  the built-in pubsub bus\n* `OpenShift \u003chttps://www.openshift.com/\u003e`_ — back-end platform\n\nCreating an openshift app\n=========================\n\n.. code:: bash\n\n    oc new-project ansiwatch-bot\n    oc new-app --param-file=.env openshift.yaml\n    # or\n    cat openshift.yaml | oc process -f - --param-file=.env -o yaml | oc apply -f -\n\nTriggering build\n================\n\n.. code:: bash\n\n    oc start-build ansiwatch-bot\n\nTriggering deployment\n=====================\n\n.. code:: bash\n\n    oc rollout latest ansiwatch-bot\n\nTriggering automatic deployment\n===============================\n\n1. From the ``Web Console`` homepage, navigate\n   to project ``ansiwatch-bot``\n2. Click on ``Browse \u003e Builds``\n3. Click the link with ``BuildConfig`` named ``ansiwatch-bot``\n4. Click the ``Configuration`` tab\n5. Click the \"``Copy to clipboard``\" icon to the right of\n   the \"``GitHub webhook URL``\" field\n6. Navigate to your repository on GitHub and click\n   on ``repository settings \u003e webhooks \u003e Add webhook``\n7. Paste your webhook URL provided by OpenShift in\n   the \"``Payload URL``\" field\n8. Change the \"``Content type``\" to '``application/json``'\n9. Leave the defaults for the remaining fields — that's it!\n\nAfter you save your webhook, if you refresh your settings page\nyou can see the status of the ping that Github sent to OpenShift\nto verify it can reach the server.\n\nNote: adding a webhook requires your OpenShift server\nto be reachable from GitHub.\n\nNow, whenever you push to that repo it will trigger deployment\nin OpenShift.\n\nChecking status\n===============\n\n.. code:: bash\n\n    oc logs -f bc/ansiwatch-bot\n\nDestroying everything back\n==========================\n\n.. code:: bash\n\n    oc delete all -l app=ansiwatch-bot; oc delete secret ansiwatch-bot\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebknjaz%2Fansiwatch-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebknjaz%2Fansiwatch-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebknjaz%2Fansiwatch-bot/lists"}