File tree 7 files changed +37
-4
lines changed
7 files changed +37
-4
lines changed Original file line number Diff line number Diff line change 10
10
- LEAFCLOUD
11
11
- SMS
12
12
- ARCUS
13
+ cleanup_on_failure :
14
+ description : Cleanup Packer resources on failure
15
+ type : boolean
16
+ required : true
17
+ default : true
13
18
14
19
jobs :
15
20
openstack :
78
83
packer init .
79
84
80
85
PACKER_LOG=1 packer build \
81
- -on-error=${{ vars.PACKER_ON_ERROR }} \
86
+ -on-error=${{ github.event.inputs.cleanup_on_failure && 'cleanup' || 'abort' }} \
82
87
-var-file=$PKR_VAR_environment_root/${{ env.CI_CLOUD }}.pkrvars.hcl \
83
88
-var "source_image_name=${{ matrix.build.source_image_name }}" \
84
89
-var "image_name=${{ matrix.build.image_name }}" \
Original file line number Diff line number Diff line change @@ -8,11 +8,13 @@ dnf_repos_filenames:
8
8
appstream : ' Rocky-AppStream'
9
9
crb : ' Rocky-PowerTools'
10
10
extras : ' Rocky-Extras'
11
+ grafana : ' grafana'
11
12
' 9 ' :
12
13
baseos : ' rocky'
13
14
appstream : ' rocky'
14
15
crb : ' rocky'
15
16
extras : ' rocky-extras'
17
+ grafana : ' grafana'
16
18
17
19
dnf_repos_version_filenames : " {{ dnf_repos_filenames[ansible_distribution_major_version] }}"
18
20
@@ -33,6 +35,9 @@ dnf_repos_default_repolist:
33
35
- file : ceph
34
36
name : Ceph
35
37
base_url : " {{ dnf_repos_pulp_content_url }}/{{ appliances_pulp_repos.ceph[ansible_distribution_major_version] | appliances_repo_to_subpath }}"
38
+ - file : " {{ dnf_repos_version_filenames.grafana }}"
39
+ name : grafana
40
+ base_url : " {{ dnf_repos_pulp_content_url }}/{{ appliances_pulp_repos.grafana[ansible_distribution_major_version] | appliances_repo_to_subpath }}"
36
41
37
42
dnf_repos_openhpc_repolist :
38
43
- name : OpenHPC
Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ pulp_site_rpm_info:
28
28
subpath : " {{ appliances_pulp_repos.openhpc_updates[pulp_site_target_distribution_version_major] | appliances_repo_to_subpath }}"
29
29
- name : " ceph-{{ pulp_site_target_distribution_version_major }}-{{ appliances_pulp_repos.ceph[pulp_site_target_distribution_version_major].timestamp }}"
30
30
subpath : " {{ appliances_pulp_repos.ceph[pulp_site_target_distribution_version_major] | appliances_repo_to_subpath }}"
31
+ - name : " grafana-{{ pulp_site_target_distribution_version_major }}-{{ appliances_pulp_repos.grafana.timestamp[pulp_site_target_distribution_version_major].timestamp }}
32
+ subpath: " {{ appliances_pulp_repos.grafana[pulp_site_target_distribution_version_major] | appliances_repo_to_subpath }}"
31
33
32
34
pulp_site_rpm_repo_defaults :
33
35
remote_username : " {{ pulp_site_upstream_username }}"
Original file line number Diff line number Diff line change 1
1
{
2
2
"cluster_image" : {
3
- "RL8" : " openhpc-RL8-250423-1606-b61e2f1a " ,
4
- "RL9" : " openhpc-RL9-250423-1606-b61e2f1a "
3
+ "RL8" : " openhpc-RL8-250506-1259-abb6394b " ,
4
+ "RL9" : " openhpc-RL9-250506-1259-abb6394b "
5
5
}
6
6
}
Original file line number Diff line number Diff line change
1
+ {{ ansible_managed | comment }}
2
+ [grafana]
3
+ baseurl = {{ appliances_pulp_url }}/pulp/content/{{ appliances_pulp_repos.grafana[ansible_distribution_major_version] | appliances_repo_to_subpath }}
4
+ enabled = 0
5
+ name = grafana
6
+ async = 1
7
+ gpgcheck = 0
8
+ {% if 'dnf_repos' in group_names and dnf_repos_password is defined %}
9
+ password = {{ dnf_repos_password }}
10
+ username = {{ dnf_repos_username }}
11
+ {% endif %}
Original file line number Diff line number Diff line change 2
2
3
3
# See: https://github.com/cloudalchemy/ansible-grafana
4
4
# for variable definitions.
5
- grafana_version : ' 9.5.21 '
5
+ grafana_version : ' 10.4.18 '
6
6
7
7
# need to copy some role defaults here so we can use in inventory:
8
8
grafana_port : 3000
@@ -108,3 +108,6 @@ _grafana_auth_anon_cfg:
108
108
org_role : Viewer
109
109
grafana_auth : " {{ _grafana_auth_anon_cfg if grafana_auth_anonymous | bool else {} }}"
110
110
_grafana_auth_is_anonymous : " {{ grafana_auth.anonymous | default({}) | length > 0 }}"
111
+
112
+ # use ark or pulp for grafana as upstream packages disappear:
113
+ grafana_yum_repo_template : " {{ appliances_repository_root }}/environments/common/files/grafana/grafana.repo.j2"
Original file line number Diff line number Diff line change @@ -67,3 +67,10 @@ appliances_pulp_repos:
67
67
' 9 ' :
68
68
path : OpenHPC/3/updates/EL_9
69
69
timestamp : 20241218T154614
70
+ grafana :
71
+ ' 8 ' :
72
+ path : grafana/oss/rpm
73
+ timestamp : 20250505T025259
74
+ ' 9 ' :
75
+ path : grafana/oss/rpm
76
+ timestamp : 20250505T025259
You can’t perform that action at this time.
0 commit comments