Skip to content

Commit d73f6e8

Browse files
committed
feat: add additional information about the registry
1 parent 1f5a041 commit d73f6e8

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

doc/source/configuration/ci-cd.rst

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,11 @@ Runner Deployment
9595
- openstack
9696
- "{{ kayobe_environment | default(omit) }}"
9797
98+
github_registry:
99+
url: pulp.example.com
100+
username: admin
101+
password: ${{ secrets.REGISTRY_PASSWORD }}
102+
98103
github_runners:
99104
runner_01: {}
100105
runner_02: {}
@@ -122,21 +127,32 @@ Workflow Deployment
122127

123128
2. Run :code:`kayobe playbook run ${KAYOBE_CONFIG_PATH}/ansible/write-github-workflows.yml`
124129

125-
3. Add all required secrets to repository either via the GitHub UI or GitHub CLI (may require repository owner)
130+
3. Add all required secrets and variables to repository either via the GitHub UI or GitHub CLI (may require repository owner)
126131
* KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: private key used by Ansible to authenticate with machines.
127132
* KAYOBE_VAULT_PASSWORD: password used by the config to encrypt Ansible Vault secrets.
128133
* REGISTRY_PASSWORD: password used to login to the docker registry such as Pulp.
129134
* TEMPEST_OPENRC: contents of :code:`kolla/public-openrc.sh`
135+
* REGISTRY_PASSWORD: the password to access the docker registry for pushing and pulling containers. Recommend to use Pulp on the seed node.
130136

131137
Note if you are using multiple environments and not sharing secrets between environments then each of these must have the environment name prefix for each environment, for example:
132138
* PRODUCTION_KAYOBE_AUTOMATION_SSH_PRIVATE_KEY
133139
* PRODUCTION_KAYOBE_VAULT_PASSWORD
134140
* PRODUCTION_REGISTRY_PASSWORD
135141
* PRODUCTION_TEMPEST_OPENRC
142+
* PRODUCTION_REGISTRY_URL*
143+
* PRODUCTION_REGISTRY_USERNAME*
144+
* PRODUCTION_REGISTRY_PASSWORD*
136145
* STAGING_KAYOBE_AUTOMATION_SSH_PRIVATE_KEY
137146
* STAGING_KAYOBE_VAULT_PASSWORD
138147
* STAGING_REGISTRY_PASSWORD
139148
* STAGING_TEMPEST_OPENRC
149+
* STAGING_REGISTRY_URL*
150+
* STAGING_REGISTRY_USERNAME*
151+
* STAGING_REGISTRY_PASSWORD*
152+
153+
Note regarding the :code:`REGISTRY_` secrets and variables if you are using a single environment then :code:`REGISTRY_URL` and :code:`REGISTRY_PASSWORD` can be added directly to the workflows.
154+
This is also true in the event of using multiple environments with a single shared Pulp registry.
155+
You only need to add the secrets and variables in the event of using multiple environments each with their own registry.
140156

141157
4. Commit and push all newly generated workflows found under :code:`.github/workflows`
142158

0 commit comments

Comments
 (0)