There is command to add GitHub provider to CRW instance on OCP:
# add GitHub provider keycloakPodName=$(/tmp/oc get pod --namespace=$CHE_OPENSHIFT_PROJECT -l app=codeready --no-headers | grep "keycloak" | awk '{print $1}') /tmp/oc exec $keycloakPodName --namespace=$CHE_OPENSHIFT_PROJECT -- /opt/eap/bin/kcadm.sh create identity-provider/instances -r codeready \ -s alias=github \ -s providerId=github \ -s enabled=true \ -s storeToken=true \ -s addReadTokenRoleOnCreate=true \ -s 'config.useJwksUrl="true"' \ -s config.clientId=d55576e74716f176fc19 \ -s config.clientSecret=02b4497c0d349e6e096967346109f87a27a7c122 \ -s 'config.defaultScope="repo,user,write:public_key"' \ --no-config --server http://0.0.0.0:8080/auth --realm master --user admin --password admin
There is Jenkins job about E2E upstream Che tests https://codeready-workspaces-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/pre-release/view/OCP%203.11/job/pre-release-upstream-che-e2e-tests-against-OCP/configure
All GitHub related E2E upstream Che tests belong to group `TestGroup.GITHUB`.
- is related to
-
CRW-35 Register GitHub oAuth application for CodeReady Workspaces for jenkins slave
- Closed