Skip to content

Instantly share code, notes, and snippets.

View vdemeester's full-sized avatar
👷‍♂️
Working from home

Vincent Demeester vdemeester

👷‍♂️
Working from home
View GitHub Profile
@vdemeester
vdemeester / cloudSettings
Last active December 22, 2017 17:58
Visual Studio Code Settings Sync Gist
{"lastUpload":"2017-12-22T17:57:57.359Z","extensionVersion":"v2.8.7"}
# Description: Boxstarter Script
# Author: Vincent Demeester <[email protected]>
# Last Updated: 2017-09-11
#
# Install boxstarter:
# . { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex; get-boxstarter -Force
#
# You might need to set: Set-ExecutionPolicy RemoteSigned
#
# Run this boxstarter by calling the following from an **elevated** command-prompt:
@vdemeester
vdemeester / default.nix
Created April 13, 2018 15:43
buildkit nix
{ stdenv, lib, buildGoPackage }:
buildGoPackage rec {
name = "buildkit-${version}";
version = "preview";
goPackagePath = "github.com/moby/buildkit";
subPackages = [ "cmd/buildkitd" "cmd/buildctl" ];
buildFlags = [ "-tags seccomp" "-tags cgo" "-tags netgo" "-tags static_build" ];
buildFlagsArray = ''
Verifying my Blockstack ID is secured with the address 1BFhR8C95bbgbjLP5Jo5R3ZRXh9nYu7PD3 https://explorer.blockstack.org/address/1BFhR8C95bbgbjLP5Jo5R3ZRXh9nYu7PD3
status: │···
conditions: │···
- lastTransitionTime: 2019-03-13T10:37:37Z │···
message: 'References a Task default/build-simple that doesn''t exist: couldn''t │···
create redirected Build: failed to add entrypoint to steps of TaskRun build-simple: │···
Failed to fetch remote image gcr.io/vde-knative/git-init-4874978a9786b6625dd8b6ef2a21aa70@sha256:f0d537b26d54fb│···
cc807ede1d535b0eb06cb9a814399fa965cb3081a011dc9455: │···
Failed to get container image info from registry gcr.io/vde-knative/git-init-4874978a9786b6625dd8b6ef2a21aa70@s│···
ha256:f0d537b26d54fbcc807ede1d53
#!/usr/bin/env bash
set -e
KEEP_FILES="openshift|.gitignore|LICENSE|Makefile|OWNERS|OWNERS_ALIASES"
git filter-branch --prune-empty -f --index-filter "git ls-tree --name-only HEAD . | grep -vE '$KEEP_FILES' | xargs git rm -r --cached --ignore-unmatch FOO" HEAD
#!/usr/bin/env bash
wget https://storage.googleapis.com/tekton-releases/latest/release.yaml
sed -e 's%\(.* image: \)\(githu.com\)\(.*\/\)\(test\/\)\(.*\)%\1\2 \3\4test-\5%' release.yaml |
sed -e 's%\(.* image: \)\(gcr.io\)\(.*\/\)\(.*\)@\(.*\)%\1 quay.io/openshift-pipeline/tektoncd-pipeline-\4\:v0\.4\.0%' |
# process these images separately as they're passed as arguments to other containers
sed -e 's%gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/bash@\(.*\)%quay.io/openshift-pipeline/tektoncd-pipeline-bash\:v0\.4\.0%g' |
sed -e 's%gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/creds-init@\(.*\)%quay.io/openshift-pipeline/tektoncd-pipeline-creds-init\:v0\.4\.0%g' |
sed -e 's%gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/entrypoint@\(.*\)%quay.io/openshift-pipeline/tektoncd-pipeline-entrypoint\:v0\.4\.0%g' |
sed -e 's%gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init@\(.*\)%quay.io/openshift-pipeline/tektoncd-pipeline-git-init\:v0\.4\.0%g' |
apiVersion: v1
kind: Namespace
metadata:
name: tekton-pipelines
---
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
name: tekton-pipelines
apiVersion: v1
kind: Namespace
metadata:
name: tekton-pipelines
---
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
name: tekton-pipelines
@vdemeester
vdemeester / issue.md
Last active June 4, 2019 13:50
knative/build deprecation issue

Knative Build deprecation in favor of Tekton Pipelines Steering Committee proposal

Author: Vincent Demeester [email protected] Date: June 6 2019

Objective

Propose to mark knative/build as deprecated and drive user to the Tekton project as their building engine. This doc should be used as a forum for external comment and questions, to resolve any concerns before the Steering Committee decides whether to adopt the proposal.

Background