Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/goneri/the_zuul_watcher
Retrieve and store the Zuul-CI logs
https://github.com/goneri/the_zuul_watcher
ci elixir zuul-ci
Last synced: 25 days ago
JSON representation
Retrieve and store the Zuul-CI logs
- Host: GitHub
- URL: https://github.com/goneri/the_zuul_watcher
- Owner: goneri
- Created: 2022-01-18T01:54:02.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-17T20:56:45.000Z (over 1 year ago)
- Last Synced: 2024-10-04T17:23:24.597Z (about 1 month ago)
- Topics: ci, elixir, zuul-ci
- Language: Elixir
- Homepage:
- Size: 34.2 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# The Zuul Watcher
The Zuul Watcher connects to a Zuul instance and record the
job output of all the jobs (websocket).The application will that:
1. poll the status page to list the ongoing jobs (every 10s)
2. open a Websocket for reach of these jobs
3. redirect the Websocket content to a local file in the ./results directory
4. expose the log over HTTP, (e.g: http://my-host:3000/$build_uuid)## Requirements
```
sudo dnf install -y erlang erlang-xmerl elixir
```## Run
Edit `config/config.exs` to adjust your Zuul instance location.
Run the app with:
```
mix deps.get
ZUUL=sf iex -S mix # for ansible.softwarefactory-project.io
```The logs are stored in the `./results` directory by default. The application listen on port 3000. You can download the log using an URL with the following format http://my-host:3000/$build_uuid.