-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1145 from merico-dev/chore-ht
Chore: Add `chart.version` Field And Unify the Indentation Style of the Config Files
- Loading branch information
Showing
20 changed files
with
487 additions
and
467 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,38 @@ | ||
tools: | ||
# name of the tool | ||
- name: argocd | ||
# id of the tool instance | ||
instanceID: default | ||
# format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. | ||
dependsOn: [ ] | ||
# options for the plugin | ||
options: | ||
# Helm repo information, this section is optional | ||
repo: | ||
# name of the Helm repo | ||
name: argo | ||
# url of the Helm repo | ||
url: https://argoproj.github.io/argo-helm | ||
# Helm chart information | ||
chart: | ||
# local path of the chart; if chartPath != "", repo.name and repo.url will be ignored. e.g. "foo.tgz", "./foo.tgz", "/tmp/foo.tgz" | ||
chartPath: "" | ||
# name of the chart | ||
chartName: argo/argo-cd | ||
# release name of the chart | ||
releaseName: argocd | ||
# k8s namespace where ArgoCD will be installed | ||
namespace: argocd | ||
# whether to wait for the release to be deployed or not | ||
wait: true | ||
# the time to wait for any individual Kubernetes operation (like Jobs for hooks). This defaults to 5m0s | ||
timeout: 5m | ||
# whether to perform a CRD upgrade during installation | ||
upgradeCRDs: true | ||
# custom configuration (Optional). You can refer to [ArgoCD values.yaml](https://github.com/argoproj/argo-helm/blob/master/charts/argo-cd/values.yaml) | ||
valuesYaml: | | ||
controller: | ||
service: | ||
port: 8080 | ||
# name of the tool | ||
- name: argocd | ||
# id of the tool instance | ||
instanceID: default | ||
# format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. | ||
dependsOn: [ ] | ||
# options for the plugin | ||
options: | ||
# Helm repo information, this section is optional | ||
repo: | ||
# name of the Helm repo | ||
name: argo | ||
# url of the Helm repo | ||
url: https://argoproj.github.io/argo-helm | ||
# Helm chart information | ||
chart: | ||
# local path of the chart; if chartPath != "", repo.name and repo.url will be ignored. e.g. "foo.tgz", "./foo.tgz", "/tmp/foo.tgz" | ||
chartPath: "" | ||
# name of the chart | ||
chartName: argo/argo-cd | ||
# version of the chart | ||
version: "" | ||
# release name of the chart | ||
releaseName: argocd | ||
# k8s namespace where ArgoCD will be installed | ||
namespace: argocd | ||
# whether to wait for the release to be deployed or not | ||
wait: true | ||
# the time to wait for any individual Kubernetes operation (like Jobs for hooks). This defaults to 5m0s | ||
timeout: 5m | ||
# whether to perform a CRD upgrade during installation | ||
upgradeCRDs: true | ||
# custom configuration (Optional). You can refer to [ArgoCD values.yaml](https://github.com/argoproj/argo-helm/blob/master/charts/argo-cd/values.yaml) | ||
valuesYaml: | | ||
controller: | ||
service: | ||
port: 8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
tools: | ||
# name of the tool | ||
- name: argocdapp | ||
# id of the tool instance | ||
instanceID: default | ||
# format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. | ||
dependsOn: [ "argocd.ARGOCD_INSTANCE_NAME" ] | ||
# options for the plugin | ||
options: | ||
# information on the ArgoCD Application | ||
app: | ||
# name of the ArgoCD Application | ||
name: hello | ||
# where the ArgoCD Application custom resource will be created | ||
namespace: argocd | ||
# destination of the ArgoCD Application | ||
destination: | ||
# on which server to deploy | ||
server: https://kubernetes.default.svc | ||
# in which namespace to deploy | ||
namespace: default | ||
# source of the application | ||
source: | ||
# which values file to use in the Helm chart | ||
valuefile: values.yaml | ||
# path of the Helm chart | ||
path: charts/go-hello-http | ||
# Helm chart repo URL, this is only an example, do not use this | ||
repoURL: YOUR_CHART_REPO_URL | ||
# name of the tool | ||
- name: argocdapp | ||
# id of the tool instance | ||
instanceID: default | ||
# format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. | ||
dependsOn: [ "argocd.ARGOCD_INSTANCE_NAME" ] | ||
# options for the plugin | ||
options: | ||
# information on the ArgoCD Application | ||
app: | ||
# name of the ArgoCD Application | ||
name: hello | ||
# where the ArgoCD Application custom resource will be created | ||
namespace: argocd | ||
# destination of the ArgoCD Application | ||
destination: | ||
# on which server to deploy | ||
server: https://kubernetes.default.svc | ||
# in which namespace to deploy | ||
namespace: default | ||
# source of the application | ||
source: | ||
# which values file to use in the Helm chart | ||
valuefile: values.yaml | ||
# path of the Helm chart | ||
path: charts/go-hello-http | ||
# Helm chart repo URL, this is only an example, do not use this | ||
repoURL: YOUR_CHART_REPO_URL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
92 changes: 46 additions & 46 deletions
92
internal/pkg/show/config/plugins/githubactions-golang.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,48 @@ | ||
tools: | ||
# name of the tool | ||
- name: githubactions-golang | ||
# id of the tool instance | ||
instanceID: default | ||
# format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. | ||
dependsOn: [ ] | ||
# options for the plugin | ||
options: | ||
# the repo's owner. It should be case-sensitive here; strictly use your GitHub user name; please change the value below. | ||
owner: YOUR_GITHUB_USERNAME | ||
# the repo where you'd like to setup GitHub Actions; please change the value below to an existing repo. | ||
# the repo's org. If you set this property, then the new repo will be created under the org you're given, and the "owner" setting above will be ignored. | ||
org: YOUR_ORGANIZATION_NAME | ||
repo: YOUR_REPO_NAME | ||
# programming language specific settings | ||
language: | ||
name: go | ||
# version of the language | ||
version: "1.18" | ||
# main branch of the repo (to which branch the plugin will submit the workflows) | ||
branch: main | ||
build: | ||
# name of the tool | ||
- name: githubactions-golang | ||
# id of the tool instance | ||
instanceID: default | ||
# format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. | ||
dependsOn: [ ] | ||
# options for the plugin | ||
options: | ||
# the repo's owner. It should be case-sensitive here; strictly use your GitHub user name; please change the value below. | ||
owner: YOUR_GITHUB_USERNAME | ||
# the repo where you'd like to setup GitHub Actions; please change the value below to an existing repo. | ||
# the repo's org. If you set this property, then the new repo will be created under the org you're given, and the "owner" setting above will be ignored. | ||
org: YOUR_ORGANIZATION_NAME | ||
repo: YOUR_REPO_NAME | ||
# programming language specific settings | ||
language: | ||
name: go | ||
# version of the language | ||
version: "1.18" | ||
# main branch of the repo (to which branch the plugin will submit the workflows) | ||
branch: main | ||
build: | ||
# default to false | ||
enable: True | ||
# build command, OPTIONAL, the given value below is default value | ||
command: "go build ./..." | ||
test: | ||
# default to false | ||
enable: True | ||
# test command, OPTIONAL, the given value below is default value | ||
command: "go test ./..." | ||
coverage: | ||
# default to false | ||
enable: True | ||
# build command, OPTIONAL, the given value below is default value | ||
command: "go build ./..." | ||
test: | ||
# default to false | ||
enable: True | ||
# test command, OPTIONAL, the given value below is default value | ||
command: "go test ./..." | ||
coverage: | ||
# default to false | ||
enable: False | ||
# go test profile subcommand, OPTIONAL, the given value below is default value | ||
profile: "-race -covermode=atomic" | ||
output: "coverage.out" | ||
docker: | ||
# docker build/push related, default to false | ||
enable: True | ||
registry: | ||
# dockerhub or harbor, default to dockerhub | ||
type: dockerhub | ||
# dockerhub/harbor username | ||
username: YOUR_DOCKERHUB_USERNAME | ||
# dockerhub/harbor image repository name | ||
repository: YOUR_DOCKERHUB_REPOSITORY | ||
enable: False | ||
# go test profile subcommand, OPTIONAL, the given value below is default value | ||
profile: "-race -covermode=atomic" | ||
output: "coverage.out" | ||
docker: | ||
# docker build/push related, default to false | ||
enable: True | ||
registry: | ||
# dockerhub or harbor, default to dockerhub | ||
type: dockerhub | ||
# dockerhub/harbor username | ||
username: YOUR_DOCKERHUB_USERNAME | ||
# dockerhub/harbor image repository name | ||
repository: YOUR_DOCKERHUB_REPOSITORY |
42 changes: 21 additions & 21 deletions
42
internal/pkg/show/config/plugins/githubactions-nodejs.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
tools: | ||
# name of the tool | ||
- name: githubactions-nodejs | ||
# id of the tool instance | ||
instanceID: default | ||
# format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. | ||
dependsOn: [ ] | ||
# options for the plugin | ||
options: | ||
# the repo's owner. It should be case-sensitive here; strictly use your GitHub user name; please change the value below. | ||
owner: YOUR_GITHUB_USERNAME | ||
# the repo's org. If you set this property, then the new repo will be created under the org you're given, and the "owner" setting above will be ignored. | ||
org: YOUR_ORGANIZATION_NAME | ||
# the repo where you'd like to setup GitHub Actions; please change the value below to an existing repo. | ||
repo: YOUR_REPO_NAME | ||
# programming language specific settings | ||
language: | ||
name: nodejs | ||
# version of the language | ||
version: "16.14" | ||
# main branch of the repo (to which branch the plugin will submit the workflows) | ||
branch: main | ||
# name of the tool | ||
- name: githubactions-nodejs | ||
# id of the tool instance | ||
instanceID: default | ||
# format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. | ||
dependsOn: [ ] | ||
# options for the plugin | ||
options: | ||
# the repo's owner. It should be case-sensitive here; strictly use your GitHub user name; please change the value below. | ||
owner: YOUR_GITHUB_USERNAME | ||
# the repo's org. If you set this property, then the new repo will be created under the org you're given, and the "owner" setting above will be ignored. | ||
org: YOUR_ORGANIZATION_NAME | ||
# the repo where you'd like to setup GitHub Actions; please change the value below to an existing repo. | ||
repo: YOUR_REPO_NAME | ||
# programming language specific settings | ||
language: | ||
name: nodejs | ||
# version of the language | ||
version: "16.14" | ||
# main branch of the repo (to which branch the plugin will submit the workflows) | ||
branch: main |
42 changes: 21 additions & 21 deletions
42
internal/pkg/show/config/plugins/githubactions-python.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
tools: | ||
# name of the tool | ||
- name: githubactions-python | ||
# id of the tool instance | ||
instanceID: default | ||
# format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. | ||
dependsOn: [ ] | ||
# options for the plugin | ||
options: | ||
# the repo's owner. It should be case-sensitive here; strictly use your GitHub user name; please change the value below. | ||
owner: YOUR_GITHUB_USERNAME | ||
# the repo's org. If you set this property, then the new repo will be created under the org you're given, and the "owner" setting above will be ignored. | ||
org: YOUR_ORGANIZATION_NAME | ||
# the repo where you'd like to setup GitHub Actions; please change the value below to an existing repo. | ||
repo: YOUR_REPO_NAME | ||
# programming language specific settings | ||
language: | ||
name: python | ||
# version of the language | ||
version: "3.8" | ||
# main branch of the repo (to which branch the plugin will submit the workflows) | ||
branch: main | ||
# name of the tool | ||
- name: githubactions-python | ||
# id of the tool instance | ||
instanceID: default | ||
# format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. | ||
dependsOn: [ ] | ||
# options for the plugin | ||
options: | ||
# the repo's owner. It should be case-sensitive here; strictly use your GitHub user name; please change the value below. | ||
owner: YOUR_GITHUB_USERNAME | ||
# the repo's org. If you set this property, then the new repo will be created under the org you're given, and the "owner" setting above will be ignored. | ||
org: YOUR_ORGANIZATION_NAME | ||
# the repo where you'd like to setup GitHub Actions; please change the value below to an existing repo. | ||
repo: YOUR_REPO_NAME | ||
# programming language specific settings | ||
language: | ||
name: python | ||
# version of the language | ||
version: "3.8" | ||
# main branch of the repo (to which branch the plugin will submit the workflows) | ||
branch: main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
tools: | ||
# name of the tool | ||
- name: gitlabci-generic | ||
# id of the tool instance | ||
instanceID: default | ||
# format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. | ||
dependsOn: [ ] | ||
# options for the plugin | ||
options: | ||
projectRepo: | ||
owner: YOUR_GITLAB_USERNAME | ||
repo: YOUR_GITLAB_REPO_NAME | ||
branch: YOUR_GITLAB_REPO_BRANCH | ||
baseURL: YOUR_GITLAB_HOST_ADDRESS | ||
ci: | ||
remoteURL : https://someplace.com/to/download/your/template | ||
vars: | ||
key1: value1 | ||
key2: value2 | ||
# name of the tool | ||
- name: gitlabci-generic | ||
# id of the tool instance | ||
instanceID: default | ||
# format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. | ||
dependsOn: [ ] | ||
# options for the plugin | ||
options: | ||
projectRepo: | ||
owner: YOUR_GITLAB_USERNAME | ||
repo: YOUR_GITLAB_REPO_NAME | ||
branch: YOUR_GITLAB_REPO_BRANCH | ||
baseURL: YOUR_GITLAB_HOST_ADDRESS | ||
ci: | ||
remoteURL : https://someplace.com/to/download/your/template | ||
vars: | ||
key1: value1 | ||
key2: value2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
tools: | ||
# name of the tool | ||
- name: gitlabci-golang | ||
# id of the tool instance | ||
instanceID: default | ||
# format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. | ||
dependsOn: [ ] | ||
# options for the plugin | ||
options: | ||
projectRepo: | ||
owner: YOUR_GITLAB_USERNAME | ||
repo: YOUR_GITLAB_REPO_NAME | ||
branch: YOUR_GITLAB_REPO_BRANCH | ||
baseURL: YOUR_GITLAB_HOST_ADDRESS | ||
# name of the tool | ||
- name: gitlabci-golang | ||
# id of the tool instance | ||
instanceID: default | ||
# format: name.instanceID; If specified, dtm will make sure the dependency is applied first before handling this tool. | ||
dependsOn: [ ] | ||
# options for the plugin | ||
options: | ||
projectRepo: | ||
owner: YOUR_GITLAB_USERNAME | ||
repo: YOUR_GITLAB_REPO_NAME | ||
branch: YOUR_GITLAB_REPO_BRANCH | ||
baseURL: YOUR_GITLAB_HOST_ADDRESS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.