5 Commits

Author SHA1 Message Date
ef0253444e feat(k8s/metallb-*): add metallb images 2025-10-28 18:20:28 +03:00
Nadezhda Fedorova
e2cbdbbfeb make version_template for every image - list type (for vers-checker) 2025-10-16 16:43:43 +03:00
Nadezhda Fedorova
77ddff82da fix(.gitea/workflows/wf_multiple.yaml): fix setting arches fo rbuilding 2025-10-16 16:41:10 +03:00
bc393cf9bf style: clean up whitespace 2025-10-16 14:43:58 +03:00
1e175655f0 fix(build.py): don't use the same quotes in f-strings
This feature is only supported from python 3.12 onwards.
Since it is easy enough for now, we support python 3.9.

Link: https://docs.python.org/3.12/whatsnew/3.12.html#pep-701-syntactic-formalization-of-f-strings
2025-10-16 14:32:23 +03:00
68 changed files with 256 additions and 110 deletions

View File

@@ -67,7 +67,7 @@ def main() -> None:
packs_string=f"-o k8s --latest {args.branch} "+packs_string
else:
packs_string=f"-i {images_to_rebuild} "+packs_string
print(f'Run build command: {args.workspace}/build.py {args.other_build_args} {packs_string}')
subprocess.run(f"{args.workspace}/build.py {args.other_build_args} {packs_string}", shell=True)
subprocess.run("podman rmi -f --all", shell=True)

View File

@@ -6,12 +6,12 @@
{
"kube-version": "1.27",
"coredns": "0",
"etcd": "3.5.15"
"etcd": "3.5.15"
},
{
"kube-version": "1.28",
"coredns": "0",
"etcd": "3.5.16",
"etcd": "3.5.16",
"latest": true
}
]
@@ -22,30 +22,30 @@
{
"kube-version": "1.31",
"coredns": "1.11.3"
},
},
{
"kube-version": "1.32",
"coredns": "1.11.3"
},
{
"kube-version": "1.33",
},
{
"kube-version": "1.33",
"coredns": "1.33",
"latest": true
}
}
]
},
{
"name": "c10f2",
"versions": [
{
"name": "c10f2",
"versions": [
{
"kube-version": "1.31",
"coredns": "1.11.3"
},
{
"coredns": "1.11.3"
},
{
"kube-version": "1.32",
"coredns": "1.11.3"
},
{
},
{
"kube-version": "1.33",
"coredns": "1.33",
"latest": true
@@ -55,15 +55,15 @@
{
"name": "sisyphus",
"versions": [
{
{
"kube-version": "1.31",
"coredns": "1.11.3"
},
{
"kube-version": "1.32",
"coredns": "1.11.3"
},
{
},
{
"kube-version": "1.33",
"coredns": "1.33",
"latest": true

View File

@@ -15,13 +15,13 @@ wosp=${5:-"."}
errors=''
haserr=false
for IM in $(ls $wosp/org/$org/ | xargs)
do
do
echo "image=$IM"
if test -f $wosp/org/$org/$IM/test
then
then
test=$(cat $wosp/org/$org/$IM/test)
else test=''
fi
fi
echo "test script=$test"
imgpath="$repo/$branch/$IM:latest"
@@ -38,40 +38,40 @@ do
if [ "$IM" = distroless-true ]; then
command="podman run -q --rm $url/$imgpath \"true\""
fi
if [ "$IM" = distroless-gotop ]; then
if [ "$IM" = distroless-gotop ]; then
command="podman run -q --rm $url/$imgpath \"--version\""
fi
fi
if [ "$IM" = flannel-cni-plugin ]; then
command="podman run -q --rm $url/$imgpath \"/flannel\""
fi
if [ "$IM" == pause ]; then
if [ "$IM" == pause ]; then
command="podman run -q --rm $url/$imgpath \"/pause\" \"-v\""
fi
fi
fi
echo $command
eval $command 2>$IM.log
if [ "$(echo $?)" == "0" ]; then
rm -rf $IM.log ||:
rm -rf $IM.log ||:
else
haserr=true
haserr=true
fi
echo "podman rmi --all"
podman rmi --all
if $haserr
then
then
if [ -f $IM.log ]
then errors="TEST ERROR OF IMAGE $IM: $(cat $IM.log)\n $errors"
#else errors="TEST ERROR OF IMAGE $IM: test returned empty error, but exit status was nozero; $errors"
fi
fi
fi
fi
haserr=false
done
echo "$errors"
if [ -n "$errors" ]
then haserr=true
then haserr=true
fi
echo "ERR=$haserr" > haserr.log
echo $errors > errors.log

View File

@@ -82,9 +82,9 @@ jobs:
#build base with riskv64 for sisyphus if it is
if [[ "$BR" == "sisyphus" && "$ORG" == "base" ]]; then echo "${{ gitea.workspace }}/build.py -i base/base -b $BR --latest $BR --registry $BUILD_URL"; ${{ gitea.workspace }}/build.py -i base/base -b "$BR" --latest "$BR" --registry "$BUILD_URL"; fi
build_args="-b $BR --log-level debug --latest $BR -o $ORG --registry $BUILD_URL"
if [[ "$BR" == "sisyphus" ]]; then arches="--arches amd64 386 arm64 loong64 --skip-images base/base"; else arches="--arches amd64 386 arm64"; fi
if [[ "$BR" == "sisyphus" ]]; then arches="--arches amd64 386 arm64 loong64 --skip-images base/base"; else arches="--arches amd64 386 arm64"; fi
echo "${{ gitea.workspace }}/build.py $build_args $arches"
${{ gitea.workspace }}/build.py $build_args $arches
${{ gitea.workspace }}/build.py $build_args $arches
env:
ORG: ${{ inputs.group }}
BR: ${{ inputs.branch }}

View File

@@ -88,4 +88,3 @@ jobs:
bot_token: ${{ secrets.TELEGRAM_BOT }}
channel_id: ${{ secrets.TELEGRAM_CHANNEL }}
message: "Building of images org/k8s for branch ${{ inputs.branch }} is failed"

View File

@@ -13,7 +13,7 @@ on:
- p11
- c10f2
images:
description: 'Json containing images with version to build it'
description: 'Json containing images with version to build it'
required: true
type: string
@@ -37,7 +37,7 @@ jobs:
GU: ${{ gitea.server_url }}
GR: ${{ gitea.repository }}
- name: Check inputs
run: |
run: |
echo "${{ inputs.images }}"
echo "${{ inputs.branch }}"
- name: Update apt
@@ -57,7 +57,7 @@ jobs:
declare -A versions
ims=$(echo $IMS | jq -c -r '.[]')
for im in ${ims[@]}; do
for im in ${ims[@]}; do
image=$(echo $im | jq -r .name)
version=$(echo $im | jq -r .version)
images+=("$image")
@@ -97,7 +97,7 @@ jobs:
- name: Set repo for c10f2 (Temporary)
if: ${{ contains(github.ref_name, 'c10f2') }}
run: |
echo "event tag=${{ github.ref_name }}"
echo "event tag=${{ github.ref_name }}"
echo "10.4.0.3 update.altsp.su" >> /etc/hosts
echo "cat /etc/hosts"
cat /etc/hosts
@@ -111,7 +111,7 @@ jobs:
- name: Run building script
id: build-script
run: |
if [[ "$BRANCH" == "sisyphus" ]]; then arches="--arches amd64 386 arm64 loong64"; else arches="--arches amd64 386 arm64"; fi
if [[ "$BRANCH" == "sisyphus" ]]; then arches="amd64 386 arm64 loong64"; else arches="amd64 386 arm64"; fi
echo "${{ gitea.workspace }}/build.py \
--log-level debug \
--skip-stages push \
@@ -120,7 +120,7 @@ jobs:
--arches $arches \
-i $IMAGES \
--package-versions \"$PACKAGE_VERSIONS\""
${{ gitea.workspace }}/build.py \
--log-level debug \
--skip-stages push \
@@ -128,7 +128,7 @@ jobs:
--registry $BUILD_URL \
--arches $arches \
-i $IMAGES \
--package-versions "$PACKAGE_VERSIONS"
--package-versions "$PACKAGE_VERSIONS"
echo "start update latest tag"
for im in $IMAGES; do \

View File

@@ -35,7 +35,7 @@ jobs:
echo "URL=$repourl" >> ${GITHUB_ENV}
echo "URL=$repourl"
reponame=$(echo $GR | cut -d '/' -f 1)
echo "REPO=$reponame" >> ${GITHUB_ENV}
echo "REPO=$reponame" >> ${GITHUB_ENV}
echo "REPO=$reponame"
echo "BRANCH=${{ inputs.branch }}"
echo "IMAGE=${{ inputs.image }}"
@@ -62,7 +62,7 @@ jobs:
- name: Login podman gitea
run: |
echo "podman login ${{ env.URL }}"
podman login --username $P_USER --password $P_PASS ${{ env.URL }}
podman login --username $P_USER --password $P_PASS ${{ env.URL }}
env:
P_USER: ${{ secrets.PODMAN_USER }}
P_PASS: ${{ secrets.PODMAN_PASS }}
@@ -90,7 +90,7 @@ jobs:
if [[ "$IM" == *"k8s"* ]]; then k8sarg="--package-versions {\"$IM\":\"$VER\"}"; else k8sarg=""; fi
if [[ "$BR" == "sisyphus" ]]; then arches="--arches amd64 386 arm64 loong64"; else arches="--arches amd64 386 arm64"; fi
echo "build.py -i $IM -b $BR $arches --latest $BR --log-level debug --registry $BUILD_URL $k8sarg"
${{ gitea.workspace }}/build.py -i $IM -b $BR $arches --latest $BR --log-level debug --registry $BUILD_URL $k8sarg
${{ gitea.workspace }}/build.py -i $IM -b $BR $arches --latest $BR --log-level debug --registry $BUILD_URL $k8sarg
env:
IM: ${{ inputs.image }}
VER: ${{ inputs.version }}
@@ -114,7 +114,7 @@ jobs:
- name: Install requires
run: |
echo "apt-get install -y python3-module-tomli python3-module-jinja2 podman buildah curl golang"
apt-get install -y python3-module-tomli python3-module-jinja2 podman buildah curl golang
apt-get install -y python3-module-tomli python3-module-jinja2 podman buildah curl golang
- name: Run test
id: test-script
if: ${{ needs.build-process.outputs.test != '' }}
@@ -123,9 +123,9 @@ jobs:
imname=$(echo "$IM" | cut -d "/" -f2)
if [[ "$IM" == *"k8s"* ]]; then echo "skip tests for k8s images"; else podman run --rm --entrypoint="/bin/sh" $URL/$REPO/$BR/$imname:latest -c "$TEST"; fi
env:
IM: ${{ inputs.image }}
IM: ${{ inputs.image }}
BR: ${{ inputs.branch }}
URL: ${{ needs.build-process.outputs.url }}
URL: ${{ needs.build-process.outputs.url }}
REPO: ${{ needs.build-process.outputs.repo }}
TEST: ${{ needs.build-process.outputs.test }}
- name: Run special test
@@ -141,4 +141,3 @@ jobs:
BR: ${{ inputs.branch }}
URL: ${{ needs.build-process.outputs.url }}
REPO: ${{ needs.build-process.outputs.repo }}

View File

@@ -799,7 +799,7 @@ class DockerBuilder:
f"--annotation={akey}={avalue}")
d = datetime.now()
build_cmd.append(f"--annotation=org.opencontainers.image.created={d.isoformat("T") + "Z"}")
build_cmd.append(f"--annotation=org.opencontainers.image.created={d.isoformat('T') + 'Z'}")
ver = next((tag for tag in tags if tag != 'latest'), '')
if ver != '':

View File

@@ -22,6 +22,18 @@ skip-branches = [ "c10f1", "p10" ]
["k8s/metrics-server"]
skip-branches = [ "c10f1", "c10f2", "p11", "p10" ]
["k8s/metallb-controller"]
skip-arches = [ "386" ]
skip-branches = [ "c10f1", "c10f2", "p11", "p10" ]
["k8s/metallb-speaker"]
skip-arches = [ "386" ]
skip-branches = [ "c10f1", "c10f2", "p11", "p10" ]
["k8s/metallb-configmaptocrs"]
skip-arches = [ "386" ]
skip-branches = [ "c10f1", "c10f2", "p11", "p10" ]
["kubevirt/virt-api"]
skip-arches = [ "386", "loong64" ]

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- ansible-core
- ansible-vim

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- apache2
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- buildkit
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- gitea
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- golang
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- grafana
annotations:

View File

@@ -5,7 +5,7 @@ Command for run kafka server:
podman run --rm -it -p 9092:9092 <REGISTRY>/<BRANCH>/kafka:latest
```
To lead images running need use kafka-entrypoint.sh or change it. As default login kafka need runnig zookeeper and than kafka's start script.
To lead images running need use kafka-entrypoint.sh or change it. As default login kafka need runnig zookeeper and than kafka's start script.
Commnad for using kafka:
```
@@ -18,7 +18,7 @@ Created topic quickstart-events.
```
sh-5.2$ /usr/lib/kafka/bin/kafka-topics.sh --describe --topic quickstart-events --bootstrap-server localhost:9092
```
Topic: quickstart-events TopicId: kPjhCFFAS-Sg5J3Hpgr-PA PartitionCount: 1 ReplicationFactor: 1 Configs:
Topic: quickstart-events TopicId: kPjhCFFAS-Sg5J3Hpgr-PA PartitionCount: 1 ReplicationFactor: 1 Configs:
Topic: quickstart-events Partition: 0 Leader: 0 Replicas: 0 Isr: 0 Elr: N/A LastKnownElr: N/A
```
sh-5.2$ /usr/lib/kafka/bin/kafka-console-producer.sh --topic quickstart-events --bootstrap-server localhost:9092

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- kafka
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- loki
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- nginx
- apache2

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- node
- yarn

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- java-21-openjdk
annotations:

View File

@@ -14,9 +14,9 @@ LABEL org.opencontainers.image.vendor="ALT Linux Team"
"php8.2-xdebug",
) }}
{% elif branch == 'c10f2' %}
{{ install_packages(
"php8.3",
"php8.3-xdebug",
{{ install_packages(
"php8.3",
"php8.3-xdebug",
) }}
{% else %}
{{ install_packages(

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- >
{%- if branch in ["p10", "c10f1"] -%}

View File

@@ -1,7 +1,7 @@
FROM {{ registry }}{{ branch }}/base:latest
MAINTAINER alt-cloud
LABEL org.opencontainers.image.title="postgresql16"
LABEL org.opencontainers.image.description="PostgreSQL rograms and libraries"
LABEL org.opencontainers.image.source="https://github.com/postgres/postgres"

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- >
{%- if branch in ["c10f2"] -%}

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- prometheus-alertmanager
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- prometheus-node_exporter
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- prometheus
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- python3
- python3-module-setuptools

View File

@@ -1,7 +1,7 @@
FROM {{ registry }}{{ branch }}/base:latest
MAINTAINER alt-cloud
LABEL org.opencontainers.image.title="python"
LABEL org.opencontainers.image.description="Python 2 and tools needed for development"
LABEL org.opencontainers.image.source="https://www.python.org/downloads/source"
@@ -9,9 +9,9 @@ LABEL org.opencontainers.image.licenses="Python-2.0"
LABEL org.opencontainers.image.vendor="ALT Linux Team"
{{ install_packages(
"python-module-setuptools",
"python-dev",
"python-module-setuptools",
"python-dev",
"gcc",
) }}
CMD ["python2"]
CMD ["python2"]

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- python
- python-module-setuptools

View File

@@ -1,13 +1,13 @@
FROM {{ registry }}{{ branch }}/base:latest
MAINTAINER alt-cloud
LABEL org.opencontainers.image.title="rabbitmq"
LABEL org.opencontainers.image.description="The RabbitMQ server"
LABEL org.opencontainers.image.source="https://github.com/rabbitmq/rabbitmq-server"
LABEL org.opencontainers.image.licenses="MPL-1.1"
LABEL org.opencontainers.image.vendor="ALT Linux Team"
{{ install_packages("rabbitmq-server") }}
USER rabbitmq

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- rabbitmq-server
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- redis
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- docker-registry
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- >
{%- if branch in ["p10", "c10f2", "c10f1"] -%}

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- systemd
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- trivy
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- unit
- curl

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- zot
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: v{{ version }}
version_template:
- v{{ version }}
source_packages:
- cert-manager
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: v{{ version }}
version_template:
- v{{ version }}
source_packages:
- cert-manager
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: v{{ version }}
version_template:
- v{{ version }}
source_packages:
- cert-manager
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: v{{ version }}
version_template:
- v{{ version }}
source_packages:
- cert-manager
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: v{{ version }}
version_template:
- v{{ version }}
source_packages:
- cert-manager
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: v{{ version }}
version_template:
- v{{ version }}
source_packages:
- >
{%- set num_version_parts = (version.split('.') | length) -%}

View File

@@ -4,7 +4,7 @@ version_template:
- "v{{ version }}"
- "{{ version }}"
- "{{ version }}-0"
source_packages:
source_packages:
- >
{%- if branch in ["p10"] -%}
etcd{{ version }}

View File

@@ -1,5 +1,6 @@
is_versioned: true
version_template: v{{ version }}
version_template:
- v{{ version }}
source_packages:
- flannel
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: v{{ version }}
version_template:
- v{{ version }}
source_packages:
- kubernetes{{ version }}
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: v{{ version }}
version_template:
- v{{ version }}
source_packages:
- kubernetes{{ version }}
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: v{{ version }}
version_template:
- v{{ version }}
source_packages:
- kubernetes{{ version }}
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: v{{ version }}
version_template:
- v{{ version }}
source_packages:
- kubernetes{{ version }}
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: v{{ version }}
version_template:
- v{{ version }}
source_packages:
- kubernetes{{ version }}
annotations:

View File

@@ -0,0 +1,13 @@
FROM {{ registry }}{{ branch }}/{{ alt_image }}:latest
{{ install_packages("metallb") }}
RUN ln -s /usr/bin/configmaptocrs /configmaptocrs
ENTRYPOINT ["/configmaptocrs"]
LABEL org.opencontainers.image.title="metallb-configmaptocrs" \
org.opencontainers.image.description="Metallb Configmap to CRs converter" \
org.opencontainers.image.source="https://github.com/metallb/metallb" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.vendor="ALT Linux Team"

View File

@@ -0,0 +1,16 @@
---
is_versioned: true
version_template:
- v{{ version }}
source_packages:
- metallb
annotations:
org.opencontainers.image.revision: ''
org.opencontainers.image.source: 'https://github.com/metallb/metallb'
org.opencontainers.image.url: ''
org.opencontainers.image.version: ''
org.opencontainers.image.title: 'metallb-configmaptocrs'
org.opencontainers.image.description: 'Metallb Configmap ot CRs converter'
org.opencontainers.image.licenses: 'Apache-2.0'
org.opencontainers.image.vendor: 'ALT Linux Team'
...

View File

@@ -0,0 +1,13 @@
FROM {{ registry }}{{ branch }}/{{ alt_image }}:latest
{{ install_packages("metallb") }}
RUN ln -s /usr/bin/controller /controller
ENTRYPOINT ["/controller"]
LABEL org.opencontainers.image.title="metallb-controller" \
org.opencontainers.image.description="Metallb Controller" \
org.opencontainers.image.source="https://github.com/metallb/metallb" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.vendor="ALT Linux Team"

View File

@@ -0,0 +1,16 @@
---
is_versioned: true
version_template:
- v{{ version }}
source_packages:
- metallb
annotations:
org.opencontainers.image.revision: ''
org.opencontainers.image.source: 'https://github.com/metallb/metallb'
org.opencontainers.image.url: ''
org.opencontainers.image.version: ''
org.opencontainers.image.title: 'metallb-controller'
org.opencontainers.image.description: 'Metallb Controller'
org.opencontainers.image.licenses: 'Apache-2.0'
org.opencontainers.image.vendor: 'ALT Linux Team'
...

View File

@@ -0,0 +1,16 @@
FROM {{ registry }}{{ branch }}/{{ alt_image }}:latest
{{ install_packages("metallb") }}
RUN ln -s /usr/bin/speaker /speaker \
&& ln -s /usr/bin/cp-tool /cp-tool \
&& ln -s /usr/bin/frr-metrics /frr-metrics \
&& ln -s /usr/bin/frr-reloader.sh /frr-reloader.sh
ENTRYPOINT ["/speaker"]
LABEL org.opencontainers.image.title="metallb-speaker" \
org.opencontainers.image.description="Metallb Speaker" \
org.opencontainers.image.source="https://github.com/metallb/metallb" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.vendor="ALT Linux Team"

View File

@@ -0,0 +1,16 @@
---
is_versioned: true
version_template:
- v{{ version }}
source_packages:
- metallb
annotations:
org.opencontainers.image.revision: ''
org.opencontainers.image.source: 'https://github.com/metallb/metallb'
org.opencontainers.image.url: ''
org.opencontainers.image.version: ''
org.opencontainers.image.title: 'metallb-speaker'
org.opencontainers.image.description: 'Metallb Speaker'
org.opencontainers.image.licenses: 'Apache-2.0'
org.opencontainers.image.vendor: 'ALT Linux Team'
...

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: v{{ version }}
version_template:
- v{{ version }}
source_packages:
- metrics-server
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- kubevirt
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- kubevirt
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- kubevirt
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- kubevirt
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- kubevirt
annotations:

View File

@@ -8,7 +8,7 @@ LABEL org.opencontainers.image.source="https://github.com/kubevirt/kubevirt"
LABEL org.opencontainers.image.licenses="Apache-2.0"
LABEL org.opencontainers.image.vendor="ALT Linux Team"
RUN groupadd -f -g 107 qemu > /dev/null 2>&1 ||:
RUN groupadd -f -g 107 qemu > /dev/null 2>&1 ||:
RUN useradd -g qemu -m -d /home/qemu -s /bin/bash -c "qemu user" -u 107 qemu > /dev/null 2>&1 ||:
{{ install_packages(

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- kubevirt
annotations:

View File

@@ -1,6 +1,7 @@
---
is_versioned: true
version_template: "{{ version }}"
version_template:
- "{{ version }}"
source_packages:
- kubevirt
annotations: