Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Commit

Permalink
Add tutorial field to config.json files (#253)
Browse files Browse the repository at this point in the history
Signed-off-by: Everest <[email protected]>
  • Loading branch information
caioeverest authored Oct 2, 2020
1 parent 55a38d3 commit 1929c42
Show file tree
Hide file tree
Showing 45 changed files with 279 additions and 149 deletions.
6 changes: 4 additions & 2 deletions aws/add/terraform-eks/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
{
"label": "Type the cluster name:",
"name": "cluster_name",
"type": "text"
"type": "text",
"tutorial": "Your EKS cluster name"
},
{
"label": "Type the domain name:",
"name": "domain_name",
"type": "text"
"type": "text",
"tutorial": "Your EKS domain name"
}
]
}
19 changes: 12 additions & 7 deletions aws/add/terraform-vpc/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,27 +28,32 @@
],
"label": "Pick the region: ",
"name": "region",
"type": "text"
"type": "text",
"tutorial": "Choose one option"
},
{
"label": "Type the vpc name:",
"name": "vpc_name",
"type": "text"
"type": "text",
"tutorial": "The vpc name e.g.: some-vpc"
},
{
"label": "Type the vpc_cidr [e.g.: 10.0.0.0/16]:",
"label": "Type the vpc_cidr:",
"name": "vpc_cidr",
"type": "text"
"type": "text",
"tutorial": "The vpc cidr e.g.: 10.0.0.0/16"
},
{
"label": "Type your vpc_azs [e.g.: us-west-1a, us-west-1c]:",
"label": "Type your vpc_azs:",
"name": "vpc_azs",
"type": "text"
"type": "text",
"tutorial": "AWS vpc_azs i.e., us-west-1a, us-west-1c"
},
{
"label": "Type the customer name:",
"name": "customer_name",
"type": "text"
"type": "text",
"tutorial": "A customer name e.g.: something"
}
]
}
13 changes: 8 additions & 5 deletions aws/apply/terraform/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,21 @@
],
"label": "Select your repository URL: ",
"name": "repository",
"type": "text"
"type": "text",
"tutorial": "Choose one option"
},
{
"default": "src",
"label": "Type your terraform files path [src]: ",
"label": "Type your terraform files path: ",
"name": "terraform_path",
"type": "text"
"type": "text",
"tutorial": "Terraform files path e.g.: src"
},
{
"label": "Type your environment name: [ex.: qa, prod]",
"label": "Type your environment name:",
"name": "environment",
"type": "text"
"type": "text",
"tutorial": "Environment name i.e., qa, prod"
},
{
"name": "git_user",
Expand Down
5 changes: 3 additions & 2 deletions aws/clean/bucket/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
"newLabel": "Type new value. ",
"qty": 6
},
"label": "Type your region [ e.g us-east-1 ]: ",
"label": "Type your region: ",
"name": "region",
"type": "text"
"type": "text",
"tutorial": "AWS region i.e., us-east-1, us-west-1, sa-east-1"
}
]
}
8 changes: 5 additions & 3 deletions aws/create/bucket/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@
"newLabel": "Type new value. ",
"qty": 6
},
"label": "Type your region [ e.g us-east-1 ]: ",
"label": "Type your region: ",
"name": "region",
"type": "text"
"type": "text",
"tutorial": "AWS region i.e., us-east-1, us-west-1, sa-east-1"
},
{
"label": "Type bucket name: ",
"name": "bucket",
"type": "text"
"type": "text",
"tutorial": "Bucket name e.g.: some-aws-bucket"
}
]
}
5 changes: 3 additions & 2 deletions aws/delete/bucket/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
"newLabel": "Type new value. ",
"qty": 6
},
"label": "Type your region [ e.g us-east-1 ]: ",
"label": "Type your region: ",
"name": "region",
"type": "text"
"type": "text",
"tutorial": "AWS region i.e., us-east-1, us-west-1, sa-east-1"
}
]
}
14 changes: 9 additions & 5 deletions aws/generate/terraform-project/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,26 @@
{
"label": "Type the project name: ",
"name": "project_name",
"type": "text"
"type": "text",
"tutorial": "Project name e.g.: awesome-project"
},
{
"label": "Type the location (e.g.: /home/user/projects): ",
"label": "Type the location: ",
"name": "project_location",
"type": "text"
"type": "text",
"tutorial": "Project location e.g.: /home/user/projects"
},
{
"label": "Type the terraform bucket name: ",
"name": "bucket_name",
"type": "text"
"type": "text",
"tutorial": "Bucket name e.g.: some-aws-bucket"
},
{
"label": "Type the bucket region: ",
"name": "bucket_region",
"type": "text"
"type": "text",
"tutorial": "AWS region i.e., us-east-1, us-west-1, sa-east-1"
}
]
}
5 changes: 3 additions & 2 deletions aws/list/bucket/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
"newLabel": "Type new value. ",
"qty": 6
},
"label": "Type your region [ e.g us-east-1 ]: ",
"label": "Type your region: ",
"name": "region",
"type": "text"
"type": "text",
"tutorial": "AWS region i.e., us-east-1, us-west-1, sa-east-1"
}
]
}
3 changes: 2 additions & 1 deletion aws/set/context/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
},
"label": "Which context you want to use : ",
"name": "context_name",
"type": "text"
"type": "text",
"tutorial": "Context i.e., default"
}
]
}
6 changes: 4 additions & 2 deletions aws/update/kubeconfig/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
],
"label": "Pick the region: ",
"name": "region",
"type": "text"
"type": "text",
"tutorial": "Choose one option"
},
{
"cache": {
Expand All @@ -48,7 +49,8 @@
},
"label": "Cluster Name: ",
"name": "cluster_name",
"type": "text"
"type": "text",
"tutorial": "Your EKS cluster name"
}
]
}
14 changes: 9 additions & 5 deletions bitbucket/create/repo/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
{
"label": "Project name: ",
"name": "project_name",
"type": "text"
"type": "text",
"tutorial": "Your project name e.g.: awesome-project"
},
{
"label": "Project description: ",
"name": "project_description",
"type": "text"
"type": "text",
"tutorial": "Your project description e.g.: some awesome description"
},
{
"default": "false",
Expand All @@ -19,13 +21,15 @@
],
"label": "Create a private repository?: ",
"name": "private",
"type": "bool"
"type": "bool",
"tutorial": "Choose one option"
},
{
"default": " ",
"label": "Workspace path (ex: /home/user/my-project)\n(Note: An empty value create a Bitbucket repo with just a README file): ",
"label": "Workspace path: ",
"name": "workspace_path",
"type": "text"
"type": "text",
"tutorial": "Your workspace path i.e., /home/user/my-project \n Note: An empty value create a Gitlab repo with just a README file"
},
{
"name": "username",
Expand Down
3 changes: 2 additions & 1 deletion bitbucket/delete/repo/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
{
"label": "Bitbucket project name to delete: ",
"name": "project_name",
"type": "text"
"type": "text",
"tutorial": "The project name that you want to delete e.g.: not-so-awesome-project"
},
{
"name": "username",
Expand Down
12 changes: 8 additions & 4 deletions circleci/add/env/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
},
"label": "Type the repository owner: ",
"name": "repo_owner",
"type": "text"
"type": "text",
"tutorial": "Project owner i.e., yourname"
},
{
"cache": {
Expand All @@ -23,17 +24,20 @@
},
"label": "Type repository name: ",
"name": "repo_name",
"type": "text"
"type": "text",
"tutorial": "Your target project repository i.e., awesome-project"
},
{
"label": "Type the ENV name : ",
"name": "env_name",
"type": "text"
"type": "text",
"tutorial": "Pipeline environment variable name i.e., SOME_NOME"
},
{
"label": "Type the ENV value : ",
"name": "env_value",
"type": "password"
"type": "password",
"tutorial": "Pipeline environment variable value i.e., 1234"
}
]
}
6 changes: 4 additions & 2 deletions circleci/follow/project/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
],
"label": "Select your provider: ",
"name": "provider",
"type": "text"
"type": "text",
"tutorial": "Choose one option"
},
{
"name": "token",
Expand Down Expand Up @@ -40,7 +41,8 @@
},
"label": "Enter the project name to follow: ",
"name": "project",
"type": "text"
"type": "text",
"tutorial": "Your target project repository i.e., awesome-project"
}
]
}
9 changes: 6 additions & 3 deletions git/update/fork/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"default": "master",
"label": "Select destination branch (default: master):",
"name": "branch",
"type": "text"
"type": "text",
"tutorial": "A git branch i.e., master, some-branch, developer"
},
{
"default": "false",
Expand All @@ -20,7 +21,8 @@
],
"label": "Set upstream ? (only first time)",
"name": "setupstream",
"type": "bool"
"type": "bool",
"tutorial": "Choose one option"
},
{
"default": "false",
Expand All @@ -30,7 +32,8 @@
],
"label": "Push after update ?",
"name": "push",
"type": "bool"
"type": "bool",
"tutorial": "Choose one option"
}
]
}
6 changes: 4 additions & 2 deletions github/add/collaborator/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
},
"label": "Type collaborator username: ",
"name": "collaborator_user",
"type": "text"
"type": "text",
"tutorial": "A github username e.g.: someuserzup"
},
{
"cache": {
Expand All @@ -19,7 +20,8 @@
},
"label": "Type repository name: ",
"name": "repository_name",
"type": "text"
"type": "text",
"tutorial": "Target repository name i.e., ritchie-formulas"
},
{
"name": "owner_username",
Expand Down
14 changes: 9 additions & 5 deletions github/create/repo/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
{
"label": "Project name: ",
"name": "project_name",
"type": "text"
"type": "text",
"tutorial": "Your project name e.g.: awesome-project"
},
{
"label": "Project description: ",
"name": "project_description",
"type": "text"
"type": "text",
"tutorial": "Your project description e.g.: Some awesome description"
},
{
"default": "false",
Expand All @@ -19,13 +21,15 @@
],
"label": "Create a private repository?: ",
"name": "private",
"type": "bool"
"type": "bool",
"tutorial": "Choose one option"
},
{
"default": " ",
"label": "Workspace path (ex: /home/user/my-project)\n(Note: An empty value create a GitHub repo with just a README file): ",
"label": "Workspace path: ",
"name": "workspace_path",
"type": "text"
"type": "text",
"tutorial": "Your workspace path i.e., /home/user/my-project \n Note: An empty value create a GitHub repo with just a README file"
},
{
"name": "username",
Expand Down
Loading

0 comments on commit 1929c42

Please sign in to comment.