tmt: Use declarative syntax for package dependencies
This makes things just a bit cleaner.
This commit is contained in:
parent
9bd4af2286
commit
94956e7750
@ -1,10 +1,23 @@
|
|||||||
summary: Build GNOME image
|
summary: Build GNOME image
|
||||||
|
prepare:
|
||||||
|
- name: install packages
|
||||||
|
how: install
|
||||||
|
package:
|
||||||
|
- distribution-gpg-keys
|
||||||
|
- fatcat
|
||||||
|
- git-core
|
||||||
|
- kiwi
|
||||||
|
- libselinux-utils
|
||||||
|
- p7zip-plugins
|
||||||
|
- python3-boto3
|
||||||
|
- rpmdistro-repoquery
|
||||||
|
- zip
|
||||||
|
- zstd
|
||||||
discover:
|
discover:
|
||||||
how: shell
|
how: shell
|
||||||
tests:
|
tests:
|
||||||
- name: build image
|
- name: build image
|
||||||
test: |
|
test: |
|
||||||
dnf --assumeyes install fatcat git-core kiwi distribution-gpg-keys p7zip-plugins python3-boto3 zip zstd libselinux-utils rpmdistro-repoquery
|
|
||||||
setenforce 0
|
setenforce 0
|
||||||
$TMT_TREE/builder.py build gnome
|
$TMT_TREE/builder.py build gnome
|
||||||
$TMT_TREE/builder.py package gnome
|
$TMT_TREE/builder.py package gnome
|
||||||
|
@ -1,10 +1,23 @@
|
|||||||
summary: Build KDE image
|
summary: Build KDE image
|
||||||
|
prepare:
|
||||||
|
- name: install packages
|
||||||
|
how: install
|
||||||
|
package:
|
||||||
|
- distribution-gpg-keys
|
||||||
|
- fatcat
|
||||||
|
- git-core
|
||||||
|
- kiwi
|
||||||
|
- libselinux-utils
|
||||||
|
- p7zip-plugins
|
||||||
|
- python3-boto3
|
||||||
|
- rpmdistro-repoquery
|
||||||
|
- zip
|
||||||
|
- zstd
|
||||||
discover:
|
discover:
|
||||||
how: shell
|
how: shell
|
||||||
tests:
|
tests:
|
||||||
- name: build image
|
- name: build image
|
||||||
test: |
|
test: |
|
||||||
dnf --assumeyes install fatcat git-core kiwi distribution-gpg-keys p7zip-plugins python3-boto3 zip zstd libselinux-utils rpmdistro-repoquery
|
|
||||||
setenforce 0
|
setenforce 0
|
||||||
$TMT_TREE/builder.py build kde
|
$TMT_TREE/builder.py build kde
|
||||||
$TMT_TREE/builder.py package kde
|
$TMT_TREE/builder.py package kde
|
||||||
|
@ -1,10 +1,23 @@
|
|||||||
summary: Build Minimal image
|
summary: Build Minimal image
|
||||||
|
prepare:
|
||||||
|
- name: install packages
|
||||||
|
how: install
|
||||||
|
package:
|
||||||
|
- distribution-gpg-keys
|
||||||
|
- fatcat
|
||||||
|
- git-core
|
||||||
|
- kiwi
|
||||||
|
- libselinux-utils
|
||||||
|
- p7zip-plugins
|
||||||
|
- python3-boto3
|
||||||
|
- rpmdistro-repoquery
|
||||||
|
- zip
|
||||||
|
- zstd
|
||||||
discover:
|
discover:
|
||||||
how: shell
|
how: shell
|
||||||
tests:
|
tests:
|
||||||
- name: build image
|
- name: build image
|
||||||
test: |
|
test: |
|
||||||
dnf --assumeyes install fatcat git-core kiwi distribution-gpg-keys p7zip-plugins python3-boto3 zip zstd libselinux-utils rpmdistro-repoquery
|
|
||||||
setenforce 0
|
setenforce 0
|
||||||
$TMT_TREE/builder.py build minimal
|
$TMT_TREE/builder.py build minimal
|
||||||
$TMT_TREE/builder.py package minimal
|
$TMT_TREE/builder.py package minimal
|
||||||
|
@ -1,10 +1,23 @@
|
|||||||
summary: Build Server image
|
summary: Build Server image
|
||||||
|
prepare:
|
||||||
|
- name: install packages
|
||||||
|
how: install
|
||||||
|
package:
|
||||||
|
- distribution-gpg-keys
|
||||||
|
- fatcat
|
||||||
|
- git-core
|
||||||
|
- kiwi
|
||||||
|
- libselinux-utils
|
||||||
|
- p7zip-plugins
|
||||||
|
- python3-boto3
|
||||||
|
- rpmdistro-repoquery
|
||||||
|
- zip
|
||||||
|
- zstd
|
||||||
discover:
|
discover:
|
||||||
how: shell
|
how: shell
|
||||||
tests:
|
tests:
|
||||||
- name: build image
|
- name: build image
|
||||||
test: |
|
test: |
|
||||||
dnf --assumeyes install fatcat git-core kiwi distribution-gpg-keys p7zip-plugins python3-boto3 zip zstd libselinux-utils rpmdistro-repoquery
|
|
||||||
setenforce 0
|
setenforce 0
|
||||||
$TMT_TREE/builder.py build server
|
$TMT_TREE/builder.py build server
|
||||||
$TMT_TREE/builder.py package server
|
$TMT_TREE/builder.py package server
|
||||||
|
Loading…
Reference in New Issue
Block a user