Skip to content

v2.3.0

Choose a tag to compare

@github-actions github-actions released this 06 Jul 06:22
· 324 commits to main since this release
e261a65

Worker v2.3.0

🚀 Interactive Installation - Automatically configures network settings during installation!

Quick Installation

# Download the appropriate package for your architecture
wget https://github.com/ehsaniara/worker/releases/download/v2.3.0/worker__amd64.deb

# Interactive installation (recommended)
sudo dpkg -i worker__amd64.deb

# Start the service
sudo systemctl start worker
sudo systemctl enable worker

Installation Options

🖥️ Interactive Mode (Default)

sudo dpkg -i worker__amd64.deb

Prompts for server IP address - the IP that clients will use to connect.

🤖 Automated Mode

# Pre-configured installation
WORKER_SERVER_IP="192.168.1.100" \
sudo -E dpkg -i worker__amd64.deb

🔧 CI/CD Mode

# Non-interactive installation (uses auto-detected IP)
DEBIAN_FRONTEND=noninteractive sudo dpkg -i worker__amd64.deb

Common Examples

Local Network:

WORKER_SERVER_IP="192.168.1.100" \
sudo -E dpkg -i worker__amd64.deb

Public IP:

WORKER_SERVER_IP="203.0.113.100" \
sudo -E dpkg -i worker__amd64.deb

Auto-detected (Default):

# Uses the IP from your primary network interface
sudo dpkg -i worker__amd64.deb

Post-Installation

Verification

# Verify checksums
sha256sum -c checksums.txt

# Check service status
sudo systemctl status worker

# Test CLI connection
worker-cli list

Reconfiguration

# Reconfigure network settings
sudo dpkg-reconfigure worker

# Or manually edit config and regenerate certificates
sudo nano /opt/worker/config/config.yml
sudo systemctl restart worker

What's New

  • Interactive installation asks for server IP address
  • Automatic certificate generation for the specified IP
  • Simplified configuration - just one IP address needed
  • Enhanced user experience with clear prompts
  • Support for both interactive and automated installation

Documentation

  • Installation Guide: See release notes above
  • Configuration: /opt/worker/config/server-config.yml
  • Configuration: /opt/worker/config/client-config.yml (for remote use)
  • Certificates: /opt/worker/certs/
  • Logs: sudo journalctl -u worker -f
  • CLI Help: worker-cli --help