feat: start of agent code

This commit is contained in:
Jef Roosens 2022-12-06 13:50:25 +01:00
parent 9e11237ff9
commit 6281ef7607
Signed by untrusted user: Jef Roosens
GPG key ID: B75D4F293C7052DB
5 changed files with 133 additions and 0 deletions

View file

@ -16,6 +16,16 @@ const (
'/usr/local/bin', '/usr/bin/site_perl', '/usr/bin/vendor_perl', '/usr/bin/core_perl']
)
pub struct BuildConfig {
pub:
id int
kind string
url string
branch string
repo string
base_image string
}
// create_build_image creates a builder image given some base image which can
// then be used to build & package Arch images. It mostly just updates the
// system, install some necessary packages & creates a non-root user to run