https://github.com/nabeel-shakeel/graphite-docker-action
GitHub Action for Building and Running Graphite
https://github.com/nabeel-shakeel/graphite-docker-action
Last synced: 3 months ago
JSON representation
GitHub Action for Building and Running Graphite
- Host: GitHub
- URL: https://github.com/nabeel-shakeel/graphite-docker-action
- Owner: nabeel-shakeel
- License: mit
- Created: 2020-03-05T10:08:30.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-01T15:54:24.000Z (10 months ago)
- Last Synced: 2025-02-22T06:01:56.437Z (3 months ago)
- Language: Shell
- Homepage:
- Size: 17.6 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Graphite Container Action
A GtiHub action for spins up [Graphite Container](https://hub.docker.com/r/graphiteapp/graphite-statsd).
Graphite & Statsd can be complex to setup. This action will have you running & collecting stats in just a few minutes.
- All Graphite related processes are run as daemons & monitored with runit.
- Includes additional services such as logrotate, nginx, optional Redis for TagDB and optional collectd instance.
- Put your custom services under /etc/service directory in Dockerfile and they'll be automatically run by runit.Here's an example of using the Action in workflows:
#### WorkFlow #1
Run a workflow on push event occur on master branch
```
name: Spin Graphite Containeron:
push:
branches:
- masterjobs:
run-container:
name: Running Container
runs-on: ubuntu-latest
steps:
- name: Run Action
uses: nabeel-shakeel/graphite-docker-action@master
- name: Docker ps Output
run: docker ps
```#### WorkFlow #2
You can run a workflow when a check suite has been rerequested or completed
```
name: Spin Graphite Containeron:
check_suite:
types: [rerequested, completed]jobs:
run-container:
name: Running Container
runs-on: ubuntu-latest
steps:
- name: Run Action
uses: nabeel-shakeel/graphite-docker-action@master- name: Docker ps Output
run: docker ps```