+------------------+
| |
| User Terminal +----+ Travis
| | |
+------------------+ | +-------------------------+ +------------------+
| | | | |
+------> Git Tag "release-plz" +------>+ API Deployment |
| | | | |
+------------------+ | +-------------------------+ +-+----------------+
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
$ curl -L https://github.com/hjacobs/kube-resource-report/archive/19.12.0.tar.gz | tar -xz | |
# create `kube-resource-report` in default project | |
$ kubectl label namespace kube-resource-report cert=wildcard | |
$ kubectl config set-context --current --namespace=kube-resource-report | |
$ helm upgrade \ | |
--install \ | |
--set "image.tag=19.12.0" \ | |
--set "ingress.enabled=true" \ | |
--set "ingress.hosts[0].host=kube-resource-report.dev.fabrique.social.gouv.fr" \ | |
--set "ingress.hosts[0].paths[0]=/" \ |
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
(async()=>{ | |
const now = Date.now(); | |
const lastPage = 57; | |
const repository = 31; | |
const delta = 1000 * 60 * 60 * 24 * 31; | |
const host = "https://gitlab.factory.social.gouv.fr" | |
const registry = "https://gitlab.factory.social.gouv.fr/SocialGouv/emjpm/registry" | |
// 1 mouth | |
const isTooOld = ({created_at})=>now - Number(new Date(created_at)) > delta |
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
#!/usr/bin/env bash | |
set -eu -o pipefail | |
# | |
ORIGIN=${1:="origin"} | |
SUPER=${2:="super"} | |
# |
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
{ | |
"errors": [], | |
"warnings": [], | |
"version": "3.6.0", | |
"hash": "71c562100488c2ac824e", | |
"time": 2494, | |
"publicPath": "", | |
"assetsByChunkName": { | |
"main": "bundle.js" | |
}, |
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
{ | |
"userAgent": "Mozilla/5.0 (Linux; Android 6.0.1; Moto G (4) Build/MPJ24.139-64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.20 Mobile Safari/537.36", | |
"lighthouseVersion": "2.0.0", | |
"generatedTime": "2017-06-11T15:47:28.921Z", | |
"initialUrl": "https://react-hn.kristoferbaxter.com/", | |
"url": "https://react-hn.kristoferbaxter.com/", | |
"audits": { | |
"is-on-https": { | |
"score": true, | |
"displayValue": "", |
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
// following https://github.com/angular/angular/blob/2.0.0-beta.6/modules/playground/src/zippy_component/zippy.ts | |
import {Component, EventEmitter, Input, Output} from 'angular2/core'; | |
import {ObservableWrapper} from 'angular2/src/facade/async'; | |
export Zippy; | |
Zippy.annotations = [ | |
new Component({ | |
selector: 'zippy', |
NewerOlder