This file contains hidden or 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
diff --git a/.ko.yaml b/.ko.yaml | |
index 4afab0e5..a4c14718 100644 | |
--- a/.ko.yaml | |
+++ b/.ko.yaml | |
@@ -1 +1,20 @@ | |
-defaultBaseImage: gcr.io/distroless/base-debian11:nonroot | |
+defaultBaseImage: quay.io/chmouel/ubi9-nonroot | |
+ | |
+builds: | |
+- id: controller |
This file contains hidden or 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
(defun golang-test-detect (&optional rg-extras) | |
(interactive) | |
(let ((results)) | |
(with-temp-buffer | |
(insert (shell-command-to-string "rg -g '*_test.go' '^func\sTest'")) | |
(goto-char (point-min)) | |
(while (re-search-forward "^\\(.+\\):func \\([a-zA-Z_]*\\)" nil t) | |
(let ((filename (match-string 2))) | |
(push (format "%s :: %s" (match-string 1) (match-string 2)) results)))) | |
results)) |
This file contains hidden or 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
# Maintainer: Wesley Moore <[email protected]> | |
pkgname=git-trim | |
pkgver=5686c48 | |
pkgrel=2 | |
pkgdesc='Trims your git remote tracking branches' | |
arch=('i686' 'x86_64') | |
url="https://github.com/foriequal0/git-trim" | |
license=('MIT') | |
depends=('libgit2') | |
makedepends=('cargo') |
This file contains hidden or 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
apiVersion: v1 | |
baseDomain: devcluster.openshift.com | |
compute: | |
- hyperthreading: Enabled | |
name: worker | |
platform: {} | |
replicas: 3 | |
controlPlane: | |
hyperthreading: Enabled | |
name: master |
This file contains hidden or 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
diff --git a/pkg/matcher/cel.go b/pkg/matcher/cel.go | |
index 822d8812..c0a9a416 100644 | |
--- a/pkg/matcher/cel.go | |
+++ b/pkg/matcher/cel.go | |
@@ -5,8 +5,11 @@ import ( | |
"github.com/google/cel-go/cel" | |
"github.com/google/cel-go/checker/decls" | |
+ "github.com/google/cel-go/common/types" | |
"github.com/google/cel-go/common/types/ref" |
This file contains hidden or 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
[package] | |
name = "tekton-rs" | |
version = "0.1.0" | |
authors = ["Chmouel Boudjnah <[email protected]>"] | |
edition = "2018" | |
[dependencies] | |
kube = { version = "0.71.0", features = ["runtime", "derive"] } | |
k8s-openapi = { version = "0.14.0", features = ["v1_23"] } | |
tokio = { version = "1.14.0", features = ["full"] } |
This file contains hidden or 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
global previousWin | |
on getFrontWin() | |
tell application "System Events" | |
set frontApp to first application process whose frontmost is true | |
set frontAppName to name of frontApp | |
return frontAppName | |
end tell | |
end getFrontWin |
This file contains hidden or 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
--- | |
apiVersion: tekton.dev/v1beta1 | |
kind: Task | |
metadata: | |
name: buildah-userns | |
labels: | |
app.kubernetes.io/version: "0.1" | |
annotations: | |
tekton.dev/pipelines.minVersion: "0.12.1" | |
tekton.dev/tags: image-build |
This file contains hidden or 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
ARG BASE_IMG=registry.access.redhat.com/ubi8/ubi | |
FROM $BASE_IMG AS buildah-runner | |
RUN useradd buildah; echo buildah:10000:5000 > /etc/subuid; echo buildah:10000:5000 > /etc/subgid; | |
# https://github.com/containers/buildah/blob/main/docs/tutorials/05-openshift-rootless-build.md | |
# https://github.com/containers/buildah/blob/master/contrib/buildahimage/stable/Dockerfile | |
# https://github.com/containers/buildah/issues/1011 | |
# https://github.com/containers/buildah/issues/3053 |
This file contains hidden or 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
{ | |
"settingsVersion": "1.67", | |
"exclusionRules": [ | |
{ | |
"pattern": "https?://mail.google.com/*", | |
"passKeys": "/jkg" | |
}, | |
{ | |
"pattern": "https?://feedly.com/*", | |
"passKeys": "gjk" |