This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [[ $1 ]]; then | |
DSC_VERSION="${1}" | |
else | |
DSC_VERSION="next" | |
fi | |
cd /tmp || exit; | |
curl -sSLO https://raw.githubusercontent.com/redhat-developer/devspaces-chectl/devspaces-3-rhel-8/build/scripts/installDscFromContainer.sh; chmod +x installDscFromContainer.sh | |
./installDscFromContainer.sh "quay.io/devspaces/dsc:${DSC_VERSION}" -t $HOME --verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TMPDIR=/tmp | |
for ICSP_URL in quay.io/rhdh/; do | |
ICSP_URL_PRE=${ICSP_URL%%/*} | |
# echo "[DEBUG] ${ICSP_URL_PRE}, ${ICSP_URL_PRE//./-}, ${ICSP_URL}" | |
echo "apiVersion: operator.openshift.io/v1alpha1 | |
kind: ImageContentSourcePolicy | |
metadata: | |
name: ${ICSP_URL_PRE//./-} | |
spec: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yarn config set "@redhat:registry" https://npm.registry.redhat.com | |
rm -fr /tmp/rhpib; mkdir /tmp/rhpib; cd /tmp/rhpib | |
for d in \ | |
@redhat/backstage-plugin-acr @redhat/backstage-plugin-argo-cd @redhat/backstage-plugin-argo-cd-backend \ | |
@redhat/backstage-plugin-jfrog-artifactory @redhat/backstage-plugin-keycloak-backend \ | |
@redhat/backstage-plugin-quay @redhat/backstage-plugin-tekton @redhat/backstage-plugin-topology\ | |
@redhat/shared-react; do \ | |
yarn add $d 2> >(grep -v warning 1>&2); \ | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# for incorrectly taggged images: | |
brew untag devspaces-3.9-rhel-8-container-candidate \ | |
devspaces-configbump-rhel8-container-3.10-4 \ | |
devspaces-imagepuller-rhel8-container-3.10-2 \ | |
devspaces-machineexec-rhel8-container-3.10-2 \ | |
devspaces-traefik-rhel8-container-3.10-2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# if you're getting errors like this: | |
# (java:706): Gtk-WARNING **: Theme parsing error: gtk.css:70:18: Not using units is deprecated. Assuming 'px'. | |
# (java:706): Gtk-WARNING **: Theme parsing error: gtk.css:70:20: Not using units is deprecated. Assuming 'px'. | |
# here's a workaround: | |
# as root | |
cd /usr/share/themes/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# squash this commit into the previous one, using non-interactive interactive rebase | |
# https://stackoverflow.com/questions/12394166/how-do-i-run-git-rebase-interactive-in-non-interactive-manner | |
# merge commits but keep comments | |
GIT_EDITOR="sed -i -e 's/BAD/BAD/g'" GIT_SEQUENCE_EDITOR="sed -i -re '2,\$s/^pick /s /'" git rebase -i | |
# merge commits and drop comment | |
GIT_EDITOR="sed -i -e 's/BAD/BAD/g'" GIT_SEQUENCE_EDITOR="sed -i -re '2,\$s/^pick /f /'" git rebase -i |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Residents of West Petpeswick: https://www.facebook.com/groups/1408442299320003/ | |
Residents Of East Petpeswick: https://www.facebook.com/groups/190127918090806/ | |
Musquodoboit Harbour: https://www.facebook.com/groups/musquodoboitharbour | |
Friends of the Gaetz Brook Greenway: https://www.facebook.com/groups/ATShore/ | |
What's Happening in Meaghers Grant: https://www.facebook.com/groups/320143741498650 | |
Musquodoboit Harbour, Jeddore and Porters Lake: https://www.facebook.com/groups/226092338183269/ | |
Porters Lake Community Connection: https://www.facebook.com/groups/porterslakecommunity/ | |
HIKING WITH DOGS IN NOVA SCOTIA: https://www.facebook.com/groups/380761668726933/ | |
East Coast hiking Adventures group: https://www.facebook.com/groups/1171449999881399/ | |
Halifax Trail Talk - Nova Scotia Hiking, Biking & Paddling Enthusiasts: https://www.facebook.com/groups/hfxtrailtalk/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
podman run -p 50051:50051 brew.registry.redhat.io/rh-osbs/iib:$IIB_NUMBER & | |
oc login --server=https://api.$YOUR_CLUSTER.com:6443 -u=$YOUR_USER -p=$YOUR_PWD --insecure-skip-tls-verify | |
oc port-forward $(oc get pods -n openshift-marketplace -l olm.catalogSource=$YOUR_CATALOG_SOURCE -o name) -n openshift-marketplace 50051 & | |
# grpcurl is needed to be installed locally | |
go install github.com/fullstorydev/grpcurl/cmd/grpcurl@latest | |
GO_BIN=~/go | |
export PATH=${PATH%":${GO_BIN}/bin"}:${GO_BIN}/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [[ $1 ]]; then | |
DSC_VERSION="${1}-CI" | |
else | |
DSC_VERSION="3.7.0-CI" | |
fi | |
DSC_ARCH="linux-x64" | |
DSC_HOME=${HOME}/.dsc; mkdir -p "${DSC_HOME}" | |
DSC_TGZ_URL="https://github.com/redhat-developer/devspaces-chectl/releases/download/${DSC_VERSION}-dsc-assets/devspaces-${DSC_VERSION%-*}-dsc-${DSC_ARCH}.tar.gz" |