qaskx.template/rediops/default/definitions/server/devops.json

233 lines
6.9 KiB
JSON

{
"devops_version": "0.0.3",
"unique_id": "79280656-a6ee-4e97-aae8-a8a1258db799",
"created_on": "2023-07-09T19:05:38+10:00",
"updated_on": "2023-08-13T13:01:34+10:00",
"organisation": "Merebox",
"name": "QASKX CLI",
"asset": {
"id": "",
"name": "qaskx-cli",
"url": ""
},
"owner": {
"email": "architect@qaskx.one",
"web": "https://qaskx.one"
},
"guide": "",
"repository": {
"guide": "",
"artifacts": [
{
"category": "ARTIFACT",
"name": "docker",
"url": "rego.merebox.com/qaskx-cli"
},
{
"category": "ARTIFACT",
"name": "executable",
"url": "qaskx-cli"
}
],
"source": {
"category": "SOURCE",
"name": "git",
"url": "https://tea.merebox.com/qaskx/qaskx.tooling.git"
}
},
"dependency": {
"guide": "",
"apis": [
{
"guide": "https://apicuriows.shaun.sku61.com/sharing/b50006fc-510a-466c-bfa7-3ba808f52d47",
"url": "https://apicuriows.shaun.sku61.com/sharing/b50006fc-510a-466c-bfa7-3ba808f52d47?content=true",
"format": "OpenAPI",
"release_id": "",
"service_id": "rediops",
"name": "RediOps",
"api": {
"category": "API",
"name": "oapi-codegen",
"url": ""
}
},
{
"guide": "",
"url": "https://tea.merebox.com/swagger.v1.json",
"format": "OpenAPI",
"release_id": "",
"service_id": "teagit",
"name": "Gitea server OpenAPI",
"api": {
"category": "API",
"name": "oapi-codegen",
"url": ""
}
},
{
"guide": "",
"url": "<TBA>",
"format": "OpenAPI",
"release_id": "",
"service_id": "authz",
"name": "Authorisation",
"api": {
"category": "API",
"name": "oapi-codegen",
"url": ""
}
},
{
"guide": "",
"url": "<TBA>",
"format": "OpenAPI",
"release_id": "",
"service_id": "featureflag",
"name": "Feature switch",
"api": {
"category": "API",
"name": "oapi-codegen",
"url": ""
}
},
{
"guide": "",
"url": "<TBA>",
"format": "OpenAPI",
"release_id": "",
"service_id": "logger",
"name": "Logger",
"api": {
"category": "API",
"name": "oapi-codegen",
"url": ""
}
}
],
"tools": []
},
"build": [
{
"activity": {
"category": "SOURCE",
"name": "full-win",
"url": ""
},
"platform": "windows",
"config": "command:pwsh-script",
"guide": "",
"script": "^/build/build.ps1"
},
{
"activity": {
"category": "SOURCE",
"name": "normal-win",
"url": ""
},
"platform": "windows",
"config": "",
"guide": "",
"script": "go build -C ./tools/golang -o ../qaskx-cli.exe ./qaskx-cli.go"
},
{
"activity": {
"category": "SOURCE",
"name": "docker-linux",
"url": ""
},
"platform": "linux",
"config": "",
"guide": "",
"script": "^/build/build.sh"
},
{
"activity": {
"category": "SOURCE",
"name": "docker-win",
"url": ""
},
"platform": "windows",
"config": "command:pwsh-script",
"guide": "",
"script": "^/build/deploy.ps1 -redirect $true"
}
],
"test": [
{
"activity": {
"category": "TEST",
"name": "lint-container",
"url": ""
},
"config": "^/build/lint_container.yaml",
"platform": "container",
"guide": "",
"script": "--ruleset /tmp/.spectral.yaml https://apicuriows.shaun.sku61.com/sharing/7969d543-7ddd-4ab3-ba41-28969e3c42c8?content=true"
},
{
"activity": {
"category": "TEST",
"name": "go-test",
"url": ""
},
"config": "",
"platform": "windows",
"guide": "",
"script": "-C ./tools/golang ./cmd ./execute ./config ./generate ./definition ./server ./rediops ./utility"
},
{
"activity": {
"category": "TEST",
"name": "lint-qaskx",
"url": ""
},
"config": "",
"platform": "other",
"guide": "",
"script": "^/tests/lint_rediops_rules_01.yml"
}
],
"deploy": [
{
"guide": "",
"deploy": {
"category": "DEPLOY",
"name": "pwsh"
},
"playbook": "",
"commands": {
"pre": [],
"script": "./build/deploy.ps1 -redirect 1 -dockerRepo rego.merebox.com",
"post": []
}
}
],
"apis": [
{
"guide": "https://apicuriows.shaun.sku61.com/sharing/86f5f760-ac3f-4d6e-a0e4-3466cdaa0c5c",
"url": "https://apicuriows.shaun.sku61.com/sharing/86f5f760-ac3f-4d6e-a0e4-3466cdaa0c5c?content=true",
"format": "OpenAPI",
"release_id": "",
"service_id": "",
"name": "Qaskx Command Line Web",
"api": {
"category": "API",
"name": "oapi-codegen",
"url": ""
}
},
{
"guide": "https://apicuriows.shaun.sku61.com/sharing/7969d543-7ddd-4ab3-ba41-28969e3c42c8",
"url": "https://apicuriows.shaun.sku61.com/sharing/7969d543-7ddd-4ab3-ba41-28969e3c42c8?content=true",
"format": "OpenAPI",
"release_id": "",
"service_id": "",
"name": "Qaskx Policy",
"api": {
"category": "API",
"name": "oapi-codegen",
"url": ""
}
}
]
}