Skip to content
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

Update score.yaml #105

Closed
wants to merge 1 commit into from
Closed

Update score.yaml #105

wants to merge 1 commit into from

Conversation

mathieu-benoit
Copy link
Owner

No description provided.

Copy link

Deployment successfully completed for PR-105! 🎉

View in Humanitec

Deployment ID: 17bc50e8a92ecde5

Domains:

my-sample-app: sauerhudsonbogisich.newapp.io

Deployment diff

Deployment 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:46ada55b74bd83ef325392fba94998262c669cbad8420e1bd5a8e903fca02d16"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-app/variables/MESSAGE",
          "value": "Hello, Test!"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/mathieu-benoit/sail-sharp/blob/mathieu-benoit-patch-1/score/score.yaml"
        }
      ]
    }
  },
  "shared": null
}
Active Resources Usage

Active Resources Usage:


ResType      	Class  	ResID                                	Usage         	Last referencing deployment	Last referencing deployment created ago
agent        	default	agent                                	current deploy	17bc50e8a92ecde5           	51.747003119s                          
base-env     	default	base-env                             	current deploy	17bc50e8a92ecde5           	51.747005193s                          
k8s-cluster  	default	k8s-cluster                          	current deploy	17bc50e8a92ecde5           	51.747006455s                          
k8s-namespace	default	k8s-namespace                        	current deploy	17bc50e8a92ecde5           	51.747007307s                          
logging      	default	logging                              	current deploy	17bc50e8a92ecde5           	51.747008229s                          
workload     	default	modules.my-sample-app                	current deploy	17bc50e8a92ecde5           	51.74700903s                           
dns          	default	modules.my-sample-app.externals.dns  	current deploy	17bc50e8a92ecde5           	51.747009912s                          
ingress      	default	modules.my-sample-app.externals.dns  	current deploy	17bc50e8a92ecde5           	51.747010743s                          
tls-cert     	default	modules.my-sample-app.externals.dns  	current deploy	17bc50e8a92ecde5           	51.747011705s                          
route        	default	modules.my-sample-app.externals.route	current deploy	17bc50e8a92ecde5           	51.747012507s                          

Resources Graph

Resources Graph:


strict digraph {

	label="Resource Graph
app: my-sample-app, env: pr-105

green: virtual nodes (environment, workloads), blue: active resources

";

	labelloc="t";

	overlap="false";

	splines="true";


	"19a4f8c5265ec4baebe9bece2d7310948eb6490b" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-app.externals.dns
type: ingress
class: default
provision time: 28.71ms", style="filled", tooltip="guresid: 19a4f8c5265ec4baebe9bece2d7310948eb6490b",  weight=0 ];

	"19a4f8c5265ec4baebe9bece2d7310948eb6490b" -> "7906b694bce46455e71b4aafddd6280b68c87620" [  weight=0 ];

	"19a4f8c5265ec4baebe9bece2d7310948eb6490b" -> "5f33ac1f2131a3f66ec8f818ab1740e35d394960" [  weight=0 ];

	"34fe42642959cf62ce4bb5dc31acc4c7bbc551af" [ color="2", colorscheme="blues3", fillcolor="1", label="id: base-env
type: base-env
class: default
provision time: 3.777602s", style="filled", tooltip="guresid: 34fe42642959cf62ce4bb5dc31acc4c7bbc551af",  weight=0 ];

	"801a71d839045385229e888db303ba6f3f909d66" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-app.externals.route
type: route
class: default
provision time: 35.863598s", style="filled", tooltip="guresid: 801a71d839045385229e888db303ba6f3f909d66",  weight=0 ];

	"0a9d9f303ea5b11b82cfb371f7e9f315de8583f4" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-app
type: workload
class: default
provision time: 30.768ms", style="filled", tooltip="guresid: 0a9d9f303ea5b11b82cfb371f7e9f315de8583f4",  weight=0 ];

	"0a9d9f303ea5b11b82cfb371f7e9f315de8583f4" -> "801a71d839045385229e888db303ba6f3f909d66" [  weight=0 ];

	"0a9d9f303ea5b11b82cfb371f7e9f315de8583f4" -> "7906b694bce46455e71b4aafddd6280b68c87620" [  weight=0 ];

	"base" [ color="2", colorscheme="greens3", fillcolor="1", label="base", style="filled",  weight=0 ];

	"base" -> "34fe42642959cf62ce4bb5dc31acc4c7bbc551af" [  weight=0 ];

	"my-sample-app" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.my-sample-app", style="filled",  weight=0 ];

	"my-sample-app" -> "base" [  weight=0 ];

	"my-sample-app" -> "0a9d9f303ea5b11b82cfb371f7e9f315de8583f4" [  weight=0 ];

	"7906b694bce46455e71b4aafddd6280b68c87620" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-app.externals.dns
type: dns
class: default
provision time: 35.831492s", style="filled", tooltip="guresid: 7906b694bce46455e71b4aafddd6280b68c87620",  weight=0 ];

	"5f33ac1f2131a3f66ec8f818ab1740e35d394960" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-app.externals.dns
type: tls-cert
class: default
provision time: 146.969ms", style="filled", tooltip="guresid: 5f33ac1f2131a3f66ec8f818ab1740e35d394960",  weight=0 ];

	"5f33ac1f2131a3f66ec8f818ab1740e35d394960" -> "7906b694bce46455e71b4aafddd6280b68c87620" [  weight=0 ];

}


Score Output

Score Output:

{
  "id": "761296f53c14573b70bb7888ab312208796e6add",
  "metadata": {
    "env_id": "pr-105",
    "name": "Update score.yaml",
    "url": "https://app.humanitec.io/orgs/mabenoit/apps/my-sample-app/envs/pr-105/draft/761296f53c14573b70bb7888ab312208796e6add",
    "created_by": "s-bfd1178a-106a-4135-b6e9-95b5a9c92b59",
    "created_at": "2024-03-13T11:55:18.150935322Z",
    "last_modified_at": "2024-03-13T11:55:18.150935322Z"
  },
  "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/mathieu-benoit-patch-1/score/score.yaml"
          },
          "containers": {
            "my-sample-app": {
              "id": "my-sample-app",
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:46ada55b74bd83ef325392fba94998262c669cbad8420e1bd5a8e903fca02d16",
              "resources": {
                "limits": {
                  "cpu": "250m",
                  "memory": "256Mi"
                },
                "requests": {
                  "cpu": "25m",
                  "memory": "64Mi"
                }
              },
              "variables": {
                "MESSAGE": "Hello, Test!",
                "NAMESPACE_NAME": "${pod.metadata.namespace}",
                "POD_NAME": "${pod.metadata.name}"
              }
            }
          },
          "service": {
            "ports": {
              "tcp": {
                "container_port": 8080,
                "protocol": "TCP",
                "service_port": 8080
              }
            }
          },
          "terminationGracePeriodSeconds": 60
        }
      }
    }
  }
}

@mathieu-benoit mathieu-benoit deleted the mathieu-benoit-patch-1 branch March 13, 2024 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant