Added Mysql CT

This commit is contained in:
2021-09-18 00:10:15 +00:00
parent 23ff5d6408
commit 5bab220db2
22 changed files with 692 additions and 8 deletions

45
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,45 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "BuildIMG",
"type": "shell",
"command": " export XZ_DEFAULTS='-T 0'; ./distrobuilder build-lxc CT-Build/${input:Distro}.yaml -o image.variant=${input:BuildVariant} ;rm -f meta.tar.xz; mv ./rootfs.tar.xz /build/template/cache/${input:Distro}-${input:BuildVariant}.tar.xz",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "SetupImgBuilder",
"type": "shell",
"command": "git clone https://github.com/lxc/distrobuilder distrobuilderSRC; cd distrobuilderSRC; gofmt -s -w .; go build -o ../ -v ./...; cd ../; rm -rf distrobuilderSRC ; bash Scripts/GetExternalResources.sh",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
}
],
"inputs": [
{
"id": "BuildVariant",
"description": "Wich Variant shoud be build",
"type": "promptString"
},
{
"type": "pickString",
"id": "Distro",
"description": "Wich Distro shoud be used",
"options": [
"Debian",
"Alpine",
"OtherTesting"
],
"default": "Debian"
},
]
}