-ceph_build_repo = "https://github.com/ceph/ceph-build"
-ceph_build_branch = "main"
-base_node_label = "gigantic"
-ubuntu_releases = [
+import groovy.transform.Field
+
+@Field String ceph_build_repo = "https://github.com/ceph/ceph-build"
+@Field String ceph_build_branch = "main"
+@Field String base_node_label = "gigantic"
+@Field Map ubuntu_releases = [
"noble": "24.04",
"jammy": "22.04",
"focal": "20.04",
]
-debian_releases = [
+@Field Map debian_releases = [
"bookworm": "12",
"bullseye": "11",
]
-build_matrix = [:]
+@Field Map build_matrix = [:]
def get_os_info(dist) {
def os = [
return os
}
-ceph_release_spec_template = '''
+@Field String ceph_release_spec_template = '''
Name: ceph-release
Version: 1
Release: 0%{?dist}
* Mon Apr 28 2025 Zack Cerza <zack@cerza.org> 1-1
'''
-ceph_release_repo_template = '''
+@Field String ceph_release_repo_template = '''
[Ceph]
name=Ceph packages for \\$basearch
baseurl=${repo_base_url}/\\$basearch