Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
feat: jx3
  • Loading branch information
octane committed Dec 27, 2022
commit 654fa2d88404ce7246c8dfa799af35f850dad2cd
28 changes: 28 additions & 0 deletions .lighthouse/jenkins-x/pullrequest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
name: pullrequest
spec:
pipelineSpec:
tasks:
- name: from-build-pack
resources: {}
taskSpec:
metadata: {}
stepTemplate:
workingDir: /workspace/source
env:
- name: "NEXUS_AUTH"
valueFrom:
secretKeyRef:
name: drivenow-maven-settings
key: NEXUS_AUTH
- name: "KANIKO_ARGS"
value: "--build-arg=NEXUS_AUTH"

steps:
- image: uses:lighthouse:drivenow/jx3-pipelines/docker-helm-promote-pr/pullrequest.yaml@master
podTemplate: {}
serviceAccountName: tekton-bot
timeout: 240h0m0s
status: {}
27 changes: 27 additions & 0 deletions .lighthouse/jenkins-x/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
name: release
spec:
pipelineSpec:
tasks:
- name: from-build-pack
resources: {}
taskSpec:
metadata: {}
stepTemplate:
workingDir: /workspace/source
env:
- name: "NEXUS_AUTH"
valueFrom:
secretKeyRef:
name: drivenow-maven-settings
key: NEXUS_AUTH
- name: "KANIKO_ARGS"
value: "--build-arg=NEXUS_AUTH"
steps:
- image: uses:lighthouse:drivenow/jx3-pipelines/docker-helm-promote-pr/release.yaml@master
podTemplate: {}
serviceAccountName: tekton-bot
timeout: 240h0m0s
status: {}
16 changes: 16 additions & 0 deletions .lighthouse/jenkins-x/triggers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: config.lighthouse.jenkins-x.io/v1alpha1
kind: TriggerConfig
spec:
presubmits:
- name: pr
context: "pr"
always_run: true
optional: false
source: pullrequest.yaml
postsubmits:
- name: release
context: "release"
source: release.yaml
branches:
- ^main$
- ^master$
4 changes: 4 additions & 0 deletions OWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
approvers:
- cameronbraid
reviewers:
- cameronbraid
6 changes: 6 additions & 0 deletions OWNERS_ALIASES
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
aliases:
- cameronbraid
best-approvers:
- cameronbraid
best-reviewers:
- cameronbraid