Skip to content

Commit

Permalink
Remove image_repository creds
Browse files Browse the repository at this point in the history
  • Loading branch information
assumptionsandg committed Dec 3, 2024
1 parent 24f08f0 commit 0f22356
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions etc/kayobe/ansible/pulp-host-image-download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
- name: Download image artifact
get_url:
url: "{{ stackhpc_overcloud_host_image_url_no_auth }}"
username: "{{ stackhpc_image_repository_username }}"
password: "{{ stackhpc_image_repository_password }}"
username: "{{ stackhpc_release_pulp_username }}"
password: "{{ stackhpc_release_pulp_password }}"
force_basic_auth: true
unredirected_headers:
- "Authorization"
Expand Down
4 changes: 2 additions & 2 deletions etc/kayobe/ansible/pulp-host-image-promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
hosts: localhost
vars:
remote_pulp_url: "{{ stackhpc_release_pulp_url }}"
remote_pulp_username: "{{ stackhpc_image_repository_username }}"
remote_pulp_password: "{{ stackhpc_image_repository_password }}"
remote_pulp_username: "{{ stackhpc_release_pulp_username }}"
remote_pulp_password: "{{ stackhpc_release_pulp_password }}"
repository_name: "kayobe-images-{{ openstack_release }}-{{ os_distribution }}-{{ os_release }}"
base_path: "kayobe-images/{{ openstack_release }}/{{ os_distribution }}/{{ os_release }}"
promotion_tag: "{{ lookup('env', 'OVERCLOUD_HOST_IMAGE_TAG') }}"
Expand Down
4 changes: 2 additions & 2 deletions etc/kayobe/ansible/pulp-image-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
hosts: seed
vars:
remote_pulp_url: "{{ stackhpc_release_pulp_url }}"
remote_pulp_username: "{{ stackhpc_image_repository_username }}"
remote_pulp_password: "{{ stackhpc_image_repository_password }}"
remote_pulp_username: "{{ stackhpc_release_pulp_username }}"
remote_pulp_password: "{{ stackhpc_release_pulp_password }}"
repository_name: "{{ artifact_path }}-{{ openstack_release }}-{{ os_distribution }}-{{ os_release }}"
pulp_base_path: "{{ artifact_path }}/{{ openstack_release }}/{{ os_distribution }}/{{ os_release }}"
file_extension: 'qcow2'
Expand Down
4 changes: 2 additions & 2 deletions etc/kayobe/environments/ci-builder/stackhpc-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,5 @@ stackhpc_docker_registry_password: !vault |
3664
# Username and password of the overcloud host image repository.
stackhpc_image_repository_username: "{{ stackhpc_docker_registry_username }}"
stackhpc_image_repository_password: "{{ stackhpc_docker_registry_password }}"
stackhpc_release_pulp_username: "{{ stackhpc_docker_registry_username }}"
stackhpc_release_pulp_password: "{{ stackhpc_docker_registry_password }}"

0 comments on commit 0f22356

Please sign in to comment.