{"id":19601476,"url":"https://github.com/stackstorm/st2chatops","last_synced_at":"2025-04-27T17:31:59.099Z","repository":{"id":2524400,"uuid":"46752919","full_name":"StackStorm/st2chatops","owner":"StackStorm","description":"Packaging environment for building StackStorm chatops native packages","archived":false,"fork":false,"pushed_at":"2024-03-18T17:54:49.000Z","size":894,"stargazers_count":30,"open_issues_count":16,"forks_count":41,"subscribers_count":25,"default_branch":"master","last_synced_at":"2024-03-18T18:26:29.866Z","etag":null,"topics":["chatops","cisco-spark","flowdock","hipchat","hubot","irc","mattermost","microsoft-teams","nodejs","rocketchat","slack","stackstorm","xmpp"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/StackStorm.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.rst","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},"funding":{"community_bridge":"stackstorm"}},"created_at":"2015-11-23T22:51:37.000Z","updated_at":"2024-03-18T18:26:33.743Z","dependencies_parsed_at":"2024-03-18T18:26:30.631Z","dependency_job_id":"f791aaf4-8519-49c9-97d9-5082221cbb97","html_url":"https://github.com/StackStorm/st2chatops","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackStorm%2Fst2chatops","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackStorm%2Fst2chatops/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackStorm%2Fst2chatops/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/StackStorm%2Fst2chatops/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/StackStorm","download_url":"https://codeload.github.com/StackStorm/st2chatops/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224076199,"owners_count":17251707,"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":["chatops","cisco-spark","flowdock","hipchat","hubot","irc","mattermost","microsoft-teams","nodejs","rocketchat","slack","stackstorm","xmpp"],"created_at":"2024-11-11T09:18:34.959Z","updated_at":"2025-04-27T17:31:59.089Z","avatar_url":"https://github.com/StackStorm.png","language":"Shell","readme":"# StackStorm's st2chatops\n\nThis repository delivers [StackStorm Chatops](https://docs.stackstorm.com/chatops) in a form of packages and docker image. The package includes [hubot](https://hubot.github.com/), [hubot-stackstorm](https://github.com/StackStorm/hubot-stackstorm)\nand pre-installed adapters for Slack.\n\n## Package\n\n### Usage\n\nFor instructions to install st2chatops package from repos, please refer to StackStorm installation instruction for [Deb-based](https://docs.stackstorm.com/install/deb.html#setup-chatops) or [RPM-based](https://docs.stackstorm.com/install/rhel7.html#setup-chatops) distributions.\n\nMake sure you've added StackStorm repos before installing the package.\n\n### Node Version\n\nRefer to official node [documentation](https://nodejs.org/en/download/package-manager/) on installing NodeJS from packages.\n\n### Building\n\nBuilding of the packages is handled automatically by CircleCI. In case you'd like to run it locally, you can use our building pipeline by running docker-compose:\n\n        docker-compose run ${DISTRO} build\n\nWhere ${DISTRO} refers to flavor name. See [docker-compose.yml](docker-compose.yml) file for the list of supported flavors.\n\n## Docker\n\n### Usage\n\n* Pull the StackStorm/st2chatops image:\n\n        docker pull stackstorm/st2chatops\n\n* Set a hostname or IP address that will be accessible form a docker container,\n  as $ST2_HOSTNAME environment variable:\n\n       export $ST2_HOSTNAME={MY_STACKSTORM_HOST_NAME}\n\n* Use [`st2chatops.env`](st2chatops.env) to store the settings.\n[Slack](https://github.com/hubot-friends/hubot-slack),\n\n* Use [scripts/st2chatops-docker-run.sh](scripts/st2chatops-docker-run.sh) to start the docker container instance.\nThe script is set for Slack\nRun the script, and ensure that hubot-stackstorm is running and there are no errors:\n\n        ./st2chatops-docker-run.sh\n        docker inspect -f {{.State.Status}} stackstorm-st2chatops\n        docker logs stackstorm-st2chatops\n\n  To automatically start `stackstorm-st2chatops`, use [restart policies](https://docs.docker.com/engine/reference/run/#restart-policies-restart\u003e),\n  or [integrate with a process manager](https://docs.docker.com/engine/admin/host_integration).\n\n* Go to your Chat room and begin Chatopsing. Learn more at [docs.stackstorm.com/chatops](https://docs.stackstorm.com/chatops)\n\n### Node Version\n\nGrab your favorite Node.JS version (\u003e=20.0), and pick your tag. Update `Dockerfile` as needed.\n\n### Pre-Requsites\n\n* Docker\n* Docker Hub Login (only if you're pushing a new version to Docker Hub)\n\n### Building\n\n* Step 0: Log in to docker with `docker login`.\n  * Only have to do this the first time\n* Step 1: Build the image: `docker build -t stackstorm/st2chatops:\u003cVER\u003e .`\n  * Replace `\u003cVER\u003e` with a version tag\n* Step 2: Push the container up: `docker push stackstorm/st2chatops:\u003cVER\u003e`\n  * Use the same tag specified in Step 1.\n* Step 3: Update the `latest` tag:\n\n  ```\n  docker build -t stackstorm/st2chatops:latest .\n  docker push stackstorm/st2chatops:latest\n  ```\n\n* Step 4: Profit\n\n### Copyright, License, and Contributors Agreement\n\nCopyright 2015-2019 Extreme Networks, Inc.\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the [LICENSE](LICENSE) file, or at:\n\n[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)\n\nUnless 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.\n\nBy contributing you agree that these contributions are your own (or approved by your employer) and you grant a full, complete, irrevocable copyright license to all users and developers of the project, present and future, pursuant to the license of the project.\n","funding_links":["https://funding.communitybridge.org/projects/stackstorm"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackstorm%2Fst2chatops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackstorm%2Fst2chatops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackstorm%2Fst2chatops/lists"}