* Added Alpine 3.21 to the jenkinsfile * Added Debian Trixe(13) to the jenkinsfile * Fixed broken cache script Alpine edge builds * Added Fedora (41) distro * Cleaned-up Debian.yaml
47 lines
1.7 KiB
JSON
47 lines
1.7 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
// When ran in a Proxmox CT, expose a folder mountpoint and symlink to it MOUNTPOINT/build/template/cache and tell Proxmox this use this folder for LXC images
|
|
"label": "BuildIMG",
|
|
"type": "shell",
|
|
"command": " export XZ_DEFAULTS='-T 0'; sudo ./distrobuilder build-lxc CT-Build/${input:Distro}.yaml -o image.release=${input:version} ;sudo chown $SUDO_USER:$SUDO_USER -R *.tar.xz ;rm -f meta.tar.xz; mv -f rootfs.tar.xz bin/${input:Distro}-${input:version}.tar.xz",
|
|
"problemMatcher": [],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "SetupImgBuilder",
|
|
"type": "shell",
|
|
"command": "mkdir bin;git clone https://github.com/lxc/distrobuilder distrobuilderSRC; cd distrobuilderSRC; gofmt -s -w .; go build -o ../ -v ./...; cd ../; rm -rf distrobuilderSRC",
|
|
"problemMatcher": [],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
}
|
|
],
|
|
"inputs": [
|
|
{
|
|
"id": "version",
|
|
"description": "Wich version shoud be build",
|
|
"type": "promptString"
|
|
},
|
|
{
|
|
"type": "pickString",
|
|
"id": "Distro",
|
|
"description": "Wich Distro shoud be used",
|
|
"options": [
|
|
"Debian",
|
|
"Alpine",
|
|
"Fedora"
|
|
],
|
|
"default": "Debian"
|
|
},
|
|
]
|
|
}
|