Skip to content

Commit 8bba4cd

Browse files
stevsmitSteven Smith
andauthored
Adds proxies to builders docs (quay#1132)
Co-authored-by: Steven Smith <[email protected]>
1 parent 2e3e1e9 commit 8bba4cd

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

modules/builders-virtual-environment.adoc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ $ mv ca.crt build-cluster.crt
137137

138138
.. Click *Actions* -> *Edit Secret*.
139139

140-
.. Add an appropriate _virtual builds_ configuration with the following reference:
140+
.. Add an appropriate _virtual builds_ configuration using the following as a reference:
141141
+
142142
[source,yaml]
143143
----
@@ -179,6 +179,9 @@ BUILD_MANAGER:
179179
NODE_SELECTOR_LABEL_VALUE: ""
180180
SERVICE_ACCOUNT_NAME: <sample_service_account_name>
181181
SERVICE_ACCOUNT_TOKEN: <sample_account_token> <11>
182+
HTTP_PROXY: <http://10.0.0.1:80>
183+
HTTPS_PROXY: <http://10.0.0.1:80>
184+
NO_PROXY: <hostname.example.com>
182185
----
183186
+
184187
<1> The build route is obtained by running `$ oc get route -n` with the namespace of your {productname-ocp} deployment. A port must be provided at the end of the route, and it should use the following format: `[quayregistry-cr-name]-quay-builder-[ocp-namespace].[ocp-domain-name]:443`.
@@ -234,6 +237,9 @@ BUILD_MANAGER:
234237
NODE_SELECTOR_LABEL_VALUE: ""
235238
SERVICE_ACCOUNT_NAME: quay-builder
236239
SERVICE_ACCOUNT_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IldfQUJkaDVmb3ltTHZ0dGZMYjhIWnYxZTQzN2dJVEJxcDJscldSdEUtYWsifQ"
240+
HTTP_PROXY: <http://10.0.0.1:80>
241+
HTTPS_PROXY: <http://10.0.0.1:80>
242+
NO_PROXY: <hostname.example.com>
237243
----
238244

239245
.. Click *Save* on the *Edit Secret* page.

modules/prepare-ocp-for-bare-metal-builds.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,9 @@ BUILD_MANAGER:
207207
SSH_AUTHORIZED_KEYS: <11>
208208
- <ssh-rsa 12345 [email protected]>
209209
- <ssh-rsa 67890 [email protected]>
210+
HTTP_PROXY: <http://10.0.0.1:80>
211+
HTTPS_PROXY: <http://10.0.0.1:80>
212+
NO_PROXY: <hostname.example.com>
210213
----
211214
<1> Obtained by running the following command: `$ oc get route quayregistry-quay-builder -n ${QUAY_PROJECT} -o jsonpath='{.spec.host}'`.
212215
<2> The hostname for your Redis service.

modules/setting-up-builds-aws.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ You can follow the steps in "Configuring bare metal builds for {productname-ocp}
3333
SSH_AUTHORIZED_KEYS: <2>
3434
- <ssh-rsa 12345 [email protected]>
3535
- <ssh-rsa 67890 [email protected]>
36+
HTTP_PROXY: <http://10.0.0.1:80>
37+
HTTPS_PROXY: <http://10.0.0.1:80>
38+
NO_PROXY: <hostname.example.com>
3639
----
3740
<1> Specifies an AMI name where _builds_ will be run. Unlike bare metal _builds_, these container _builds_ are done directly within an ephemeral EC2 instance. This AMI must utilize ignition and contain a docker. The AMI shown in this example is used by {quay.io} for its build system.
3841
<2> Allows public SSH keys to be added to the build environment for remote troubleshooting access. This key, or keys, should correspond to the private key that an admin or developer will use to SSH into the build worker for debugging purposes. This key can be obtained by establishing an SSH connection to the remote host using a specific SSH key and port. For example: `$ ssh -i /path/to/ssh/key/set/in/ssh_authorized_keys -p 9999 core@localhost`.

0 commit comments

Comments
 (0)