Skip to content

Instantly share code, notes, and snippets.

View collins-b's full-sized avatar

collins-b

  • Nairobi, Kenya
View GitHub Profile
{
"name": "mocha-test",
"version": "1.0.0",
"description": "Mocha testing article",
"main": "index.js",
"scripts": {
"start": "node index.js",
"test": "mocha"
},
"author": "Collins",
let mongoose = require("mongoose");
let User = require('../models/user');
let chai = require('chai');
let chaiHttp = require('chai-http');
let server = require('../index');
let should = chai.should();
chai.use(chaiHttp);
apiVersion: v1
kind: Service
metadata:
name: payment-db
spec:
ports:
- port: 5432
selector:
service: payment-db
---
apiVersion: v1
kind: Service
metadata:
name: {{ template "wunder-api.fullname" . }}
labels:
app: {{ template "wunder-api.name" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
{{- if .Values.gateway.service.annotations }}
annotations:
pipeline:
clone-helm-chart:
image: registry.wunder.org/git:master
pull: true
secrets: [plugin_key]
# Assuming a self-hosted repository
repository: git@git.wunder.org:wunder/helm-charts.git
output: helm-charts
branch: master

Keybase proof

I hereby claim:

  • I am collins-b on github.
  • I am wcollins (https://keybase.io/wcollins) on keybase.
  • I have a public key ASCdzZELl3bHKRAMk6AH8K0xoBty0b1-VgvItG7WW0WtkQo

To claim this, I am signing this object: