parent
57d4ae0b6e
commit
971cf91555
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "client",
|
||||
"guide": "https://docs.qaskx.one/templates/build/golang/client",
|
||||
"guide": "{{.SelfFolder}}/client.md",
|
||||
"description": "golang build client template",
|
||||
"variables": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
# Client Build Template
|
||||
|
||||
This template generates a client build Powershell
|
||||
script file that tests and build a Golang pogram.
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "golang",
|
||||
"guide": "https://docs.qaskx.one/templates/build/golang",
|
||||
"guide": "{{.SelfFolder}}/golang.md",
|
||||
"description": "golang build templates",
|
||||
"variables": [
|
||||
{
|
||||
|
|
@ -24,14 +24,14 @@
|
|||
{
|
||||
"engine": "golang",
|
||||
"folder": "{{.SelfFolder}}/definitions/{{.TemplateName}}",
|
||||
"file_name": "build_win.tmpl",
|
||||
"file_name": "build_win.ps1",
|
||||
"output_folder": "^/build",
|
||||
"output_name": "golang_windows.ps1"
|
||||
},
|
||||
{
|
||||
"engine": "golang",
|
||||
"folder": "{{.SelfFolder}}/definitions/{{.TemplateName}}",
|
||||
"file_name": "build_linux.tmpl",
|
||||
"file_name": "build_linux.ps1",
|
||||
"output_folder": "^/build",
|
||||
"output_name": "golang_linux.ps1"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
# Golang Build Template
|
||||
|
||||
This template generates a build Powershell
|
||||
script file that tests and build a Golang pogram.
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "server",
|
||||
"guide": "https://docs.qaskx.one/templates/build/golang/server",
|
||||
"guide": "{{.SelfFolder}}/server.md",
|
||||
"description": "golang build server template",
|
||||
"variables": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
# Server Build Template
|
||||
|
||||
This template generates a server build Powershell
|
||||
script file that tests and build a Golang pogram.
|
||||
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"name": "woodpecker",
|
||||
"guide": "{{.SelfFolder}}/woodpecker.md",
|
||||
"description": "Woodpecker CI template",
|
||||
"variables": [
|
||||
{
|
||||
"label": "Fully Qualified Host Name",
|
||||
"source": "console",
|
||||
"default": "",
|
||||
"name": "Fdqn",
|
||||
"type": "string",
|
||||
"value": ""
|
||||
},
|
||||
{
|
||||
"label": "Design domain",
|
||||
"source": "console",
|
||||
"default": "",
|
||||
"name": "DesignDomain",
|
||||
"type": "string",
|
||||
"value": ""
|
||||
}
|
||||
],
|
||||
"templates": [
|
||||
{
|
||||
"engine": "custom",
|
||||
"folder": "{{.SelfFolder}}/definitions/{{.TemplateName}}",
|
||||
"file_name": "woodpecker.yaml",
|
||||
"output_folder": "^/",
|
||||
"output_name": ".woodpecker.yaml"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
# Woodpecker CI Build Template
|
||||
|
||||
This template generates a woodpecker CI YAML
|
||||
file that tests and build a Golang pogram.
|
||||
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "docker-compose",
|
||||
"guide": "https://docs.qaskx.one/templates/deploy/docker-compose",
|
||||
"description": "deploy using ssh and docker compose for a refresh image not init/mofify setup",
|
||||
"guide": "{{.SelfFolder}}/docker-compose.md",
|
||||
"description": "deploy using ssh and docker compose for a refresh image not init/modify setup",
|
||||
"templates": [
|
||||
{
|
||||
"engine": "",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "kong",
|
||||
"guide": "./kong.md",
|
||||
"guide": "{{.SelfFolder}}/kong.md",
|
||||
"description": "kong gateway template",
|
||||
"templates": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
# Kong Generator
|
||||
# Kong Gateway Generator
|
||||
|
||||
Example generator
|
||||
A Kong gateway can be generated based on the OpenAPI definition that is
|
||||
published by the project.
|
||||
|
||||
The template will use the server and route information to generate a
|
||||
Kong gateway configuration document into the deploy folder
|
||||
for the project.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "traefik",
|
||||
"guide": "https://docs.qaskx.one/templates/deploy/traefik",
|
||||
"guide": "{{.SelfFolder}}/traefik.md",
|
||||
"description": "traefik template",
|
||||
"templates": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -0,0 +1,8 @@
|
|||
# Traefik Gateway Generator
|
||||
|
||||
A Traefik gateway can be generated based on the OpenAPI definition that is
|
||||
published by the project.
|
||||
|
||||
The template will use the server information to generate a
|
||||
Traefik gateway configuration document into the deploy folder
|
||||
for the project.
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "golang",
|
||||
"guide": "https://docs.qaskx.one/templates/project/golang",
|
||||
"guide": "https://docs.qaskx.one/templates/project/golang.html",
|
||||
"description": "golang project template",
|
||||
"templates": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "java",
|
||||
"guide": "https://docs.qaskx.one/templates/project/java",
|
||||
"guide": "https://docs.qaskx.one/templates/project/java.html",
|
||||
"description": "java project template",
|
||||
"templates": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "python",
|
||||
"guide": "https://docs.qaskx.one/templates/project/python",
|
||||
"guide": "https://docs.qaskx.one/templates/project/python.html",
|
||||
"description": "python project template",
|
||||
"templates": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
Write-Host "This script executes the golang 'test' function"
|
||||
|
||||
go test ./...
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "golang",
|
||||
"guide": "https://docs.qaskx.one/templates/test/golang",
|
||||
"guide": "https://docs.qaskx.one/templates/test/golang.html",
|
||||
"description": "golang test templates",
|
||||
"templates": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
# Golang Test Generator
|
||||
|
||||
A Golang test Powershell script can be generated.
|
||||
|
||||
The script is basic.
|
||||
Loading…
Reference in New Issue