A cctray feed server for SemaphoreCI.
semaphoreci-cctray was built with the goal of using Nevergreen with SemaphoreCI, which lacks
a built-in cctray feed. But it enables the use of any tool supporting the cctray format.
- Rust development tools
- Docker - for building images and running in a container
cargo testThis command build the executable in development mode:
cargo build --package semaphoreci-cctray --bin semaphoreci-cctrayTo build in release mode:
cargo build --package semaphoreci-cctray --bin semaphoreci-cctray --releaseTo run a development build:
target/debug/semaphoreci-cctrayTo run a release build:
target/release/semaphoreci-cctrayThe app is configured with environment variables.
| Env Var | Description | Default |
|---|---|---|
| BIND_IP | IP address to bind to the server | 127.0.0.1 |
| PORT | TCP port to bind to the server | 8080 |
From the project directory, run:
docker compose up -d --buildThis will run both semaphoreci-cctray and nevergreen. By default, you can then open:
sempahoreci-cctrayat http://localhost:8080nevergreenat http://localhost:5000
From nevergreen, you can connect to semaphoreci-cctray using http://semaphoreci-cctray:8080.
You can configure the host ports using environment variables. Eg.
PORT_NEVERGREEN=5080 docker compose up -d --build| Env Var | Description | Default |
|---|---|---|
| PORT_NEVERGREEN | configures the host port for nevergreen | 5000 |
| PORT_SEMAPHORECI_CCTRAY | configures the host port for semaphoreci-cctray | 8080 |