Skip to content

Instantly share code, notes, and snippets.

apiVersion: experimental.kontinue.io/v1
kind: Workflow
metadata:
name: unit-pass
spec:
sources:
- name: repo
sourceRefs:
- name: git-repo-pass
kind: GitSource
@jwntrs
jwntrs / manifest.yml
Last active September 11, 2020 20:30
apiVersion: experimental.kontinue.io/v1
kind: Workflow
metadata:
name: app
spec:
sources:
- name: repo
sourceRefs:
- name: app
kind: GitSource
apiVersion: experimental.kontinue.io/v1
kind: Workflow
metadata:
name: app
spec:
sources:
- name: repo
sourceRefs:
- name: app
kind: GitSource
apiVersion: experimental.kontinue.io/v1
kind: Workflow
metadata:
name: app
spec:
sources:
- name: repo
sourceRefs:
- name: app
kind: GitSource

Overview

The two most important concepts to understand in kontinue are sources, and workflows.

        *unit* -------------------------- *build* ---------------------- *deploy* ------------- *integration*
[src-code, golang-image]     [src-code, builder-base-image]      [src-code, redis-image]         [src-code]

@jwntrs
jwntrs / future.md
Last active January 15, 2021 18:52

Duck types

The new app stack architecture relies heavily on the use of duck types throughout the system.

But what if the user wants to user a 3rd party tool that doesn't conform to the duck-type.

Exposing custom status

@jwntrs
jwntrs / 00-sc.yml
Last active February 11, 2022 16:00
Resources in templates
apiVersion: carto.run/v1alpha1
kind: ClusterSupplyChain
metadata:
name: supply-chain
spec:
selector:
matchLabels:
workload-type: web
resources:
@jwntrs
jwntrs / 00-gitops-sc.yml
Last active February 23, 2022 15:22
Typed supply chains (ClusterSourceSupplyChain, ClusterImageSupplyChain, ClusterConfigSupplyChain)
apiVersion: carto.run/v1alpha1
kind: ClusterSourceSupplyChain
metadata:
name: gitops-supply-chain
spec:
selector:
matchLabels:
workload-type: web
matchFields:
- {key: ".spec.target", operation: In, value: ["gitops"]}
@jwntrs
jwntrs / 00-sc.yml
Last active February 11, 2022 20:25
Inline typed supply chains
apiVersion: carto.run/v1alpha1
kind: ClusterSupplyChain
metadata:
name: supply-chain
spec:
selector:
matchLabels:
workload-type: web
snippets:
@jwntrs
jwntrs / 00-sc.yml
Last active February 11, 2022 18:29
Nested resources
apiVersion: carto.run/v1alpha1
kind: ClusterSupplyChain
metadata:
name: supply-chain
spec:
selector:
matchLabels:
workload-type: web