File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -200,6 +200,32 @@ aws-kubeconfig:
200200 aws eks update-kubeconfig --name gp-${TF_VAR_TEST_ID} --region eu-west-1 --kubeconfig ${KUBECONFIG} || echo " No cluster present"
201201 @echo -e " \033[0;33mAWS service account credentials fetched, run 'source $$ (pwd)/$$ {TF_VAR_TEST_ID}-creds' to load them into your environment\033[0;m"
202202
203+ # GitHub SCM integration can configured prior to install. To enable the integration,
204+ # set the `GITHUB_SCM_OAUTH` variable to a path containing the following contents:
205+ #
206+ # ```yaml
207+ # description: ""
208+ # host: github.com
209+ # icon: ""
210+ # id: Public-GitHub
211+ # oauth:
212+ # clientId: <client-id>
213+ # clientSecret: <client-secret>
214+ # settingsUrl: https://github.com/settings/apps/new
215+ # type: GitHub
216+ # ```
217+ #
218+ # Credentials can be fetched with the following:
219+ #
220+ # ```
221+ # export GITHUB_SCM_OAUTH="/workspace/gitpod/install/tests/github.yaml"
222+ # kubectl -n werft get secret self-hosted-github-oauth -ojson | jq -r '.data.provider | @base64d' > $GITHUB_SCM_OAUTH
223+ # make get-github-config
224+ # ```
225+ #
226+ # Note: The credentials needed to interact with werft may differ from the credentials used to interact
227+ # with cloud resources created by the CI pipelines. Care may be necessary to switch kubectl credentials
228+ # depending on the context.
203229get-github-config : check-var-DOMAIN check-var-TF_VAR_TEST_ID
204230ifneq ($(GITHUB_SCM_OAUTH ) ,)
205231 @export SCM_OAUTH=./manifests/github-oauth.yaml && \
You can’t perform that action at this time.
0 commit comments