-
Notifications
You must be signed in to change notification settings - Fork 1
/
constants.go
67 lines (56 loc) · 2.45 KB
/
constants.go
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
58
59
60
61
62
63
64
65
66
67
package orchestrator
const (
CoatVersion = "latest"
LabelNameManager = "manager"
LabelNameRole = "role"
LabelNameApp = "application"
LabelNameAnalyzer = "analyzer"
EnvNameCodePath = "CODE_PATH"
EnvNameToolboxPath = "TOOLBOX_PATH"
EnvNameMemoryLimit = "MEMORY_LIMIT"
EnvNameCPULimit = "CPU_LIMIT"
EnvNameTimeLimit = "TIME_LIMIT"
EnvNameOnPrem = "ON_PREM"
EnvNameSSHPrivateKey = "SSH_PRIVATE_KEY"
EnvNameSSHPublicKey = "SSH_PUBLIC_KEY"
EnvNamePublisher = "PUBLISHER"
EnvNamePublisherURL = "RESULT_HTTP_URL"
EnvNamePublisherToken = "RESULT_HTTP_TOKEN"
EnvNameResultTask = "RESULT_RMQ_TASK"
EnvNameArtifactsCredentialsPath = "ARTIFACTS_CREDENTIALS_PATH"
EnvNameArtifactsSecretName = "TASK_ARTIFACT_SECRET_NAME"
EnvNameSentryDSN = "SENTRY_DSN"
MarvinCmdCpy = "cp /marvin/marvin /toolbox &&"
MarvinCmdBase = "/toolbox/marvin"
MarvinCmdArgConfig = "--config"
MarvinModeAnalyze = "--analyze"
MarvinModeAutofix = "--autofix"
MarvinModeTransform = "--transform"
MarvinSnippetStorageType = "--snippet-storage-type"
MarvinSnippetStorageBucket = "--snippet-storage-bucket"
CoatCmdName = "/app/coat"
CoatArgNameRunID = "--run-id"
CoatArgNameCheckSeq = "--check-seq"
CoatArgNameRemoteURL = "--remote-url"
CoatArgNameCheckoutOid = "--checkout-oid"
CoatArgNameCloneSubmodules = "--clone-submodules"
CoatArgTestCoverageArtifact = "--artifacts"
CoatArgNameDecryptRemote = "--decrypt-remote-url"
CoatArgSnippetStorageBucket = "--snippet-storage-bucket"
CoatArgSnippetStorageType = "--snippet-storage-type"
CoatArgNameBaseBranch = "--base-branch"
CoatArgPatchMeta = "--patch-meta"
CoatArgArtifacts = "--artifacts"
CoatCPULimit = "1400m"
CoatMemoryLimit = "4000Mi"
CoatCPURequest = "300m"
CoatMemoryRequest = "500Mi"
ScopeAnalysis = "analysis.*"
ScopeAutofix = "autofix.*"
ScopeTransform = "transform.*"
AnalysisResultTask = "contrib.atlas.tasks.store_analysis_run_result"
AutofixResultTask = "contrib.atlas.tasks.store_autofix_run_result"
TransformerResultTask = "contrib.atlas.tasks.store_transformer_run_result"
CancelCheckResultTask = "contrib.atlas.tasks.confirm_check_cancellation"
PatcherResultTask = "contrib.runner.tasks.store_autofix_committer_result"
)