samples: add a collection of samples
These are meant to test the various assembers and stages and to show how pipelines can be created. However, they are not meant to necessarily be the best way to create any given image. Note that some of the pipelines are dependent on each other.
This commit is contained in:
parent
e9363f96ed
commit
73629185c0
5 changed files with 135 additions and 0 deletions
41
samples/base-qcow2.json
Normal file
41
samples/base-qcow2.json
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{
|
||||
"name": "base-qcow2",
|
||||
"stages": [
|
||||
{
|
||||
"name": "io.weldr.dnf",
|
||||
"systemResourcesFromEtc": ["/etc/pki"],
|
||||
"options": {
|
||||
"releasever": "29",
|
||||
"repos": {
|
||||
"fedora": {
|
||||
"name": "Fedora",
|
||||
"metalink": "https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch",
|
||||
"gpgkey": "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch"
|
||||
}
|
||||
},
|
||||
"packages": [
|
||||
"@Core",
|
||||
"grub2-pc"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "io.weldr.grub2",
|
||||
"systemResourcesFromEtc": ["/etc/grub.d"],
|
||||
"options": {
|
||||
"root_fs_uuid": "76a22bf4-f153-4541-b6c7-0332c0dfaeac",
|
||||
"partition_table_id": "0xdeadbeef"
|
||||
}
|
||||
}
|
||||
],
|
||||
"assembler":
|
||||
{
|
||||
"name": "io.weldr.qcow2",
|
||||
"systemResourcesFromEtc": ["/etc/grub.d"],
|
||||
"options": {
|
||||
"filename": "base.qcow2",
|
||||
"root_fs_uuid": "76a22bf4-f153-4541-b6c7-0332c0dfaeac",
|
||||
"partition_table_id": "0xdeadbeef"
|
||||
}
|
||||
}
|
||||
}
|
||||
17
samples/base-targz.json
Normal file
17
samples/base-targz.json
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"name": "base-targz",
|
||||
"stages": [
|
||||
{
|
||||
"name": "io.weldr.untree",
|
||||
"options": {
|
||||
"tree": "base"
|
||||
}
|
||||
}
|
||||
],
|
||||
"assembler": {
|
||||
"name": "io.weldr.targz",
|
||||
"options": {
|
||||
"filename": "base.tar.gz"
|
||||
}
|
||||
}
|
||||
}
|
||||
25
samples/base-with-grub2.json
Normal file
25
samples/base-with-grub2.json
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"name": "base-with-grub2",
|
||||
"stages": [
|
||||
{
|
||||
"name": "io.weldr.untree",
|
||||
"options": {
|
||||
"tree": "base"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "io.weldr.grub2",
|
||||
"systemResourcesFromEtc": ["/etc/grub.d"],
|
||||
"options": {
|
||||
"root_fs_uuid": "76a22bf4-f153-4541-b6c7-0332c0dfaeac",
|
||||
"partition_table_id": "0xdeadbeef"
|
||||
}
|
||||
}
|
||||
],
|
||||
"assembler": {
|
||||
"name": "io.weldr.tree",
|
||||
"options": {
|
||||
"tree": "base-with-grub2"
|
||||
}
|
||||
}
|
||||
}
|
||||
23
samples/base-with-locale.json
Normal file
23
samples/base-with-locale.json
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"name": "base-with-locale",
|
||||
"stages": [
|
||||
{
|
||||
"name": "io.weldr.untargz",
|
||||
"options": {
|
||||
"filename": "base.tar.gz"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "io.weldr.locale",
|
||||
"options": {
|
||||
"language": "en_US"
|
||||
}
|
||||
}
|
||||
],
|
||||
"assembler": {
|
||||
"name": "io.weldr.tree",
|
||||
"options": {
|
||||
"tree": "base-with-locale"
|
||||
}
|
||||
}
|
||||
}
|
||||
29
samples/base.json
Normal file
29
samples/base.json
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"name": "base",
|
||||
"stages": [
|
||||
{
|
||||
"name": "io.weldr.dnf",
|
||||
"systemResourcesFromEtc": ["/etc/pki"],
|
||||
"options": {
|
||||
"releasever": "29",
|
||||
"repos": {
|
||||
"fedora": {
|
||||
"name": "Fedora",
|
||||
"metalink": "https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch",
|
||||
"gpgkey": "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch"
|
||||
}
|
||||
},
|
||||
"packages": [
|
||||
"@Core"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"assembler":
|
||||
{
|
||||
"name": "io.weldr.tree",
|
||||
"options": {
|
||||
"tree": "base"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue