Remotebuild

command module
v0.0.0-...-49c1bf7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2020 License: GPL-3.0 Imports: 18 Imported by: 0

README

Remotebuild

Compile applications, packages, repositories remotely.

Supported build types

  • AUR packages

Requirements

  • PostgresSql database (recommended)
  • Docker

Compile

make build

Concept

  • You have one build server/VM where the server app needs to be up and running
  • Use the client to create/control jobs
  • A job exists of two sub types of jobs: Build job and Upload Job
  • Only one job can be run at the same time

Setup

  • Install docker
  • Install PostgreSql (recommended)
./main config create # Create an empty config

Fill out the database section. For help refer to here

Database

You can use PostgreSQL or Sqlite. Sqlite should only be used for debugging/testing purposes.
Example of a recommended database setup:

[...]
database:
  databasetype: postgres
  host: localhost
  username: "rbuild"
  database: "rbuild"
  pass: "mysecretpassword"
  databaseport: 5432
  sslmode: require
[...]

If you just want to test it and don't have a running PostgreSQL server, you can use following database config:

[...]
database:
  databasetype: sqlite
  databesFile: "testdb.db"
[...]

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL