Skip to content

Commit bda3f0d

Browse files
wtripp180901sjpb
andauthored
Code review doc/comment suggestions
Co-authored-by: Steve Brasier <[email protected]>
1 parent c162e18 commit bda3f0d

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

ansible/adhoc/deploy-pulp.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
become: yes
1212
hosts: _pulp_host
1313
tasks:
14-
1514
- name: Install pulp
1615
ansible.builtin.include_role:
1716
name: pulp_site

docs/experimental/pulp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Pulp Server
22

3-
In order to ensure reproducible builds, the appliance can build images using repository mirrors from StackHPC's Ark Pulp server. The appliance will sync relevant repositories to local Pulp server which will be used for image builds. Using a local server can be enabled by adding `pulp` to the build groups and overriding `dnf_repos_repolist` to point at content hosted on the local server.
3+
In order to ensure reproducible builds, the appliance can build images using repository mirrors from StackHPC's "Ark" Pulp server. The appliance can sync relevant repositories to a local Pulp server which will then be used instead of Ark. Using a local Pulp can be enabled by adding `pulp` to the build groups and overriding `dnf_repos_repolist` to point at content hosted on the local server.
44

55
## Deploying/configuring Pulp Server
66

77
### Deploying a Pulp server
88
A playbook is provided to install and configure a Pulp server on a given host. Admin credentials for this server are automatically generated through the `ansible/adhoc/generate-passwords.yml' playbook. This can be run with
99
`ansible-playbook ansible/adhoc/deploy-pulp.yml -e "pulp_server=<host_ip>"`
10-
This will print a Pulp endpoint which can be copied to your environments as appropriate. Ensure that the server is accessible on the specified port. Note that this server's content isn't authenticated so assumes the server is deployed behind a secure network.
10+
This will print a Pulp endpoint which can be copied to your environments as appropriate. Ensure that the server is accessible on the specified port. Note access to this server's content isn't authenticated so assumes the server is deployed behind a secure network.
1111

1212
### Using an existing Pulp server
1313
An existing Pulp server can be used to host Ark repos by overriding `pulp_site_password` and `appliances_pulp_url` in the target environment. Note that this assumes the same configuration as the appliance deployed pulp i.e no content authentication.

environments/.stackhpc/inventory/group_vars/builder.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99

1010
# appliances_pulp_url: "{{ pulp_server_config[lookup('env','CI_CLOUD')].url }}"
1111
# pulp_site_password: "{{ pulp_server_config[lookup('env','CI_CLOUD')].password }}"
12-
12+
# Alternatively, configure to use ark directly:
1313
dnf_repos_username: slurm-app-ci
1414
dnf_repos_password: "{{ lookup('env','ARK_PASSWORD') }}"

environments/common/inventory/groups

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,4 +150,4 @@ freeipa_client
150150
builder
151151

152152
[pulp:children]
153-
# Hosts used to run Pulp API commands
153+
# Add builder to this group to enable automatically syncing of pulp during image build

0 commit comments

Comments
 (0)