Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions services/prow/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ deck:
name: podinfo
required_files:
- podinfo.json
rerun_auth_configs:
'*':
github_users:
- "hudeng-go"
- "mangosteens"
- "lzwind"
- "Zeno-sole"
- "myml"
- "toberyan"
plank:
job_url_prefix_config:
'*': 'https://prow.deepin.org/view/'
Expand Down
18 changes: 17 additions & 1 deletion services/prow/starter-minio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -566,9 +566,13 @@ spec:
- --github-graphql-endpoint=http://ghproxy/graphql
- --s3-credentials-file=/etc/s3-credentials/service-account.json
- --spyglass=true
- --rerun-creates-job
#- --github-app-id=$(GITHUB_APP_ID)
#- --github-app-private-key-path=/etc/github/cert
- --github-token-path=/etc/github/cert
- --github-oauth-config-file=/etc/githuboauth/secret
- --oauth-url=/github-login
- --cookie-secret=/etc/cookie/secret
env:
- name: GITHUB_APP_ID
valueFrom:
Expand All @@ -591,6 +595,12 @@ spec:
- name: s3-credentials
mountPath: /etc/s3-credentials
readOnly: true
- name: oauth-config
mountPath: /etc/githuboauth
readOnly: true
- name: cookie-secret
mountPath: /etc/cookie
readOnly: true
livenessProbe:
httpGet:
path: /healthz
Expand All @@ -617,6 +627,12 @@ spec:
- name: s3-credentials
secret:
secretName: s3-credentials
- name: oauth-config
secret:
secretName: github-oauth-config
- name: cookie-secret
secret:
secretName: cookie
---
apiVersion: v1
kind: Service
Expand Down Expand Up @@ -934,7 +950,7 @@ rules:
# Required when deck runs with `--rerun-creates-job=true`
# **Warning:** Only use this for non-public deck instances, this allows
# anyone with access to your Deck instance to create new Prowjobs
# - create
- create
---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
Expand Down
Loading