forked from jkassis/cert-secret-syncer
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
206 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
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: | ||
# override limits for all containers here | ||
limits: {} | ||
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: | ||
# override requests for the pod here | ||
requests: | ||
cpu: 400m | ||
memory: 600Mi | ||
- name: build-make-linux | ||
resources: {} | ||
- name: check-registry | ||
resources: {} | ||
- name: build-container-build | ||
resources: {} | ||
- name: promote-jx-preview | ||
resources: {} | ||
podTemplate: {} | ||
serviceAccountName: tekton-bot | ||
timeout: 12h0m0s | ||
status: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
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: | ||
# override limits for all containers here | ||
limits: {} | ||
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: | ||
# override requests for the pod here | ||
requests: | ||
cpu: 400m | ||
memory: 600Mi | ||
- name: build-make-build | ||
resources: {} | ||
- name: check-registry | ||
resources: {} | ||
- name: build-container-build | ||
resources: {} | ||
- name: promote-changelog | ||
resources: {} | ||
- name: promote-helm-release | ||
resources: {} | ||
- name: promote-jx-promote | ||
resources: {} | ||
podTemplate: {} | ||
serviceAccountName: tekton-bot | ||
timeout: 12h0m0s | ||
status: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM scratch | ||
EXPOSE 8080 | ||
ENTRYPOINT ["/cert-secret-syncer"] | ||
COPY ./bin/ / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
approvers: | ||
- maintainers | ||
reviewers: | ||
- maintainers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
foreignAliases: | ||
- name: users |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
apiVersion: kpt.dev/v1alpha1 | ||
kind: Kptfile | ||
metadata: | ||
name: preview | ||
upstream: | ||
type: git | ||
git: | ||
commit: b52b35506a05e046d54615c3ade97f3aef8bfb08 | ||
repo: https://github.com/jenkins-x/jx3-pipeline-catalog | ||
directory: /helm/preview | ||
ref: master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
environments: | ||
default: | ||
values: | ||
- jx-values.yaml | ||
helmDefaults: | ||
# time in seconds to wait for any individual Kubernetes operation (like Jobs for hooks, and waits on pod/pvc/svc/deployment readiness) (default 300) | ||
timeout: 600 | ||
repositories: | ||
- name: jx3 | ||
url: https://jenkins-x-charts.github.io/repo | ||
releases: | ||
- chart: jx3/jx-verify | ||
name: jx-verify | ||
namespace: '{{ requiredEnv "PREVIEW_NAMESPACE" }}' | ||
- chart: '../charts/{{ requiredEnv "APP_NAME" }}' | ||
name: preview | ||
wait: true | ||
createNamespace: true | ||
namespace: '{{ requiredEnv "PREVIEW_NAMESPACE" }}' | ||
values: | ||
- jx-values.yaml | ||
- values.yaml.gotmpl | ||
hooks: | ||
- events: ["presync"] | ||
showlogs: true | ||
command: "jx" | ||
args: | ||
- secret | ||
- copy | ||
- --create-namespace | ||
- --selector | ||
- "secret.jenkins-x.io/replica-source=true" | ||
- --to | ||
- '{{ requiredEnv "PREVIEW_NAMESPACE" }}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
jxRequirements: | ||
ingress: | ||
namespaceSubDomain: "-pr{{ requiredEnv "PULL_NUMBER" }}." | ||
|
||
image: | ||
repository: "{{ requiredEnv "DOCKER_REGISTRY" }}/{{ requiredEnv "DOCKER_REGISTRY_ORG" }}/{{ requiredEnv "APP_NAME" }}" | ||
tag: "{{ requiredEnv "VERSION" }}" | ||
pullPolicy: "Always" |