-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
humctl
0.19.1 - score validate
& score deploy
#109
Conversation
Deployment successfully completed for PR-109! 🎉View in HumanitecDeployment ID: 17c0c57966b99ead Domains:my-sample-app: rodriguezbodekoelpindanielbalistrerivandervort.newapp.io Deployment diffDeployment diff:{
"modules": {
"add": null,
"remove": [],
"update": {
"my-sample-app": [
{
"from": "",
"op": "replace",
"path": "/spec/containers/my-sample-app/image",
"value": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:f55720f0e76ecf7781cc43a24653860a0268f194acef54a469664c8e2f221c54"
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/my-sample-app/variables/NAMESPACE_NAME",
"value": null
},
{
"from": "",
"op": "replace",
"path": "/spec/containers/my-sample-app/variables/MESSAGE",
"value": "Hello, Paris!"
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/my-sample-app/variables/POD_NAME",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/my-sample-app/env",
"value": [
{
"name": "POD_NAME",
"value": "${pod.metadata.name}"
},
{
"name": "NAMESPACE_NAME",
"value": "${pod.metadata.namespace}"
}
]
},
{
"from": "",
"op": "add",
"path": "/spec/annotations/humanitec.io~1workload-source",
"value": "https://github.com/mathieu-benoit/sail-sharp/blob/humctl-0-19-1/score/score.yaml"
},
{
"from": "",
"op": "remove",
"path": "/spec/terminationGracePeriodSeconds",
"value": null
}
]
}
},
"shared": null
}
Active Resources UsageActive Resources Usage:
Resources GraphResources Graph:
Score OutputScore Output:{
"id": "1ddabd37e5bf3004f4b0adf5322c4ee26efdf04b",
"metadata": {
"env_id": "pr-109",
"name": "HUMCTL_VERSION: '0.19.1'",
"url": "https://app.humanitec.io/orgs/mabenoit/apps/my-sample-app/envs/pr-109/draft/1ddabd37e5bf3004f4b0adf5322c4ee26efdf04b",
"created_by": "s-bfd1178a-106a-4135-b6e9-95b5a9c92b59",
"created_at": "2024-03-28T00:16:23.184575647Z",
"last_modified_at": "2024-03-28T00:16:23.184575647Z"
},
"modules": {
"add": {
"my-sample-app": {
"externals": {
"dns": {
"class": "default",
"type": "dns"
},
"route": {
"class": "default",
"params": {
"host": "${externals.dns.host}",
"path": "/",
"port": 8080
},
"type": "route"
}
},
"profile": "humanitec/default-module",
"spec": {
"annotations": {
"humanitec.io/managed-by": "score-humanitec",
"humanitec.io/workload-source": "https://github.com/mathieu-benoit/sail-sharp/blob/humctl-0-19-1/score/score.yaml"
},
"containers": {
"my-sample-app": {
"env": [
{
"name": "POD_NAME",
"value": "${pod.metadata.name}"
},
{
"name": "NAMESPACE_NAME",
"value": "${pod.metadata.namespace}"
}
],
"id": "my-sample-app",
"image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:f55720f0e76ecf7781cc43a24653860a0268f194acef54a469664c8e2f221c54",
"resources": {
"limits": {
"cpu": "250m",
"memory": "256Mi"
},
"requests": {
"cpu": "25m",
"memory": "64Mi"
}
},
"variables": {
"MESSAGE": "Hello, Paris!"
}
}
},
"service": {
"ports": {
"tcp": {
"container_port": 8080,
"protocol": "TCP",
"service_port": 8080
}
}
}
}
}
}
}
} |
Deployment successfully completed for PR-109! 🎉View in HumanitecDeployment ID: 17c0c642d0b8e6ba Domains:my-sample-app: rodriguezbodekoelpindanielbalistrerivandervort.newapp.io Deployment diffDeployment diff:{
"modules": {
"add": null,
"remove": [],
"update": {
"my-sample-app": [
{
"from": "",
"op": "remove",
"path": "/spec/terminationGracePeriodSeconds",
"value": null
},
{
"from": "",
"op": "replace",
"path": "/spec/containers/my-sample-app/image",
"value": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:9bfd046f1bdb4b6e54da6c295963e1eb78e65aff69aa1f8ddda1f5df95efeb6c"
},
{
"from": "",
"op": "replace",
"path": "/spec/containers/my-sample-app/variables/MESSAGE",
"value": "Hello, Paris!"
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/my-sample-app/variables/POD_NAME",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/my-sample-app/variables/NAMESPACE_NAME",
"value": null
},
{
"from": "",
"op": "add",
"path": "/spec/containers/my-sample-app/env",
"value": [
{
"name": "POD_NAME",
"value": "${pod.metadata.name}"
},
{
"name": "NAMESPACE_NAME",
"value": "${pod.metadata.namespace}"
}
]
},
{
"from": "",
"op": "add",
"path": "/spec/annotations/humanitec.io~1workload-source",
"value": "https://github.com/mathieu-benoit/sail-sharp/blob/humctl-0-19-1/score/score.yaml"
}
]
}
},
"shared": null
}
Active Resources UsageActive Resources Usage:
Resources GraphResources Graph:
Score OutputScore Output:{
"id": "8147bf21a512f5bf7a37f2d12228cbe5d08541d1",
"metadata": {
"env_id": "pr-109",
"name": "humctl score validate",
"url": "https://app.humanitec.io/orgs/mabenoit/apps/my-sample-app/envs/pr-109/draft/8147bf21a512f5bf7a37f2d12228cbe5d08541d1",
"created_by": "s-bfd1178a-106a-4135-b6e9-95b5a9c92b59",
"created_at": "2024-03-28T00:30:48.283173715Z",
"last_modified_at": "2024-03-28T00:30:48.283173715Z"
},
"modules": {
"add": {
"my-sample-app": {
"externals": {
"dns": {
"class": "default",
"type": "dns"
},
"route": {
"class": "default",
"params": {
"host": "${externals.dns.host}",
"path": "/",
"port": 8080
},
"type": "route"
}
},
"profile": "humanitec/default-module",
"spec": {
"annotations": {
"humanitec.io/managed-by": "score-humanitec",
"humanitec.io/workload-source": "https://github.com/mathieu-benoit/sail-sharp/blob/humctl-0-19-1/score/score.yaml"
},
"containers": {
"my-sample-app": {
"env": [
{
"name": "POD_NAME",
"value": "${pod.metadata.name}"
},
{
"name": "NAMESPACE_NAME",
"value": "${pod.metadata.namespace}"
}
],
"id": "my-sample-app",
"image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:9bfd046f1bdb4b6e54da6c295963e1eb78e65aff69aa1f8ddda1f5df95efeb6c",
"resources": {
"limits": {
"cpu": "250m",
"memory": "256Mi"
},
"requests": {
"cpu": "25m",
"memory": "64Mi"
}
},
"variables": {
"MESSAGE": "Hello, Paris!"
}
}
},
"service": {
"ports": {
"tcp": {
"container_port": 8080,
"protocol": "TCP",
"service_port": 8080
}
}
}
}
}
}
}
} |
Deployment successfully completed for PR-109! 🎉View in HumanitecDeployment ID: 17c0ee74d244572e Domains:my-sample-app: rodriguezbodekoelpindanielbalistrerivandervort.newapp.io Deployment diffDeployment diff:{
"modules": {
"add": null,
"remove": [],
"update": {
"my-sample-app": [
{
"from": "",
"op": "replace",
"path": "/spec/containers/my-sample-app/image",
"value": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:fa4ec67d4fd340528b55e53f502586b30515444aa0de7136e5d06d7ea7f83770"
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/my-sample-app/variables/POD_NAME",
"value": null
},
{
"from": "",
"op": "remove",
"path": "/spec/containers/my-sample-app/variables/NAMESPACE_NAME",
"value": null
},
{
"from": "",
"op": "replace",
"path": "/spec/containers/my-sample-app/variables/MESSAGE",
"value": "Hello, Paris!"
},
{
"from": "",
"op": "add",
"path": "/spec/containers/my-sample-app/env",
"value": [
{
"name": "POD_NAME",
"value": "${pod.metadata.name}"
},
{
"name": "NAMESPACE_NAME",
"value": "${pod.metadata.namespace}"
}
]
},
{
"from": "",
"op": "add",
"path": "/spec/annotations/humanitec.io~1workload-source",
"value": "https://github.com/mathieu-benoit/sail-sharp/blob/humctl-0-19-1/score/score.yaml"
},
{
"from": "",
"op": "remove",
"path": "/spec/terminationGracePeriodSeconds",
"value": null
}
]
}
},
"shared": null
}
Active Resources UsageActive Resources Usage:
Resources GraphResources Graph:
Score OutputScore Output:{
"id": "8882065dc89879e93c977da92bb9366f2cbd29d8",
"metadata": {
"env_id": "pr-109",
"name": "validate --strict",
"url": "https://app.humanitec.io/orgs/mabenoit/apps/my-sample-app/envs/pr-109/draft/8882065dc89879e93c977da92bb9366f2cbd29d8",
"created_by": "s-bfd1178a-106a-4135-b6e9-95b5a9c92b59",
"created_at": "2024-03-28T12:47:23.718965129Z",
"last_modified_at": "2024-03-28T12:47:23.718965129Z"
},
"modules": {
"add": {
"my-sample-app": {
"externals": {
"dns": {
"class": "default",
"type": "dns"
},
"route": {
"class": "default",
"params": {
"host": "${externals.dns.host}",
"path": "/",
"port": 8080
},
"type": "route"
}
},
"profile": "humanitec/default-module",
"spec": {
"annotations": {
"humanitec.io/managed-by": "score-humanitec",
"humanitec.io/workload-source": "https://github.com/mathieu-benoit/sail-sharp/blob/humctl-0-19-1/score/score.yaml"
},
"containers": {
"my-sample-app": {
"env": [
{
"name": "POD_NAME",
"value": "${pod.metadata.name}"
},
{
"name": "NAMESPACE_NAME",
"value": "${pod.metadata.namespace}"
}
],
"id": "my-sample-app",
"image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:fa4ec67d4fd340528b55e53f502586b30515444aa0de7136e5d06d7ea7f83770",
"resources": {
"limits": {
"cpu": "250m",
"memory": "256Mi"
},
"requests": {
"cpu": "25m",
"memory": "64Mi"
}
},
"variables": {
"MESSAGE": "Hello, Paris!"
}
}
},
"service": {
"ports": {
"tcp": {
"container_port": 8080,
"protocol": "TCP",
"service_port": 8080
}
}
}
}
}
}
}
} |
Deployment successfully completed for PR-109! 🎉View in HumanitecDeployment ID: 17c0f05b652b332e Domains:my-sample-app: rodriguezbodekoelpindanielbalistrerivandervort.newapp.io Deployment diffDeployment diff:{
"modules": {
"add": null,
"remove": [],
"update": {
"my-sample-app": [
{
"from": "",
"op": "replace",
"path": "/spec/containers/my-sample-app/image",
"value": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:cbb2d5bfd1271e9333b5b52c88f08206102d57117aa224fe9e6aca9ae38ca18a"
},
{
"from": "",
"op": "add",
"path": "/spec/annotations/humanitec.io~1workload-source",
"value": "https://github.com/mathieu-benoit/sail-sharp/blob/humctl-0-19-1/score/score.yaml"
}
]
}
},
"shared": null
}
Active Resources UsageActive Resources Usage:
Resources GraphResources Graph:
Score OutputScore Output: |
humctl
0.19.1 - score validate
& score deploy
Deployment successfully completed for PR-109! 🎉View in HumanitecDeployment ID: 17c0f0bcb24d88e5 Domains:my-sample-app: rodriguezbodekoelpindanielbalistrerivandervort.newapp.io Deployment diffDeployment diff:{
"modules": {
"add": null,
"remove": [],
"update": {
"my-sample-app": [
{
"from": "",
"op": "add",
"path": "/spec/annotations/humanitec.io~1workload-source",
"value": "https://github.com/mathieu-benoit/sail-sharp/blob/humctl-0-19-1/score/score.yaml"
},
{
"from": "",
"op": "replace",
"path": "/spec/containers/my-sample-app/image",
"value": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:797fef87e59ced1dbc11a32b2f386b233072e8dd5ae2c4a210a49cc4104ede6c"
}
]
}
},
"shared": null
}
Active Resources UsageActive Resources Usage:
Resources GraphResources Graph:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks nice 👍🏻
In addition to #110