-
Notifications
You must be signed in to change notification settings - Fork 12
/
.env.template
56 lines (49 loc) · 2.35 KB
/
.env.template
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
46
47
48
49
50
51
52
53
54
55
56
# vim: ft=bash
#### Cluster
# Separate kubeconfig for your RHTAP cluster; `oc login` will create it automatically
# Set this to ~/.kube/config if you'd rather use the shared kubeconfig
export KUBECONFIG=/tmp/kubeconfig.rhtap.yaml
#### Templates
# For testing your changes, replace with your fork and branch of tssc-sample-templates
export DEVELOPER_HUB__CATALOG__URL=https://github.com/redhat-appstudio/tssc-sample-templates/blob/main/all.yaml
#### Github
# https://docs.redhat.com/en/documentation/red_hat_trusted_application_pipeline/1.2/html-single/installing_red_hat_trusted_application_pipeline/index#creating_a_github_personal_access_token
export GITOPS__GIT_TOKEN=
### Option 1: create a new github app via rhtap-cli (https://github.com/redhat-appstudio/rhtap-cli)
#
# cd ../rhtap-cli
# make
# ./bin/rhtap-cli --kube-config "$KUBECONFIG" integration github-app --create "$my_app_name" --org "$my_gh_org" --token "$GITOPS__GIT_TOKEN"
#
# ⭐ Leave github_enabled=false for option 1, set to true for option 2
export github_enabled=false
### Option 2: you already have a github app
# The easiest way to get a github app is to use option 1 and save the relevant variables for later reuse
# Use hack/get-github-app-env.sh to get the relevant variables
export GITHUB__APP__ID=
export GITHUB__APP__CLIENT__ID=
export GITHUB__APP__WEBHOOK__SECRET=
export GITHUB__APP__CLIENT__SECRET=
export GITHUB__APP__PRIVATE_KEY=
#### Quay
# You can usually just use the public instance (https://quay.io)
export quay_install_enabled=false
# https://docs.redhat.com/en/documentation/red_hat_trusted_application_pipeline/1.2/html-single/installing_red_hat_trusted_application_pipeline/index#integrating_quay
export QUAY__DOCKERCONFIGJSON=
export QUAY__API_TOKEN=
#### ACS
# ACS tends to be too heavy for dev clusters
export acs_install_enabled=false
# RHTAP devs may be able to provide credentials for a shared ACS instance
export ACS__CENTRAL_ENDPOINT=
export ACS__API_TOKEN=
#### Gitlab
export gitlab_enabled=false
# https://docs.redhat.com/en/documentation/red_hat_trusted_application_pipeline/1.2/html-single/installing_red_hat_trusted_application_pipeline/index#optional_integrating_gitlab
export GITLAB__TOKEN=
#### Jenkins
# https://github.com/redhat-appstudio/rhtap-utils/blob/main/jenkins/README-JENKINS.md
export jenkins_enabled=false
export JENKINS_API_TOKEN=
export JENKINS_URL=
export JENKINS_USERNAME=