File tree Expand file tree Collapse file tree 3 files changed +30
-10
lines changed Expand file tree Collapse file tree 3 files changed +30
-10
lines changed Original file line number Diff line number Diff line change 33
33
pulp_username : " {{ dev_pulp_username }}"
34
34
pulp_password : " {{ dev_pulp_password }}"
35
35
pulp_distribution_container : " {{ dev_pulp_distribution_container_release }}"
36
+
37
+ # Copy tags from stackhpc-dev to stackhpc repositories.
38
+ - import_role :
39
+ name : stackhpc.pulp.pulp_container_content
40
+ vars :
41
+ pulp_url : " {{ dev_pulp_url }}"
42
+ pulp_username : " {{ dev_pulp_username }}"
43
+ pulp_password : " {{ dev_pulp_password }}"
44
+ pulp_container_content : >-
45
+ {%- set contents = [] -%}
46
+ {%- for base_distro in kolla_base_distros -%}
47
+ {%- for image in kolla_container_images_filtered -%}
48
+ {%- if image not in kolla_unbuildable_images[base_distro]-%}
49
+ {%- set src_image_repo = "stackhpc-dev/" ~ base_distro ~ "-source-" ~ image -%}
50
+ {%- set dest_image_repo = "stackhpc/" ~ base_distro ~ "-source-" ~ image -%}
51
+ {%- set content = {
52
+ "allow_missing": True,
53
+ "src_repo": src_image_repo,
54
+ "src_is_push": true,
55
+ "repository": dest_image_repo,
56
+ "tags": [dev_pulp_repository_container_promotion_tag],
57
+ } -%}
58
+ {%- set _ = contents.append(content) -%}
59
+ {%- endif -%}
60
+ {%- endfor -%}
61
+ {%- endfor -%}
62
+ {{ contents }}
Original file line number Diff line number Diff line change @@ -8,12 +8,6 @@ dev_release_pulp_registry_url: "{{ dev_pulp_url }}"
8
8
9
9
# Common parameters for release image repositories.
10
10
dev_pulp_repository_container_repo_release_common:
11
- url: "{{ dev_release_pulp_registry_url }}"
12
- include_tags:
13
- - "{{ dev_pulp_repository_container_promotion_tag.strip() | mandatory }}"
14
- policy: on_demand
15
- remote_username: "{{ dev_pulp_username }}"
16
- remote_password: "{{ dev_pulp_password }}"
17
11
state: present
18
12
19
13
# List of release container image repositories.
@@ -23,8 +17,7 @@ dev_pulp_repository_container_repos_release: >-
23
17
{%- for image in kolla_container_images_filtered -%}
24
18
{%- if image not in kolla_unbuildable_images[base_distro]-%}
25
19
{%- set image_repo = "stackhpc/" ~ base_distro ~ "-source-" ~ image -%}
26
- {%- set upstream_repo = "stackhpc-dev/" ~ base_distro ~ "-source-" ~ image -%}
27
- {%- set repo = {"name": image_repo, "upstream_name": upstream_repo} -%}
20
+ {%- set repo = {"name": image_repo} -%}
28
21
{%- set _ = repos.append(dev_pulp_repository_container_repo_release_common | combine(repo)) -%}
29
22
{%- endif -%}
30
23
{%- endfor -%}
Original file line number Diff line number Diff line change 1
1
collections :
2
2
- name : stackhpc.pulp
3
- version : 0.4.1
3
+ version : 0.5.0
4
4
- name : community.crypto
5
5
version : 2.0.2
6
6
- name : pulp.squeezer
7
- version : 0.0.13
7
+ version : 0.0.13
You can’t perform that action at this time.
0 commit comments