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

Optimize Makefile #120

Merged
merged 3 commits into from
Apr 19, 2024
Merged

Optimize Makefile #120

merged 3 commits into from
Apr 19, 2024

Conversation

mathieu-benoit
Copy link
Owner

No description provided.

Makefile Show resolved Hide resolved
Copy link

Deployment failed for PR-120! ❌

Errors:

error provisioning resource base-env#base-env GuResID: 96b7c1ea2d070dcc227bf38397c8d1c6988bb5c4. Status: False. Reason: DriverFailed. Message: unexpected response code (500) and error provisioning the resource: HTTP-500: Failed to fetch the resource status
Errors details

Errors details:

[
  {
    "apiVersion": "entity.humanitec.io/v1b1",
    "entity": {},
    "kind": "DeploymentError",
    "metadata": {
      "app_id": "my-sample-app",
      "deploy_id": "17c7af762a1fdfcb",
      "env_id": "pr-120",
      "org_id": "mabenoit"
    },
    "status": {
      "code": "OPR-001",
      "error_type": "",
      "message": "error provisioning resource base-env#base-env GuResID: 96b7c1ea2d070dcc227bf38397c8d1c6988bb5c4. Status: False. Reason: DriverFailed. Message: unexpected response code (500) and error provisioning the resource: HTTP-500: Failed to fetch the resource status",
      "object_id": "",
      "scope": "environment",
      "summary": "Humanitec Operator error"
    }
  },
  {
    "apiVersion": "entity.humanitec.io/v1b1",
    "entity": {},
    "kind": "DeploymentError",
    "metadata": {
      "app_id": "my-sample-app",
      "deploy_id": "17c7af762a1fdfcb",
      "env_id": "pr-120",
      "org_id": "mabenoit"
    },
    "status": {
      "code": "OPR-001",
      "error_type": "",
      "message": "error provisioning resource dns#modules.my-sample-workload.externals.dns GuResID: 6c83c3cdc9d82fb9eccadfa8b50f3c6b1b5fa731. Status: False. Reason: ResourceProvisionError. Message: resolving resource input secrets: getting remote secret tls: secret not found",
      "object_id": "",
      "scope": "environment",
      "summary": "Humanitec Operator error"
    }
  }
]

View in Humanitec

Deployment ID: 17c7af762a1fdfcb

Domains:

Deployment diff

Deployment diff:

{
  "modules": {
    "add": {
      "my-sample-workload": {
        "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.io/workload-artefact-name": "my-sample-app/my-sample-workload",
            "humanitec.io/workload-source": "https://github.com/mathieu-benoit/sail-sharp/blob/optimize-makefile/score/score.yaml"
          },
          "containers": {
            "my-sample-container": {
              "env": [
                {
                  "name": "POD_NAME",
                  "value": "${pod.metadata.name}"
                },
                {
                  "name": "NAMESPACE_NAME",
                  "value": "${pod.metadata.namespace}"
                }
              ],
              "id": "my-sample-container",
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:10fc0e5d5539150ddaeea20722e8eac926fbbf9625250ab7c815ab4f1432d674",
              "resources": {
                "limits": {
                  "cpu": "250m",
                  "memory": "256Mi"
                },
                "requests": {
                  "cpu": "25m",
                  "memory": "64Mi"
                }
              },
              "variables": {
                "MESSAGE": "Hello, World!"
              }
            }
          },
          "service": {
            "ports": {
              "tcp": {
                "container_port": 8080,
                "protocol": "TCP",
                "service_port": 8080
              }
            }
          }
        }
      }
    },
    "remove": [],
    "update": null
  },
  "shared": null
}

Copy link

Deployment failed for PR-120! ❌

Errors:

error provisioning resource dns#modules.my-sample-workload.externals.dns GuResID: 6c83c3cdc9d82fb9eccadfa8b50f3c6b1b5fa731. Status: False. Reason: ResourceProvisionError. Message: resolving resource input secrets: getting remote secret orgs/humanitec/resources/dynamic/default-humanitec-dns/account: secret not found
Errors details

Errors details:

[
  {
    "apiVersion": "entity.humanitec.io/v1b1",
    "entity": {},
    "kind": "DeploymentError",
    "metadata": {
      "app_id": "my-sample-app",
      "deploy_id": "17c7affade6626be",
      "env_id": "pr-120",
      "org_id": "mabenoit"
    },
    "status": {
      "code": "OPR-001",
      "error_type": "",
      "message": "error provisioning resource dns#modules.my-sample-workload.externals.dns GuResID: 6c83c3cdc9d82fb9eccadfa8b50f3c6b1b5fa731. Status: False. Reason: ResourceProvisionError. Message: resolving resource input secrets: getting remote secret orgs/humanitec/resources/dynamic/default-humanitec-dns/account: secret not found",
      "object_id": "",
      "scope": "environment",
      "summary": "Humanitec Operator error"
    }
  },
  {
    "apiVersion": "entity.humanitec.io/v1b1",
    "entity": {},
    "kind": "DeploymentError",
    "metadata": {
      "app_id": "my-sample-app",
      "deploy_id": "17c7affade6626be",
      "env_id": "pr-120",
      "org_id": "mabenoit"
    },
    "status": {
      "code": "OPR-001",
      "error_type": "",
      "message": "error provisioning resource base-env#base-env GuResID: 96b7c1ea2d070dcc227bf38397c8d1c6988bb5c4. Status: False. Reason: DriverFailed. Message: unexpected response code (500) and error provisioning the resource: HTTP-500: Failed to fetch the resource status",
      "object_id": "",
      "scope": "environment",
      "summary": "Humanitec Operator error"
    }
  }
]

View in Humanitec

Deployment ID: 17c7affade6626be

Domains:

Deployment diff

Deployment diff:

{
  "modules": {
    "add": {
      "my-sample-workload": {
        "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.io/workload-artefact-name": "my-sample-app/my-sample-workload",
            "humanitec.io/workload-source": "https://github.com/mathieu-benoit/sail-sharp/blob/optimize-makefile/score/score.yaml"
          },
          "containers": {
            "my-sample-container": {
              "env": [
                {
                  "name": "POD_NAME",
                  "value": "${pod.metadata.name}"
                },
                {
                  "name": "NAMESPACE_NAME",
                  "value": "${pod.metadata.namespace}"
                }
              ],
              "id": "my-sample-container",
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:5d7d2db691bca9ec4131502cf47360ecea70281dfada7d6db45b9aa0df3ad3a3",
              "resources": {
                "limits": {
                  "cpu": "250m",
                  "memory": "256Mi"
                },
                "requests": {
                  "cpu": "25m",
                  "memory": "64Mi"
                }
              },
              "variables": {
                "MESSAGE": "Hello, World!"
              }
            }
          },
          "service": {
            "ports": {
              "tcp": {
                "container_port": 8080,
                "protocol": "TCP",
                "service_port": 8080
              }
            }
          }
        }
      }
    },
    "remove": [],
    "update": null
  },
  "shared": null
}

@mathieu-benoit mathieu-benoit merged commit d7d6e80 into main Apr 19, 2024
1 of 2 checks passed
@mathieu-benoit mathieu-benoit deleted the optimize-makefile branch April 19, 2024 13:13
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.

2 participants