Skip to content

Instantly share code, notes, and snippets.

@patrickleet
Created November 16, 2018 16:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patrickleet/d34f74f49adc80448e084479ec6e91f2 to your computer and use it in GitHub Desktop.
Save patrickleet/d34f74f49adc80448e084479ec6e91f2 to your computer and use it in GitHub Desktop.
cms
➜ ~ k get cm config -o yaml
apiVersion: v1
data:
config.yaml: |
branch-protection:
orgs:
jenkins-x:
repos:
dummy:
required_status_checks:
contexts:
- serverless-jenkins
patrickleet:
repos:
environment-songstitch-production:
required_status_checks:
contexts:
- promotion-build
environment-songstitch-staging:
required_status_checks:
contexts:
- promotion-build
node-http:
required_status_checks:
contexts:
- serverless-jenkins
protect-tested-repos: true
deck:
spyglass: {}
gerrit: {}
owners_dir_blacklist:
default: null
repos: null
plank: {}
pod_namespace: jx
postsubmits:
jenkins-x/dummy:
- agent: knative-build
branches:
- master
build_spec:
serviceAccountName: knative-build-bot
template:
name: jenkins-base
name: release
patrickleet/environment-songstitch-production:
- agent: knative-build
branches:
- master
build_spec:
serviceAccountName: helm
template:
env:
- name: DEPLOY_NAMESPACE
value: jx-production
name: environment-apply
name: promotion
patrickleet/environment-songstitch-staging:
- agent: knative-build
branches:
- master
build_spec:
serviceAccountName: helm
template:
env:
- name: DEPLOY_NAMESPACE
value: jx-staging
name: environment-apply
name: promotion
patrickleet/node-http:
- agent: knative-build
branches:
- master
build_spec:
serviceAccountName: knative-build-bot
template:
name: jenkins-javascript
name: release
presubmits:
jenkins-x/dummy:
- agent: knative-build
always_run: false
build_spec:
serviceAccountName: knative-build-bot
template:
name: jenkins-base
context: serverless-jenkins
name: serverless-jenkins
rerun_command: /test this
trigger: (?m)^/test( all| this),?(\s+|$)
patrickleet/environment-songstitch-production:
- agent: knative-build
always_run: true
build_spec:
serviceAccountName: knative-build-bot
template:
name: environment-build
context: promotion-build
name: promotion-build
rerun_command: /test this
trigger: (?m)^/test( all| this),?(\s+|$)
patrickleet/environment-songstitch-staging:
- agent: knative-build
always_run: true
build_spec:
serviceAccountName: knative-build-bot
template:
name: environment-build
context: promotion-build
name: promotion-build
rerun_command: /test this
trigger: (?m)^/test( all| this),?(\s+|$)
patrickleet/node-http:
- agent: knative-build
always_run: true
build_spec:
serviceAccountName: knative-build-bot
template:
name: jenkins-javascript
context: serverless-jenkins
name: serverless-jenkins
rerun_command: /test this
trigger: (?m)^/test( all| this),?(\s+|$)
prowjob_namespace: jx
push_gateway: {}
sinker: {}
tide:
context_options:
from-branch-protection: true
skip-unknown-contexts: false
queries:
- labels:
- approved
missingLabels:
- do-not-merge
- do-not-merge/hold
- do-not-merge/work-in-progress
- needs-ok-to-test
- needs-rebase
repos:
- jenkins-x/dummy
- patrickleet/node-http
- missingLabels:
- do-not-merge
- do-not-merge/hold
- do-not-merge/work-in-progress
- needs-ok-to-test
- needs-rebase
repos:
- jenkins-x/dummy-environment
- patrickleet/environment-songstitch-staging
- patrickleet/environment-songstitch-production
target_url: https://tide.foo.bar
kind: ConfigMap
metadata:
creationTimestamp: 2018-11-12T23:23:21Z
name: config
namespace: jx
resourceVersion: "507554"
selfLink: /api/v1/namespaces/jx/configmaps/config
uid: f210a9c3-e6d1-11e8-9b9d-42010a8e00f1
also noticed `target_url: https://tide.foo.bar` - should that be tide.jx.* ?
➜ ~ k get cm plugins -o yaml
apiVersion: v1
data:
plugins.yaml: |
approve:
- lgtm_acts_as_approve: true
repos:
- jenkins-x/dummy
review_acts_as_approve: true
- lgtm_acts_as_approve: true
repos:
- patrickleet/environment-songstitch-staging
review_acts_as_approve: true
- lgtm_acts_as_approve: true
repos:
- patrickleet/environment-songstitch-production
review_acts_as_approve: true
- lgtm_acts_as_approve: true
repos:
- patrickleet/node-http
review_acts_as_approve: true
blunderbuss: {}
cat: {}
cherry_pick_unapproved: {}
config_updater:
maps:
prow/config.yaml:
name: config
prow/plugins.yaml:
name: plugins
heart: {}
owners: {}
plugins:
jenkins-x/dummy:
- config-updater
- approve
- assign
- blunderbuss
- help
- hold
- lgtm
- lifecycle
- size
- trigger
- wip
- heart
- cat
- override
patrickleet/environment-songstitch-production:
- config-updater
- approve
- assign
- blunderbuss
- help
- hold
- lgtm
- lifecycle
- size
- trigger
- wip
- heart
- cat
- override
patrickleet/environment-songstitch-staging:
- config-updater
- approve
- assign
- blunderbuss
- help
- hold
- lgtm
- lifecycle
- size
- trigger
- wip
- heart
- cat
- override
patrickleet/node-http:
- config-updater
- approve
- assign
- blunderbuss
- help
- hold
- lgtm
- lifecycle
- size
- trigger
- wip
- heart
- cat
- override
requiresig: {}
sigmention: {}
slack: {}
welcome: {}
kind: ConfigMap
metadata:
creationTimestamp: 2018-11-12T23:23:21Z
name: plugins
namespace: jx
resourceVersion: "138352"
selfLink: /api/v1/namespaces/jx/configmaps/plugins
uid: f219a0f4-e6d1-11e8-9b9d-42010a8e00f1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment