tmt: Use declarative syntax for package dependencies
This makes things just a bit cleaner.
This commit is contained in:
parent
9bd4af2286
commit
94956e7750
4 changed files with 56 additions and 4 deletions
|
@ -1,10 +1,23 @@
|
|||
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:
|
||||
how: shell
|
||||
tests:
|
||||
- name: build image
|
||||
test: |
|
||||
dnf --assumeyes install fatcat git-core kiwi distribution-gpg-keys p7zip-plugins python3-boto3 zip zstd libselinux-utils rpmdistro-repoquery
|
||||
setenforce 0
|
||||
$TMT_TREE/builder.py build gnome
|
||||
$TMT_TREE/builder.py package gnome
|
||||
|
|
|
@ -1,10 +1,23 @@
|
|||
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:
|
||||
how: shell
|
||||
tests:
|
||||
- name: build image
|
||||
test: |
|
||||
dnf --assumeyes install fatcat git-core kiwi distribution-gpg-keys p7zip-plugins python3-boto3 zip zstd libselinux-utils rpmdistro-repoquery
|
||||
setenforce 0
|
||||
$TMT_TREE/builder.py build kde
|
||||
$TMT_TREE/builder.py package kde
|
||||
|
|
|
@ -1,10 +1,23 @@
|
|||
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:
|
||||
how: shell
|
||||
tests:
|
||||
- name: build image
|
||||
test: |
|
||||
dnf --assumeyes install fatcat git-core kiwi distribution-gpg-keys p7zip-plugins python3-boto3 zip zstd libselinux-utils rpmdistro-repoquery
|
||||
setenforce 0
|
||||
$TMT_TREE/builder.py build minimal
|
||||
$TMT_TREE/builder.py package minimal
|
||||
|
|
|
@ -1,10 +1,23 @@
|
|||
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:
|
||||
how: shell
|
||||
tests:
|
||||
- name: build image
|
||||
test: |
|
||||
dnf --assumeyes install fatcat git-core kiwi distribution-gpg-keys p7zip-plugins python3-boto3 zip zstd libselinux-utils rpmdistro-repoquery
|
||||
setenforce 0
|
||||
$TMT_TREE/builder.py build server
|
||||
$TMT_TREE/builder.py package server
|
||||
|
|
Loading…
Reference in a new issue