Skip to content

Commit

Permalink
Merge pull request #6 from spring-financial-group/feat/merge
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhobson authored Jul 28, 2022
2 parents decb995 + 48f5c95 commit 549218a
Show file tree
Hide file tree
Showing 22 changed files with 2,788 additions and 5 deletions.
59 changes: 55 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,66 @@
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib

# Test binary, built with `go test -c`
# Test binary, build with `go test -c`
*.test

# Output of the go coverage tool, specifically when used with LiteIDE
*.out

# Dependency directories (remove the comment below to include it)
# vendor/
debug

# Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736
.glide/

.idea/
*.iml

.vscode/

#Various temporary created while building/running jx.
/build/
/release/
dist/
scanning/
.updatebot-repos/
.terraform/
myvalues.yaml
myvalues.yml
**/extraValues.yaml
changelog.md

# vim swap files
*.swp

#OSX system files.
**/.DS_Store

vendor/**

# if you run `jx install --gitops` locally
jenkins-x-dev-environment

# generated apidocs
docs/apidocs/build
docs/apidocs/includes
docs/apidocs/site

# ignore these files 1 by 1 so we can not ignore the stylesheet override
docs/apidocs/static/FontAwesome.otf
docs/apidocs/static/bootstrap-3.3.7.min.js
docs/apidocs/static/bootstrap.min.css
docs/apidocs/static/font-awesome.min.css
docs/apidocs/static/fontawesome-webfont.eot
docs/apidocs/static/fontawesome-webfont.svg
docs/apidocs/static/fontawesome-webfont.ttf
docs/apidocs/static/fontawesome-webfont.woff
docs/apidocs/static/fontawesome-webfont.woff2
docs/apidocs/static/jquery-3.2.1.min.js
docs/apidocs/static/jquery.scrollTo.min.js
docs/apidocs/static/scroll.js
pkg/jx/cmd/verify-pod.log

plugin.gz
27 changes: 27 additions & 0 deletions .lighthouse/jenkins-x/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
creationTimestamp: null
name: lint
spec:
pipelineSpec:
tasks:
- name: jx-pipeline-lint
resources: {}
taskSpec:
metadata: {}
stepTemplate:
image: uses:jenkins-x/jx3-pipeline-catalog/tasks/go/pullrequest.yaml@versionStream
name: ""
resources: {}
workingDir: /workspace/source
steps:
- image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream
name: ""
resources: {}
- name: make-lint
resources: {}
podTemplate: {}
serviceAccountName: tekton-bot
timeout: 30m0s
status: {}
39 changes: 39 additions & 0 deletions .lighthouse/jenkins-x/pullrequest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
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-plugin/pullrequest.yaml@versionStream
name: ""
resources: {}
workingDir: /workspace/source
steps:
- image: uses:jenkins-x/jx3-pipeline-catalog/tasks/git-clone/git-clone-pr.yaml@versionStream
name: ""
resources: {}
- name: jx-variables
- name: build-make-linux
resources: {}
- name: build-make-test
resources: {}
- name: build-container-build
resources: {}
- image: alpine:3.16
name: semantic-check
resources: {}
script: |
#!/usr/bin/env sh
chmod +x build/jx-semanticcheck
./build/jx-semanticcheck check
podTemplate: {}
serviceAccountName: tekton-bot
timeout: 1h0m0s
status: {}
41 changes: 41 additions & 0 deletions .lighthouse/jenkins-x/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
apiVersion: tekton.dev/v1beta1
kind: PipelineRun
metadata:
creationTimestamp: null
name: release
spec:
pipelineSpec:
tasks:
- name: chart
resources: {}
taskSpec:
metadata: {}
stepTemplate:
image: uses:jenkins-x/jx3-pipeline-catalog/tasks/go-plugin/release.yaml@versionStream
name: ""
resources: {}
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
- name: release-binary
resources: {}
- name: build-and-push-image
resources: {}
- name: chart-docs
resources: {}
- name: release-chart
- name: changelog
resources: {}
- name: upload-binaries
resources: {}
- name: promote-release
resources: {}
podTemplate: {}
serviceAccountName: tekton-bot
timeout: 1h30m
status: {}
25 changes: 25 additions & 0 deletions .lighthouse/jenkins-x/triggers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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"
- name: lint
context: "lint"
always_run: true
optional: false
trigger: (?m)^/test( all| lint),?(s+|$)
rerun_command: /test lint
source: "lint.yaml"
postsubmits:
- name: release
context: "release"
source: "release.yaml"
branches:
- ^main$
- ^master$
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM alpine:3.16
RUN apk upgrade --no-cache \
&& apk add git

COPY ./build/ /

ENTRYPOINT ["./jx-semanticcheck", "version"]
Loading

0 comments on commit 549218a

Please sign in to comment.