Skip to content

Instantly share code, notes, and snippets.

View savitaashture's full-sized avatar

savitaashture savitaashture

  • Red Hat
  • India,Bangalore
View GitHub Profile
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
name: buildah-pr-test
spec:
pipelineSpec:
tasks:
- name: fetch-repository
taskRef:
params:
[ 2.745372] systemd[1]: Starting Apply Kernel Variables...
[ 2.749045] dracut-cmdline[318]: Using kernel command line parameters: BOOT_IMAGE=(hd0,gpt3)/ostree/rhcos-dc1cb08b72183813903dd02be922f528c093b9ad83b1afe7e46cb8cc952ce162/vmlinuz-5.14.0-284.50.1.el9_2.x86_64 ostree=/ostree/boot.1/rhcos/dc1cb08b72183813903dd02be922f528c093b9ad83b1afe7e46cb8cc952ce162/0 ignition.platform.id=aws console=tty0 console=ttyS0,115200n8 root=UUID=a7190c31-de11-47eb-959f-2a87659db505 rw rootflags=prjquota boot=UUID=ffff43d3-9104-4df9-8bc6-f3b894ae416c systemd.unified_cgroup_hierarchy=1 cgroup_no_v1=all psi=1
[ 2.774159] systemd-sysusers[315]: Creating group 'sgx' with GID 999.
[ 2.778246] systemd-sysusers[315]: Creating group 'users' with GID 100.
[ 2.778328] systemd-sysusers[315]: Creating group 'root' with GID 998.
[ 2.778391] systemd-sysusers[315]: Creating group 'dbus' with GID 81.
[ 2.790029] systemd[1]: Finished Apply Kernel Variables.
[ 2.793464] systemd-sysusers[315]: Creating user 'dbus' (Sys
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
name: buildah-pr-test-for-csi
spec:
workspaces:
- name: shared-workspace
volumeClaimTemplate:
spec:
accessModes:
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
name: buildah-pr-test
spec:
workspaces:
- name: shared-workspace
volumeClaimTemplate:
spec:
accessModes:
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
name: buildah-pr-test
spec:
workspaces:
- name: shared-workspace
volumeClaimTemplate:
spec:
accessModes:
apiVersion: tekton.dev/v1beta1
kind: Task
metadata:
name: buildah
spec:
description: |-
Buildah task builds source into a container image and then pushes it to a container registry.
Buildah Task builds source into a container image using Project Atomic's Buildah build tool.It uses Buildah's support for building from Dockerfiles, using its buildah bud command.This command executes the directives in the Dockerfile to assemble a container image, then pushes that image to a container registry.
params:
- description: Reference of the image buildah will produce.
$ kubectl get deploy -n openshift-pipelines tekton-triggers-core-interceptors -o yaml
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "1"
operator.tekton.dev/last-applied-hash: f444fdaaac747d559bb2db46bb407be7e10eb6d5704f658f5b3f1468fc33361c
creationTimestamp: "2023-11-20T14:22:37Z"
generation: 1
labels:
---
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
name: article-push
annotations:
# The event we are targeting as seen from the webhook payload
# this can be an array too, i.e: [pull_request, push]
pipelinesascode.tekton.dev/on-event: "[push]"
---
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
name: article-pull-request
annotations:
# The event we are targeting as seen from the webhook payload
# this can be an array too, i.e: [pull_request, push]
pipelinesascode.tekton.dev/on-event: "[pull_request]"
{
Ref: "refs/heads/main",
Commits: [github.HeadCommit {
Message: "Update README.md",
Author: github.CommitAuthor {
Name: "savitaanother",
Email: "128460087+savitaanother@users.noreply.github.com",
Login: "savitaanother"
},
URL: "https://github.com/savitaashture/article/commit/63a04fc2d2bc8f0b6eae69547d6678aaf0cd248c",