Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds proxies to builders docs #1132

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion modules/builders-virtual-environment.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ $ mv ca.crt build-cluster.crt

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

.. Add an appropriate _virtual builds_ configuration with the following reference:
.. Add an appropriate _virtual builds_ configuration using the following as a reference:
+
[source,yaml]
----
Expand Down Expand Up @@ -179,6 +179,9 @@ BUILD_MANAGER:
NODE_SELECTOR_LABEL_VALUE: ""
SERVICE_ACCOUNT_NAME: <sample_service_account_name>
SERVICE_ACCOUNT_TOKEN: <sample_account_token> <11>
HTTP_PROXY: <http://10.0.0.1:80>
HTTPS_PROXY: <http://10.0.0.1:80>
NO_PROXY: <hostname.example.com>
----
+
<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`.
Expand Down Expand Up @@ -234,6 +237,9 @@ BUILD_MANAGER:
NODE_SELECTOR_LABEL_VALUE: ""
SERVICE_ACCOUNT_NAME: quay-builder
SERVICE_ACCOUNT_TOKEN: "eyJhbGciOiJSUzI1NiIsImtpZCI6IldfQUJkaDVmb3ltTHZ0dGZMYjhIWnYxZTQzN2dJVEJxcDJscldSdEUtYWsifQ"
HTTP_PROXY: <http://10.0.0.1:80>
HTTPS_PROXY: <http://10.0.0.1:80>
NO_PROXY: <hostname.example.com>
----

.. Click *Save* on the *Edit Secret* page.
Expand Down
3 changes: 3 additions & 0 deletions modules/prepare-ocp-for-bare-metal-builds.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@ BUILD_MANAGER:
SSH_AUTHORIZED_KEYS: <11>
- <ssh-rsa 12345 [email protected]>
- <ssh-rsa 67890 [email protected]>
HTTP_PROXY: <http://10.0.0.1:80>
HTTPS_PROXY: <http://10.0.0.1:80>
NO_PROXY: <hostname.example.com>
----
<1> Obtained by running the following command: `$ oc get route quayregistry-quay-builder -n ${QUAY_PROJECT} -o jsonpath='{.spec.host}'`.
<2> The hostname for your Redis service.
Expand Down
3 changes: 3 additions & 0 deletions modules/setting-up-builds-aws.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ You can follow the steps in "Configuring bare metal builds for {productname-ocp}
SSH_AUTHORIZED_KEYS: <2>
- <ssh-rsa 12345 [email protected]>
- <ssh-rsa 67890 [email protected]>
HTTP_PROXY: <http://10.0.0.1:80>
HTTPS_PROXY: <http://10.0.0.1:80>
NO_PROXY: <hostname.example.com>
----
<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.
<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`.