Skip to content

Instantly share code, notes, and snippets.

Nick Boldt nickboldt

Block or report user

Report or block nickboldt

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@nickboldt
nickboldt / HOWTO.Che7-in-CRW1.2-OCP4.adoc
Last active Aug 13, 2019
Che 7 IDE in CRW 1.2 - RHDEVDOCS-1249
View HOWTO.Che7-in-CRW1.2-OCP4.adoc
  1. Deploy CRW 1.2 to OCP using OperatorHub.

  2. Or, use the Operator-based deploy script:

    git clone https://github.com/redhat-developer/codeready-workspaces-deprecated && cd codeready-workspaces-deprecated/operator-installer && git checkout 6.19.x
    ./deploy.sh -d --server-image=quay.io/crw/server-rhel8 -v=1.2-35 --operator-image=quay.io/crw/operator-rhel8:1.2-13 --verbose -p=crw-che7d
@nickboldt
nickboldt / HOWTO.airgap.plugin.registry.adoc
Last active Aug 8, 2019
che plugin registry with icons and plugins self-contained
View HOWTO.airgap.plugin.registry.adoc

HOWTO

b) don’t have the correct route URL or IP in the pod w/ the index.json. Need to inject the env var before applying the 0.0.0.0 transform

start up minishift and log in

minishift start
oc login 192.168.99.112:8443 -u developer -p 123

rebuild plugin reg from latest changes

@nickboldt
nickboldt / che-operator.pr.review.sh
Created Jul 23, 2019
che-operator.pr.review.sh
View che-operator.pr.review.sh
oldSHA=$(git rev-parse --short=4 HEAD~1)
newSHA=$(git rev-parse --short=4 HEAD~0)
oldk8sTS=1563804656
newk8sTS=1563883405
oldOSTS=1563804657
newOSTS=1563883406
git diff \
@nickboldt
nickboldt / pre-release-installation-test-against-OCP4.x-with-OS-oauth-CRW-202.bash
Created Jul 16, 2019
pre-release-installation-test-against-OCP4.x-with-OS-oauth-CRW-202 Jenkins config
View pre-release-installation-test-against-OCP4.x-with-OS-oauth-CRW-202.bash
set -x
OPENSHIFT_URL=************
CHE_OPENSHIFT_PROJECT="j$(echo ${JOB_NAME} | md5sum | tr -d "[:punct:][:space:]")-${BUILD_NUMBER}b"
CRW_HOST=codeready-${CHE_OPENSHIFT_PROJECT}.apps.crw.codereadyqe.com
OPENSHIFT_USERNAME=*******
OPENSHIFT_PASSWORD="**********"
QUAY_USER="nickboldt"
QUAY_REGISTRY="quay.io/nickboldt"
QUAY_TOKEN="***********"
View gist:ac7421a383ea573e83403ef8a356ff6a
REG_NAMESPACE=redhat-operators
OPERATOR_NAME=codeready-workspaces
cat << EOYAML > ${WORKSPACE}/codeready-workspaces-operator.yaml
apiVersion: operators.coreos.com/v1
kind: OperatorSource
metadata:
name: ${OPERATOR_NAME}
namespace: openshift-marketplace
spec:
View gist:a3ab32b9c3a5886cfd2006a6c57945bd
$➔ oc log keycloak-6d6d4b4d8f-b87cs
log is DEPRECATED and will be removed in a future version. Use logs instead.
Certificate was added to keystore
Certificate was added to keystore
Certificate was added to keystore
Importing keystore /usr/lib/jvm/java-1.8.0/jre/lib/security/cacerts to /opt/eap/openshift.jks...
Entry for alias digicertassuredidrootca successfully imported.
Entry for alias trktrustelektroniksertifikahizmetsalaycsh5 successfully imported.
Entry for alias affirmtrustcommercial successfully imported.
Entry for alias t-telesecglobalrootclass3 successfully imported.
View triage2019-07-15.adoc
@nickboldt
nickboldt / diffBaseImagesSinceYYYYMMDD.sh
Created Jul 11, 2019
diff base images since last release
View diffBaseImagesSinceYYYYMMDD.sh
echo; for d in */; do cd $d; echo "${d#*containers_} ..."; git diff 'HEAD@{2019-06-05}' | grep FROM; echo; cd ..; done
@nickboldt
nickboldt / devfile.yaml
Last active Jun 21, 2019
che-in-che minimal devfile.yaml
View devfile.yaml
apiVersion: 1.0.0
metadata:
name: che-in-che-out
projects:
- name: che
source:
type: git
location: 'https://github.com/eclipse/che.git'
You can’t perform that action at this time.