scopas

command module
v0.0.0-...-39260ae Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

README

Scopas

Linux kernel build infrastructure for developers.

Scopes is a tool to build Linux kernels locally or remotely. It handles provisioning remote infrastructure in the Cloud, making it ideal for developers that don't own or want noisy build servers in their homes.

The number one rule is that it is designed to be fast.

Because the primary use case is use cloud computing platforms to build kernels, every second spent deploying machines and building the kernel costs money.

It's also light on dependencies so that it can be installed on a fresh system without having to wait for software to install.

Limitations

The current implementation is a proof of concept, and is hilariously tied to the Linode cloud. Even the configuration file syntax (described below) is based on the Linode API.

The plan is to remove these limitations in the future.

Configuration

Scopas will look for its configuration file in ~/.scopas. Here are the supported keywords (all are required):

  • API_TOKEN - Linode API token
  • INSTANCE_TYPE - Linode instance type
  • INSTANCE_IMAGE - Linode image type
  • INSTANCE_REGION - Linode data center region
  • BUILDER_NAME - Name of the builder Linode
  • SSH_KEY_PATH - Path to the SSH key for the Linode builder

Example configuration file

Here's an example configuration to use a g6-dedicated-1 Linode running openSUSE 15.1:

API_TOKEN=abc1234...
INSTANCE_TYPE=g6-dedicated-1
INSTANCE_IMAGE=linode/opensuse15.1
INSTANCE_REGION=eu-west
BUILDER_NAME=builder
SSH_KEY_PATH=/home/matt/.ssh/id_rsa.linode.pub

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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