Skip to content

Instantly share code, notes, and snippets.

Avatar

Nick Boldt nickboldt

View GitHub Profile
@nickboldt
nickboldt / vm-config.adoc
Last active Aug 10, 2022
F36 VM configuration (2022-07-30)
View vm-config.adoc

Virtual Box Fedora 36 virutal machine setup

VBox settings

Base memory: 16384 MB
Chip PIIX3
[x] Enable IO APIC
[ ] Enable EFI
[x] Hardware clock UTC
@nickboldt
nickboldt / devfile.yaml
Last active May 17, 2022
devfile-custom-plugins
View devfile.yaml
schemaVersion: 2.1.0
metadata:
name: vscode-didact
attributes:
.vscode/extensions.json: |
{
"recommendations": [
"redhat.vscode-didact"
]
}
@nickboldt
nickboldt / scratch-build.sh
Created Apr 28, 2022
building a scratch image from a private branch using a non-standard version string
View scratch-build.sh
git checkout devspaces-3-rhel-8
git pull origin devspaces-3-rhel-8
git branch private-crw-build-text-version-suffix -u origin/private-crw-build-text-version-suffix
git checkout private-crw-build-text-version-suffix
vim Dockerfile
# diff --git a/Dockerfile b/Dockerfile
# - version="3.1" \
# + version="3.1.pr" \
View Prod Team Plan - Sprint 214 [Feb 2 - 22].md

Prod Team Plan - Sprint 214 [Feb 2 - 22]


  • CRW - 8 items + 31 other issues
    • P0: release 2.15 - MK
  • RC respins as needed
View Prod Team Plan - Sprint 213.md

Prod Team Plan - Sprint 213

  • Che - 1 item + 3 other issues
    • P0: weekly Che 7.yy.x releases - MK (or NB)
      • 7.42.0: todo
    • RHDEVDOCS-3569 Che docs new publishing process 7.41+ - MK portion DONE; Fabrice closed the issue

@nickboldt
nickboldt / cleanup-perm-jenkins-node.sh
Last active Jan 31, 2022
permanent jenkins worker node cleanup script
View cleanup-perm-jenkins-node.sh
#!/bin/bash
# cleanup permanent nodes of temp files and other miscellaneous stuff we don't need wasting disk
# check usage before clean
sudo df -h | grep -E "Avail|/dev/mapper/| /$"
# 1.5G from /var/cache/dnf
sudo dnf clean all
View Prod Team Plan - Sprint 212 (incl. Holiday Shutdown).md

Prod Team Plan - Sprint 212 (incl. Holiday Shutdown)

  • Che - 1 item + 3 other issues
    • P0: weekly Che 7.yy.x releases - MK (or NB)
      • 7.41.0, .1, .2: done, with manual updates to doc process
    • RHDEVDOCS-3569 Che docs new publishing process 7.41+ - in progress, MK (with Fabrice)

@nickboldt
nickboldt / approve-merge.sh
Last active Dec 22, 2021
add reviewer, approve, and merge a PR via GH api
View approve-merge.sh
#!/bin/bash
#
# Copyright (c) 2021 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
@nickboldt
nickboldt / sync-to-downstream_2.x_patch.jenkinsfile
Last active Dec 21, 2021
check kerb ticket then load a fresh ticket
View sync-to-downstream_2.x_patch.jenkinsfile
// testing hack 1919 / 1626 for x86_64-rhel8-dyn nodes
withCredentials([file(credentialsId: 'crw_crw-build-keytab', variable: 'CRW_KEYTAB')]) {
sh('''
klist
''')
sh('curl -sSLO https://raw.githubusercontent.com/redhat-developer/codeready-workspaces/' + MIDSTM_BRANCH + '/product/util.groovy')
def util1 = load "${WORKSPACE}/util.groovy"
util1.kinit(true)
}
@nickboldt
nickboldt / crw_env.sh
Created Dec 7, 2021
crw_env npm node version switcher
View crw_env.sh
declare -A node_vers=(
["2.12"]="12.22.3"
["2.13"]="12.22.3"
["2.14"]="12.22.3"
["2.x"]="12.22.3"
)