I hereby claim:
- I am grdryn on github.
- I am grdryn (https://keybase.io/grdryn) on keybase.
- I have a public key whose fingerprint is AA11 A666 C98E B6D8 231C 11ED 6EDC 7E4A 62BC 4A15
To claim this, I am signing this object:
| ///usr/bin/env jbang "$0" "$@" ; exit $? | |
| //DEPS info.picocli:picocli:4.5.0 | |
| //DEPS com.redhat.cloud:kafka-management-sdk:0.31.0 | |
| // Usage: | |
| // jbang https://gist.github.com/grdryn/8374c5d32e452ca2ffedd41d22380e74 --token $(rhoas authtoken) --instance $(rhoas status -o json | jq -r '.kafka.id') | |
| import picocli.CommandLine; | |
| import picocli.CommandLine.Command; | |
| import picocli.CommandLine.Option; |
| import jenkins.model.* | |
| import com.cloudbees.plugins.credentials.* | |
| import com.cloudbees.plugins.credentials.common.* | |
| import com.cloudbees.plugins.credentials.domains.* | |
| import com.cloudbees.plugins.credentials.impl.* | |
| import com.cloudbees.jenkins.plugins.sshcredentials.impl.* | |
| import org.jenkinsci.plugins.plaincredentials.* | |
| import org.jenkinsci.plugins.plaincredentials.impl.* | |
| import hudson.util.Secret | |
| import hudson.plugins.sshslaves.* |
| db["workflows"].findOne() | |
| { | |
| "id" : "HJ8QkzOSH", | |
| "title" : "Static forms", | |
| "_id" : ObjectId("58f62fc55c75a2224bcf9a2b"), | |
| "steps" : [ | |
| { | |
| "updatedAt" : ISODate("2017-04-18T15:24:53.928Z"), | |
| "createdAt" : ISODate("2017-04-18T15:24:53.928Z"), | |
| "code" : "risk-assessment", |
| { create: | |
| { HJ8QkzOSH: | |
| { data: | |
| { id: 'HJ8QkzOSH', | |
| title: 'Static forms', | |
| _id: '58f5f79ae5bde967e38a847e', | |
| steps: | |
| [ { updatedAt: '2017-04-18T11:25:14.914Z', | |
| createdAt: '2017-04-18T11:25:14.914Z', | |
| code: 'risk-assessment', |
| Unhandled rejection ValidationError: Workorder validation failed | |
| at MongooseError.ValidationError (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-wfm-mongoose-store/node_modules/mongoose/lib/error/validation.js:23:11) | |
| at model.Document.invalidate (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-wfm-mongoose-store/node_modules/mongoose/lib/document.js:1535:32) | |
| at model.Document.set (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-wfm-mongoose-store/node_modules/mongoose/lib/document.js:777:10) | |
| at model._handleIndex (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-wfm-mongoose-store/node_modules/mongoose/lib/document.js:623:14) | |
| at model.Document.set (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-cloud/node_modules/fh-wfm-mongoose-store/node_modules/mongoose/lib/document.js:583:24) | |
| at model.Document (/home/grdryn/src/feedhenry-raincatcher/raincatcher-demo-clou |
| FROM python:2 | |
| MAINTAINER Jason Sallis <[email protected]> | |
| ENV BRANCH master | |
| RUN git clone -b ${BRANCH} https://git.openstack.org/openstack-infra/jenkins-job-builder | |
| WORKDIR jenkins-job-builder | |
| RUN pip install -r requirements.txt && python setup.py install |
| # Create a new branch from master & checkout | |
| git co -b ungit master | |
| # Make a new blob object | |
| blob_sha1=$(echo "Let's ungit" | git hash-object -w --stdin) | |
| # Add the blob as a file in the index | |
| git update-index --add --cacheinfo 100644 ${blob_sha1} ungit.txt | |
| # Make a tree object from the current index |
| # 🎨 Improve structure / format of the code | |
| # 🗲 ⚡ Improve performance | |
| # 🔥 Remove code or files | |
| # 🐛 Fix a bug | |
| # 🚑 Critical hotfix | |
| # ✨ Introduce new features | |
| # 📝 Write docs | |
| # 🚀 Deploy stuff | |
| # 💄 Update the UI and style files | |
| # 🎉 Initial commit |
I hereby claim:
To claim this, I am signing this object:
Clone an existing Node. If you are using VMs it's quite easy.
Start the new Node (node5).
Then replace all references of the old hostname in /etc
grep -R node4 /etc 2>/dev/null
/etc/openshift.node.conf
/etc/sysconfig/network