mirror of
https://github.com/MAKS-IT-COM/maksit-certs-ui.git
synced 2025-12-31 04:00:03 +01:00
updated pipeline file
This commit is contained in:
parent
b30d7903a5
commit
af23f83d25
@ -1,29 +1,33 @@
|
||||
{
|
||||
"version": "1.0",
|
||||
"name": "CI/CD Pipeline",
|
||||
|
||||
"crUrl": "cr.maks-it.com",
|
||||
"crProjectName": "certs-ui",
|
||||
"crSecret": "CR_MAKS_IT",
|
||||
|
||||
"projectContext": "src",
|
||||
|
||||
"jobs": {
|
||||
"build-and-push": {
|
||||
"steps": [
|
||||
{
|
||||
"agent": "kaniko",
|
||||
|
||||
"context": "src",
|
||||
"dockerfile-path": "LetsEncryptServer/Dockerfile",
|
||||
|
||||
"image-name": "${{ env.REGISTRY_URL }}/${{ env.USERNAME }}/certs-ui-server:latest",
|
||||
"username": "${{ env.USERNAME }}",
|
||||
"password": "${{ env.PASSWORD }}"
|
||||
"context": ".",
|
||||
"dockerfile-path": "ReverseProxy/Dockerfile",
|
||||
"image-name": "certs-ui-reverseproxy",
|
||||
"image-tags": ["latest", "1.0.0"]
|
||||
},
|
||||
|
||||
{
|
||||
"agent": "kaniko",
|
||||
|
||||
"context": "src",
|
||||
"context": ".",
|
||||
"dockerfile-path": "LetsEncryptServer/Dockerfile",
|
||||
"image-name": "certs-ui-server",
|
||||
"image-tags": ["latest", "1.0.0"]
|
||||
},
|
||||
{
|
||||
"context": ".",
|
||||
"dockerfile-path": "ClientApp/Dockerfile",
|
||||
|
||||
"image-name": "${{ env.REGISTRY_URL }}/${{ env.USERNAME }}/certs-ui-clientapp:latest",
|
||||
"username": "${{ env.USERNAME }}",
|
||||
"password": "${{ env.PASSWORD }}"
|
||||
"image-name": "certs-ui-clientapp",
|
||||
"image-tags": ["latest", "1.0.0"]
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@ -646,6 +646,84 @@
|
||||
"response": []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "agent",
|
||||
"item": [
|
||||
{
|
||||
"name": "reload service",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"header": [
|
||||
{
|
||||
"key": "x-api-key",
|
||||
"value": "{{agentKey}}"
|
||||
},
|
||||
{
|
||||
"key": "Accept",
|
||||
"value": "application/json"
|
||||
},
|
||||
{
|
||||
"key": "Content-Type",
|
||||
"value": "application/json"
|
||||
}
|
||||
],
|
||||
"body": {
|
||||
"mode": "raw",
|
||||
"raw": "{\r\n \"serviceName\": {{serviceName}}\r\n}",
|
||||
"options": {
|
||||
"raw": {
|
||||
"language": "json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"url": {
|
||||
"raw": "http://websrv0001.corp.maks-it.com:5000/Service/Reload",
|
||||
"protocol": "http",
|
||||
"host": [
|
||||
"websrv0001",
|
||||
"corp",
|
||||
"maks-it",
|
||||
"com"
|
||||
],
|
||||
"port": "5000",
|
||||
"path": [
|
||||
"Service",
|
||||
"Reload"
|
||||
]
|
||||
}
|
||||
},
|
||||
"response": []
|
||||
},
|
||||
{
|
||||
"name": "hello world",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"header": [
|
||||
{
|
||||
"key": "x-api-key",
|
||||
"value": "{{agentKey}}",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"url": {
|
||||
"raw": "http://websrv0001.corp.maks-it.com:5000/HelloWorld",
|
||||
"protocol": "http",
|
||||
"host": [
|
||||
"websrv0001",
|
||||
"corp",
|
||||
"maks-it",
|
||||
"com"
|
||||
],
|
||||
"port": "5000",
|
||||
"path": [
|
||||
"HelloWorld"
|
||||
]
|
||||
}
|
||||
},
|
||||
"response": []
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user