Simplify repo structure.
This commit is contained in:
1 parent
fd2484b561
commit
6ab810814d
30 files changed
+689
-32
No files matched your search
@@ -0,0 +1,115 @@
|
||||
version: '2'
|
||||
mpp-vars:
|
||||
name: container
|
||||
pipelines:
|
||||
- mpp-import-pipelines:
|
||||
path: include/build.ipp.yml
|
||||
- name: rootfs
|
||||
build: name:build
|
||||
stages:
|
||||
- type: org.osbuild.kernel-cmdline
|
||||
options:
|
||||
root_fs_uuid:
|
||||
mpp-eval: rootfs_uuid
|
||||
kernel_opts:
|
||||
mpp-eval: ''' '' .join(kernel_opts)'
|
||||
- type: org.osbuild.rpm
|
||||
options:
|
||||
gpgkeys:
|
||||
- mpp-eval: centos_gpg_key
|
||||
- mpp-eval: redhat_gpg_key
|
||||
disable_dracut: true
|
||||
inputs:
|
||||
packages:
|
||||
type: org.osbuild.files
|
||||
origin: org.osbuild.source
|
||||
mpp-depsolve:
|
||||
architecture: $arch
|
||||
ignore-weak-deps: true
|
||||
module-platform-id: $distro_module_id
|
||||
baseurl: $distro_baseurl/BaseOS/$arch/os/
|
||||
repos:
|
||||
mpp-join:
|
||||
- mpp-eval: distro_repos
|
||||
- mpp-eval: target_repos
|
||||
- mpp-eval: extra_repos
|
||||
- - id: copr-quadlet
|
||||
baseurl: https://download.copr.fedorainfracloud.org/results/alexl/quadlet/centos-stream-9-$arch/
|
||||
packages:
|
||||
mpp-join:
|
||||
- mpp-eval: base_rpms
|
||||
- mpp-eval: image_rpms
|
||||
- mpp-eval: extra_rpms
|
||||
- - podman
|
||||
- quadlet
|
||||
- curl
|
||||
excludes:
|
||||
- dracut-config-rescue
|
||||
- type: org.osbuild.copy
|
||||
inputs:
|
||||
inlinefile:
|
||||
type: org.osbuild.files
|
||||
origin: org.osbuild.source
|
||||
mpp-embed:
|
||||
id: storage.conf
|
||||
path: ../files/storage.conf
|
||||
options:
|
||||
paths:
|
||||
- from:
|
||||
mpp-format-string: input://inlinefile/{embedded['storage.conf']}
|
||||
to: tree:///etc/containers/storage.conf
|
||||
- type: org.osbuild.copy
|
||||
inputs:
|
||||
inlinefile:
|
||||
type: org.osbuild.files
|
||||
origin: org.osbuild.source
|
||||
mpp-embed:
|
||||
id: containers.conf
|
||||
path: ../files/containers.conf
|
||||
options:
|
||||
paths:
|
||||
- from:
|
||||
mpp-format-string: input://inlinefile/{embedded['containers.conf']}
|
||||
to: tree:///etc/containers/containers.conf
|
||||
- type: org.osbuild.skopeo
|
||||
inputs:
|
||||
images:
|
||||
type: org.osbuild.containers
|
||||
origin: org.osbuild.source
|
||||
mpp-resolve-images:
|
||||
images:
|
||||
- source: docker.io/library/ros
|
||||
tag: noetic-ros-core
|
||||
name: localhost/ros:noetic-ros-core
|
||||
options:
|
||||
destination:
|
||||
type: containers-storage
|
||||
storage-path: /usr/share/containers/storage
|
||||
- type: org.osbuild.mkdir
|
||||
options:
|
||||
paths:
|
||||
- path: /etc/containers/systemd
|
||||
parents: true
|
||||
- type: org.osbuild.copy
|
||||
inputs:
|
||||
inlinefile:
|
||||
type: org.osbuild.files
|
||||
origin: org.osbuild.source
|
||||
mpp-embed:
|
||||
id: ros-core.container
|
||||
path: ../files/ros-core.container
|
||||
options:
|
||||
paths:
|
||||
- from:
|
||||
mpp-format-string: input://inlinefile/{embedded['ros-core.container']}
|
||||
to: tree:///etc/containers/systemd/ros-core.container
|
||||
- type: org.osbuild.locale
|
||||
options:
|
||||
language: en_US.UTF-8
|
||||
- type: org.osbuild.systemd
|
||||
options:
|
||||
enabled_services:
|
||||
- NetworkManager.service
|
||||
- rngd.service
|
||||
- mpp-import-pipelines:
|
||||
path: include/image.ipp.yml
|
||||
@@ -0,0 +1,62 @@
|
||||
version: '2'
|
||||
mpp-vars:
|
||||
name: minimal
|
||||
pipelines:
|
||||
- mpp-import-pipelines:
|
||||
path: include/build.ipp.yml
|
||||
- name: rootfs
|
||||
build: name:build
|
||||
stages:
|
||||
- type: org.osbuild.kernel-cmdline
|
||||
options:
|
||||
root_fs_uuid:
|
||||
mpp-eval: rootfs_uuid
|
||||
kernel_opts:
|
||||
mpp-eval: ''' '' .join(kernel_opts)'
|
||||
- type: org.osbuild.rpm
|
||||
options:
|
||||
gpgkeys:
|
||||
- mpp-eval: centos_gpg_key
|
||||
- mpp-eval: redhat_gpg_key
|
||||
disable_dracut: true
|
||||
exclude:
|
||||
docs: true
|
||||
inputs:
|
||||
packages:
|
||||
type: org.osbuild.files
|
||||
origin: org.osbuild.source
|
||||
mpp-depsolve:
|
||||
architecture: $arch
|
||||
ignore-weak-deps: true
|
||||
module-platform-id: $distro_module_id
|
||||
baseurl: $distro_baseurl/BaseOS/$arch/os/
|
||||
repos:
|
||||
mpp-join:
|
||||
- mpp-eval: distro_repos
|
||||
- mpp-eval: target_repos
|
||||
- mpp-eval: extra_repos
|
||||
- []
|
||||
packages:
|
||||
mpp-join:
|
||||
- mpp-eval: base_rpms
|
||||
- mpp-eval: image_rpms
|
||||
- mpp-eval: extra_rpms
|
||||
- []
|
||||
excludes:
|
||||
- dracut-config-rescue
|
||||
- type: org.osbuild.locale
|
||||
options:
|
||||
language: en_US.UTF-8
|
||||
- type: org.osbuild.users
|
||||
options:
|
||||
users:
|
||||
guest:
|
||||
password:
|
||||
mpp-eval: guest_password
|
||||
- type: org.osbuild.systemd
|
||||
options:
|
||||
enabled_services:
|
||||
- NetworkManager.service
|
||||
- rngd.service
|
||||
- mpp-import-pipelines:
|
||||
path: include/image.ipp.yml
|
||||
Reference in new issue
Block a user