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
filename: ./examples/taskrun.yaml
INFO[0000] - step: print-date-unix-timestamp
INFO[0000] - step: print-date-human-readable
INFO[0000] - step: list-results
B.
,docker-image://docker.io/library/bash:latestR
amd64linuxZ
I
apiVersion: appstudio.redhat.io
kind: BuildIt
spec:
application:
ref: some-has-app-object
scan: true
sign: true
status:
completionTime: "2020-05-04T02:19:14Z"
conditions:
apiVersion: tekton.dev/v1alpha1
kind: Task
metadata:
name: golang-build
spec:
inputs:
params:
- name: package
description: base package to build in
- name: packages
@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

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
#!/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' |
#!/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
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
Verifying my Blockstack ID is secured with the address 1BFhR8C95bbgbjLP5Jo5R3ZRXh9nYu7PD3 https://explorer.blockstack.org/address/1BFhR8C95bbgbjLP5Jo5R3ZRXh9nYu7PD3