https://github.com/codeclimate/update-replicated-status
General purpose container to update the status line on a Replicated application during startup.
https://github.com/codeclimate/update-replicated-status
opensource
Last synced: 11 months ago
JSON representation
General purpose container to update the status line on a Replicated application during startup.
- Host: GitHub
- URL: https://github.com/codeclimate/update-replicated-status
- Owner: codeclimate
- License: mit
- Created: 2017-10-12T21:28:24.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-26T21:17:31.000Z (about 8 years ago)
- Last Synced: 2025-01-11T18:17:58.500Z (about 1 year ago)
- Topics: opensource
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 16
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Update Replicated Status
General purpose container to update the status line on a Replicated application
during startup. It uses the [status API] to do that.
## Usage
Within a `replicated.yml` file:
```yml
components:
- name: data
containers:
- source: private
image_name: database
publish_events:
- name: Started Database
trigger: container-start
subscriptions:
- component: update_app_status
container: codeclimate/update-replicated-status
action: start
- name: update_app_status
containers:
- source: public
image_name: codeclimate/update-replicated-status
version: latest
ephemeral: true
cmd: "Starting services..."
publish_events:
- name: Updated app status
trigger: container-stop
subscriptions:
- component: services
container: service
action: start
```
[status API]: https://help.replicated.com/api/integration-api/status-api/