forked from sig_core/toolkit
Neil Hanlon
4bf6fb6618
* use a flag to determine if we want an RC or not * Convert rldict and sigdict to an AttributeDict to allow access via __getattr__ * add fedora_release variable to configs for controlling icicle templates * build_image.py script to generate per-architecture XML files used by imagefactory * refactor time to call utcnow() once * add jinja types to development dependencies until we move past jinja 2.x * Generate TDL templates per architecture for each image variant on demand * Generate imagefactory and copy commands to execute image build * Refactor Kubernetes job template to be generic for all current jobs
22 lines
828 B
Cheetah
22 lines
828 B
Cheetah
<template>
|
|
<name>Rocky-{{major}}-{{type}}-{{version_variant}}.{{iso8601date}}.{{release}}.{{architecture}}</name>
|
|
<os>
|
|
<name>Fedora</name>
|
|
<version>{{fedora_version}}</version>
|
|
<arch>{{architecture}}</arch>
|
|
<install type='url'>
|
|
<url>https://dl.rockylinux.org/stg/rocky/{{major}}/BaseOS/{{architecture}}/{{installdir}}/</url>
|
|
</install>
|
|
<icicle>
|
|
<extra_command>rpm -qa --qf '%{NAME},%{VERSION},%{RELEASE},%{ARCH},%{EPOCH},%{SIZE},%{SIGMD5},%{BUILDTIME}
|
|
'</extra_command>
|
|
</icicle>
|
|
</os>
|
|
<description>Rocky-{{major}}-{{type}}-{{version_variant}}.{{iso8601date}}.{{release}}.{{architecture}} Generated on {{utcnow}}</description>
|
|
<disk>
|
|
<size>{{size}}</size>
|
|
</disk>
|
|
</template>
|
|
|
|
|