Skip to content

Instantly share code, notes, and snippets.

View jmelis's full-sized avatar

Jaime Melis jmelis

View GitHub Profile
cluster: [cluster]
namespace: [namespace]
items:
- provider: file
path: /resource.yml
- provider: github
org: app-sre
repo: qontract-server
path: /resource.yml
hash: 8fafb7c24188645c099c0ee7a9f6806b178158dd
$ yarn run build
yarn run v1.13.0
$ rm -rf ./dist && NODE_ENV=production ts-node -O '{"module":"commonjs"}' ./node_modules/.bin/webpack --mode=production
Hash: 2cd80544f41dc3df71f0
Version: webpack 4.28.4
Time: 28435ms
Built at: 01/23/2019 11:45:36 AM
Asset Size Chunks Chunk Names
main-bundle.js 4.92 MiB 0 [emitted] main
Entrypoint main = main-bundle.js
diff -ur out/devtools-api-machine-stacks-f8a-build-master out2/devtools-api-machine-stacks-f8a-build-master
--- out/devtools-api-machine-stacks-f8a-build-master 2018-06-21 08:37:48.093859679 +0200
+++ out2/devtools-api-machine-stacks-f8a-build-master 2018-06-21 08:38:06.083957154 +0200
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<project>
<actions/>
- <description>Managed by Jenkins Job Builder, do not edit manually! Update via https://github.com/openshiftio/openshiftio-cico-jobs
-&lt;!-- Managed by Jenkins Job Builder --&gt;</description>
+ <description>Managed by Jenkins Job Builder, do not edit manually! Update via https://github.com/openshiftio/openshiftio-cico-jobs&lt;!-- Managed by Jenkins Job Builder --&gt;</description>
@jmelis
jmelis / keybase.md
Created November 2, 2016 10:55
keybase.md

Keybase proof

I hereby claim:

  • I am jmelis on github.
  • I am jmelis (https://keybase.io/jmelis) on keybase.
  • I have a public key whose fingerprint is B15B 0B50 CCD1 6865 A9B5 C615 D456 CAF8 E0A2 B233

To claim this, I am signing this object:

<TEMPLATE>
<CONTEXT>
<ETH0_IP><![CDATA[10.189.100.100]]></ETH0_IP>
<NETWORK>NO</NETWORK>
</CONTEXT>
</TEMPLATE>
$ cat template
CONTEXT=[
ETH0_IP=1.1.1.1,
NETWORK=NO]
$ onevm updateconf 15 template
$ onevm show 15 -x|grep ETH0_IP
<ETH0_IP><![CDATA[1.1.1.1]]></ETH0_IP>
<VM>
<TEMPLATE>
<CONTEXT>
<ETH0_IP><![CDATA[10.189.100.100]]></ETH0_IP>
<NETWORK>NO</NETWORK>
</CONTEXT>
</TEMPLATE>
</VM>
#!/usr/bin/env ruby
ONE_LOCATION=ENV["ONE_LOCATION"]
if !ONE_LOCATION
RUBY_LIB_LOCATION="/usr/lib/one/ruby"
else
RUBY_LIB_LOCATION=ONE_LOCATION+"/lib/ruby"
end
127.0.0.1 - - [22/Jan/2014 13:23:53] "GET /worker/imtheworker/job?status=cancelling HTTP/1.1" 200 4 0.0920
NoMethodError - undefined method `cancel' for nil:NilClass:
/usr/lib/one/ruby/oneapps/market/models/app_collection/app.rb:239:in `block in delete'
/usr/lib/one/ruby/oneapps/market/models/collection.rb:87:in `call'
/usr/lib/one/ruby/oneapps/market/models/collection.rb:87:in `block in each'
/usr/lib/one/ruby/oneapps/market/models/collection.rb:86:in `each'
/usr/lib/one/ruby/oneapps/market/models/collection.rb:86:in `each'
/usr/lib/one/ruby/oneapps/market/models/app_collection/app.rb:238:in `delete'
/usr/lib/one/ruby/oneapps/market/controllers/appmarket-server.rb:420:in `block in <main>'
/usr/lib/ruby/gems/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1593:in `call'
.
├── administration
│   ├── authentication
│   ├── hosts_and_clusters
│   ├── monitoring
│   ├── networking
│   ├── other_subsystems
│   ├── references
│   ├── storage
│   ├── sunstone_gui