You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/configuration/ci-cd.rst
+17-1Lines changed: 17 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -95,6 +95,11 @@ Runner Deployment
95
95
- openstack
96
96
- "{{ kayobe_environment | default(omit) }}"
97
97
98
+
github_registry:
99
+
url: pulp.example.com
100
+
username: admin
101
+
password: ${{ secrets.REGISTRY_PASSWORD }}
102
+
98
103
github_runners:
99
104
runner_01: {}
100
105
runner_02: {}
@@ -122,21 +127,32 @@ Workflow Deployment
122
127
123
128
2. Run :code:`kayobe playbook run ${KAYOBE_CONFIG_PATH}/ansible/write-github-workflows.yml`
124
129
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)
126
131
* KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: private key used by Ansible to authenticate with machines.
127
132
* KAYOBE_VAULT_PASSWORD: password used by the config to encrypt Ansible Vault secrets.
128
133
* REGISTRY_PASSWORD: password used to login to the docker registry such as Pulp.
129
134
* 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.
130
136
131
137
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:
132
138
* PRODUCTION_KAYOBE_AUTOMATION_SSH_PRIVATE_KEY
133
139
* PRODUCTION_KAYOBE_VAULT_PASSWORD
134
140
* PRODUCTION_REGISTRY_PASSWORD
135
141
* PRODUCTION_TEMPEST_OPENRC
142
+
* PRODUCTION_REGISTRY_URL*
143
+
* PRODUCTION_REGISTRY_USERNAME*
144
+
* PRODUCTION_REGISTRY_PASSWORD*
136
145
* STAGING_KAYOBE_AUTOMATION_SSH_PRIVATE_KEY
137
146
* STAGING_KAYOBE_VAULT_PASSWORD
138
147
* STAGING_REGISTRY_PASSWORD
139
148
* 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.
140
156
141
157
4. Commit and push all newly generated workflows found under :code:`.github/workflows`
0 commit comments