Skip to content

Commit

Permalink
Merge pull request #129 from jstrachan/changes2
Browse files Browse the repository at this point in the history
fix: add new pipelines
  • Loading branch information
jstrachan authored Apr 2, 2021
2 parents 3f1f6f2 + c5f2491 commit 0997769
Show file tree
Hide file tree
Showing 5 changed files with 86 additions and 55 deletions.
32 changes: 32 additions & 0 deletions .lighthouse/jenkins-x/pullrequest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
creationTimestamp: null
name: pullrequest
spec:
pipelineSpec:
tasks:
- name: from-build-pack
resources: {}
taskSpec:
metadata: {}
stepTemplate:
image: uses:jenkins-x/jx3-pipeline-catalog/tasks/go/pullrequest.yaml@versionStream
name: ""
resources:
requests:
cpu: 400m
memory: 600Mi
workingDir: /workspace/source
steps:
- image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream
name: ""
resources: {}
- name: jx-variables
resources: {}
- name: build-make-linux
resources: {}
podTemplate: {}
serviceAccountName: tekton-bot
timeout: 240h0m0s
status: {}
36 changes: 36 additions & 0 deletions .lighthouse/jenkins-x/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
creationTimestamp: null
name: release
spec:
pipelineSpec:
tasks:
- name: from-build-pack
resources: {}
taskSpec:
metadata: {}
stepTemplate:
image: uses:jenkins-x/jx3-pipeline-catalog/tasks/go/release.yaml@versionStream
name: ""
resources:
requests:
cpu: 400m
memory: 600Mi
workingDir: /workspace/source
steps:
- image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone.yaml@versionStream
name: ""
resources: {}
- name: next-version
resources: {}
- name: jx-variables
resources: {}
- name: build-make-build
resources: {}
- name: promote-changelog
resources: {}
podTemplate: {}
serviceAccountName: tekton-bot
timeout: 240h0m0s
status: {}
18 changes: 18 additions & 0 deletions .lighthouse/jenkins-x/triggers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: config.lighthouse.jenkins-x.io/v1alpha1
kind: TriggerConfig
spec:
presubmits:
- name: pr
context: "pr"
always_run: true
optional: false
trigger: "/test"
rerun_command: "/retest"
source: "pullrequest.yaml"
postsubmits:
- name: release
context: "release"
source: "release.yaml"
branches:
- main
- master
2 changes: 0 additions & 2 deletions changelog.sh

This file was deleted.

53 changes: 0 additions & 53 deletions jenkins-x.yml

This file was deleted.

0 comments on commit 0997769

Please sign in to comment.