-
Notifications
You must be signed in to change notification settings - Fork 72
/
properties
executable file
·45 lines (37 loc) · 1.61 KB
/
properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# PE can replace these values with on-prem host
export GITHUB__DEFAULT__HOST=github.com
export GITLAB__DEFAULT__HOST=gitlab.com
export BITBUCKET__DEFAULT__HOST=bitbucket.org
export QUAY__DEFAULT__HOST=quay.io
# leave empty if you don't want to set defaults for your git or quay org
export GITHUB__DEFAULT__ORG=""
export GITLAB__DEFAULT__ORG=""
export BITBUCKET__DEFAULT__ORG=""
export QUAY__DEFAULT__ORG=""
# PE can replace these values with own pipeline fork
export PIPELINE__REPO__URL=https://github.com/redhat-appstudio/tssc-sample-pipelines
export PIPELINE__REPO__BRANCH=main
export DEFAULT__DEPLOYMENT__NAMESPACE__PREFIX=rhtap-app
export RHTAP__DEFAULT__NAMESPACE=rhtap
export ARGOCD__DEFAULT__NAMESPACE=rhtap
export ARGOCD__DEFAULT__INSTANCE=default
export ARGOCD__DEFAULT__PROJECT=default
# For secret reference in Repository CRs
# Secret will be prefixed by CI name, gitops (for github), or gitlab, or bitbucket in template
# export GIT__SECRET__DEFAULT__NAME=auth-secret
export GIT__SECRET__DEFAULT__KEY=password
export WEBHOOK__SECRET__DEFAULT__NAME=pipelines-secret
export WEBHOOK__SECRET__DEFAULT__KEY=webhook.secret
# compute the template tag to set defaults, leave empty if not set
if [ ! -z "${GITHUB__DEFAULT__ORG}" ]; then
export DEFAULT_ORG_FOR_GITHUB="default: $GITHUB__DEFAULT__ORG"
fi
if [ ! -z "${GITLAB__DEFAULT__ORG}" ]; then
export DEFAULT_ORG_FOR_GITLAB="default: $GITLAB__DEFAULT__ORG"
fi
if [ ! -z "${BITBUCKET__DEFAULT__ORG}" ]; then
export DEFAULT_ORG_FOR_BITBUCKET="default: $BITBUCKET__DEFAULT__ORG"
fi
if [ ! -z "${QUAY__DEFAULT__ORG}" ]; then
export DEFAULT_ORG_FOR_QUAY="default: $QUAY__DEFAULT__ORG"
fi