-
Notifications
You must be signed in to change notification settings - Fork 0
/
defintion.toml
57 lines (53 loc) · 5.27 KB
/
defintion.toml
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
# Application Name and Version to create an associate the Component Version to
# NOTE: Only needed if you need to assoicate the Component Version to the Application Verion
Application = "" # Name of the Applcation including the full Domain Name
Application_Version = "" # The semantic version for the Application Version
# Component Name, Variant and Version
Name = ""
Variant = "${GIT_BRANCH}"
Version = "v1.0.0.${BUILD_NUM}-g${GIT_COMMIT}" # 1.0.0 should be replace with your starting version string
# Export the derived IMAGE_TAG, DOCKERREPO values to the CI/CD Tool via a shell script when using the `envscript` command line action
[Export]
IMAGE_TAG = "${Variant}-${Version}"
DOCKERREPO = "${DockerRepo}"
# Key/Values to associate to the Component Version. Custom key/values can be added under this section.
[Attributes]
BuildId = "${BUILDID}" # Identifier for the CI job (DERIVED IF NOT SPECIFIED)
BuildNumber = "${BUILD_NUM}" # Build number for the CI job (DERIVED IF NOT SPECIFIED)
BuildUrl = "${BUILD_URL}" # Build url for the CI job (DERIVED IF NOT SPECIFIED)
Chart = "" # Helm Chart for the component
ChartNamespace = "" # Name space for the component to be deployed to
ChartRepo = "" # Helm Chart Repo Name
ChartRepoUrl = "" # Helm Chart Repo Url
ChartVersion = "" # Helm Chart version
CustomAction = "" # Custom Action to assign to the Component
DeployAlways = "" # Set the Always Deploy option Y/N, default is N
DockerBuildDate = "" # Timestamp when the image was created (DERIVED IF NOT SPECIFIED)
DockerRepo = "${DOCKERREPO}" # Registry which the image was pushed to
DockerSha = "${DIGEST}" # Digest for the image (DERIVED IF NOT SPECIFIED)
DockerTag = "${DOCKERTAG}" # Tag for the image
GitBranch = "${GIT_BRANCH}" # Git branch in the git repo (DERIVED IF NOT SPECIFIED)
GitBranchCreateCommit = "${GIT_BRANCH_CREATE_COMMIT}" # Git commit that the branch was created from (DERIVED IF NOT SPECIFIED)
GitBranchCreateTimestamp = "${GIT_BRANCH_CREATE_TIMESTAMP}" # Timestamp of when the branch was created (DERIVED IF NOT SPECIFIED)
GitBranchParent = "${GIT_BRANCH_PARENT}" # The parent branch for the current branch (DERIVED IF NOT SPECIFIED)
GitCommit = "${GIT_COMMIT}" # Git commit that triggered the CI job (DERIVED IF NOT SPECIFIED)
GitCommitAuthors = "${GIT_COMMIT_AUTHORS}" # List of committers for the repo (DERIVED IF NOT SPECIFIED)
GitCommittersCnt = "${GIT_COMMITTERS_CNT}" # Count of GitCommitAuthors (DERIVED IF NOT SPECIFIED)
GitCommitTimestamp = "${GIT_COMMIT_TIMESTAMP}" # Timestamp of the current commit (DERIVED IF NOT SPECIFIED)
GitContribPercentage = "${GIT_CONTRIB_PERCENTAGE}" # GitCommittersCnt / GitTotalCommittersCnt * 100 (DERIVED IF NOT SPECIFIED)
GitLinesAdded = "${GIT_LINES_ADDED}" # Lines added since the previous commit (DERIVED IF NOT SPECIFIED)
GitLinesDeleted = "${GIT_LINES_DELETED}" # Lines deleted since the previous commit (DERIVED IF NOT SPECIFIED)
GitLinesTotal = "${GIT_LINES_TOTAL}" # Total line count for the branch (DERIVED IF NOT SPECIFIED)
GitOrg = "${GIT_ORG}" # Orgranization for the repo (DERIVED IF NOT SPECIFIED)
GitRepo = "${GIT_REPO}" # Git repo that triggered the CI job (DERIVED IF NOT SPECIFIED)
GitRepoProject = "${GIT_REPO_PROJECT}" # Project name part of the repository url (DERIVED IF NOT SPECIFIED)
GitTag = "${GIT_TAG)" # Git tag in the git repo (DERIVED IF NOT SPECIFIED)
GitTotalCommittersCnt = "${GIT_TOTAL_COMMITTERS_CNT}" # Total committers working on this repo
GitUrl = "${GIT_URL}" # Full url to the git repo (DERIVED IF NOT SPECIFIED)
License = "" # License file location in the Git Repo (DERIVED IF NOT SPECIFIED)
operator = "" # Operator name
Readme = "" # Readme file location in the Git Repo (DERIVED IF NOT SPECIFIED)
ServiceOwner = "" # Owner of the Service
ServiceOwnerEmail = "" # Email for the Owner of the Service
ServiceOwnerPhone = "" # Phone number for the Owner of the Service
Swagger = "" # Swagger/OpenApi file location in the Git Repo (DERIVED IF NOT SPECIFIED)