Skip to content

Instantly share code, notes, and snippets.

View karthikjeeyar's full-sized avatar

Karthik Jeeyar karthikjeeyar

  • Red Hat
  • Bangalore
View GitHub Profile
apiVersion: tekton.dev/v1beta1
kind: Pipeline
metadata:
name: parallel-pipeline
spec:
tasks:
- name: tkn
params:
- name: TKN_IMAGE
value: >-
apiVersion: appstudio.redhat.com/v1alpha1
kind: IntegrationTestScenario
metadata:
name: application-test
spec:
application: test-application
bundle: "quay.io/kpavic/test-bundle:component-pipeline-pass"
pipeline: component-pipeline-pass
apiVersion: appstudio.redhat.com/v1alpha1
kind: IntegrationTestScenario
metadata:
name: component-integration-test-one
spec:
application: test-application
bundle: "quay.io/kpavic/test-bundle:component-pipeline-pass"
contexts:
- description: Runs only during application testing
name: component
@karthikjeeyar
karthikjeeyar / 00README.md
Created November 10, 2022 09:04 — forked from natefoo/00README.md
Linux Distribution Detection

Distribution Detection

I am working on adding support for building and distributing (via PyPI) Python Wheels with C Extensions to the Python wheel and pip packages. The discussion on Distutils-SIG continues, but I believe it is fairly certain that some effort to correctly identify Linux distributions will need to be made. I've begun efforts to add this support to wheel.

How you can help

If you have a Linux distribution or version of a listed distribution not in this gist, or one of the ones I have not directly verified, I could use the following:

  • The contents of /etc/os-release, if it exists
{
"apiVersion": "appstudio.redhat.com/v1alpha1",
"kind": "Component",
"metadata": {
"annotations": {
"appstudio.openshift.io/component-initial-build": "processed",
"skip-initial-checks": "true"
},
"resourceVersion": "1766689922",
"name": "python-ex-cjby",
apiVersion: backstage.io/v1alpha1
kind: Component
metadata:
annotations:
'backstage.io/kubernetes-id': developer-portal
name: developer-portal
description: An example of a Backstage application.
# Example for optional annotations
# annotations:
# github.com/project-slug: backstage/backstage
@karthikjeeyar
karthikjeeyar / cve_scan_output_format.yaml
Last active November 7, 2023 14:12
Sample CVE task result format
apiVersion: tekton.dev/v1
kind: Task
metadata:
name: scan-task
annotations:
task.output.location: results
task.results.format: application/json
task.results.key: SCAN_OUTPUT
spec:
results:
@karthikjeeyar
karthikjeeyar / sbom_task_format.yaml
Last active November 8, 2023 08:17
Sample SBOM task format
apiVersion: tekton.dev/v1
kind: Task
metadata:
name: sbom-task
annotations:
task.output.location: results
task.results.format: application/text
task.results.key: LINK_TO_SBOM
spec:
results:
apiVersion: tekton.dev/v1
kind: Task
metadata:
name: sbom-task
annotations:
task.output.location: results
task.results.format: application/text
task.results.key: LINK_TO_SBOM
spec:
results: