-
Notifications
You must be signed in to change notification settings - Fork 0
/
.example.env
57 lines (50 loc) · 1.74 KB
/
.example.env
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
57
# Used as admin.clientSecretEnvVar with the unhashed version of
# configuration.auth.internal.clientSecretHash
# from the flyte-binary helm chart values.yaml file
# authType: ClientSecret
# clientId: flytepropeller
# clientSecretEnvVar: FLYTE_OAUTH_CLIENT_SECRET
## nix
CACHIX_CACHE_NAME=sciexp
CACHIX_AUTH_TOKEN=000000000
## Compute
GCP_PROJECT_ID=project-111111
GCP_STORAGE_SCOPES=https://www.googleapis.com/auth/devstorage.read_write
GCP_STORAGE_CONTAINER=project-111111-flyte-meta-cluster
GCP_ARTIFACT_REGISTRY_PATH=us.gcr.io/project/path
## GitHub
GH_ORG=org
GH_REPO_NAME=repo
GH_REPO=org/repo
## Flyte
FLYTE_CLUSTER_ENDPOINT=dns:///cluster.net
FLYTE_OAUTH_CLIENT_SECRET=O0000000000000000000000000000000
FLYTECTL_CONFIG_TEMPLATE=.flyte/config-template.yaml
FLYTECTL_CONFIG=/path/to/config.yaml # required CI, may override constants.py
## Python
WORKFLOW_IMAGE="ghcr.io/repo/image" # tag computed from git
LOG_LEVEL=INFO
## Makefile
WORKFLOW_PROJECT=flytesnacks
WORKFLOW_DOMAIN=development
WORKFLOW_PACKAGE_PATH=src
WORKFLOW_IMPORT_PATH=flytezen.workflows.example
WORKFLOW_NAME=wf
# WORKFLOW_REGISTRATION_MODE=prod
# WORKFLOW_REGISTRATION_MODE=dev
# WORKFLOW_IMPORT_PATH=flytezen.workflows.lrwine
# WORKFLOW_NAME=training_workflow
# WORKFLOW_VERSION="repo-branch-shortsha" # override auto version
WORKFLOW_FILE=workflows/example.py
WORKFLOW_FILE_WORKFLOW_ARGS='{"C": 0.1, "max_iter": 1000}'
GLOBAL_IMAGE_TAG=latest
WORKFLOW_OUTPUT_FORMAT=dot
## Local development
# Toggle to use local dev cluster
# these will override the values above
#
LOCAL_CONTAINER_REGISTRY=localhost:30000
ACTIVE_DOCKERFILE=containers/pkg.Dockerfile
# FLYTECTL_CONFIG=.flyte/config-local.yaml
# WORKFLOW_IMAGE=localhost:30000/flytezen
# KUBECONFIG=/path/to/user/.flyte/sandbox/kubeconfig