Skip to content

Commit 654fa2d

Browse files
author
octane
committed
feat: jx3
1 parent 5fbaa40 commit 654fa2d

File tree

5 files changed

+81
-0
lines changed

5 files changed

+81
-0
lines changed
+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
apiVersion: tekton.dev/v1beta1
2+
kind: PipelineRun
3+
metadata:
4+
name: pullrequest
5+
spec:
6+
pipelineSpec:
7+
tasks:
8+
- name: from-build-pack
9+
resources: {}
10+
taskSpec:
11+
metadata: {}
12+
stepTemplate:
13+
workingDir: /workspace/source
14+
env:
15+
- name: "NEXUS_AUTH"
16+
valueFrom:
17+
secretKeyRef:
18+
name: drivenow-maven-settings
19+
key: NEXUS_AUTH
20+
- name: "KANIKO_ARGS"
21+
value: "--build-arg=NEXUS_AUTH"
22+
23+
steps:
24+
- image: uses:lighthouse:drivenow/jx3-pipelines/docker-helm-promote-pr/pullrequest.yaml@master
25+
podTemplate: {}
26+
serviceAccountName: tekton-bot
27+
timeout: 240h0m0s
28+
status: {}

.lighthouse/jenkins-x/release.yaml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
apiVersion: tekton.dev/v1beta1
2+
kind: PipelineRun
3+
metadata:
4+
name: release
5+
spec:
6+
pipelineSpec:
7+
tasks:
8+
- name: from-build-pack
9+
resources: {}
10+
taskSpec:
11+
metadata: {}
12+
stepTemplate:
13+
workingDir: /workspace/source
14+
env:
15+
- name: "NEXUS_AUTH"
16+
valueFrom:
17+
secretKeyRef:
18+
name: drivenow-maven-settings
19+
key: NEXUS_AUTH
20+
- name: "KANIKO_ARGS"
21+
value: "--build-arg=NEXUS_AUTH"
22+
steps:
23+
- image: uses:lighthouse:drivenow/jx3-pipelines/docker-helm-promote-pr/release.yaml@master
24+
podTemplate: {}
25+
serviceAccountName: tekton-bot
26+
timeout: 240h0m0s
27+
status: {}

.lighthouse/jenkins-x/triggers.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
apiVersion: config.lighthouse.jenkins-x.io/v1alpha1
2+
kind: TriggerConfig
3+
spec:
4+
presubmits:
5+
- name: pr
6+
context: "pr"
7+
always_run: true
8+
optional: false
9+
source: pullrequest.yaml
10+
postsubmits:
11+
- name: release
12+
context: "release"
13+
source: release.yaml
14+
branches:
15+
- ^main$
16+
- ^master$

OWNERS

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
approvers:
2+
- cameronbraid
3+
reviewers:
4+
- cameronbraid

OWNERS_ALIASES

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
aliases:
2+
- cameronbraid
3+
best-approvers:
4+
- cameronbraid
5+
best-reviewers:
6+
- cameronbraid

0 commit comments

Comments
 (0)