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

image parameter #98

Merged
merged 1 commit into from
Feb 2, 2024
Merged

image parameter #98

merged 1 commit into from
Feb 2, 2024

Conversation

mathieu-benoit
Copy link
Owner

No description provided.

Copy link

github-actions bot commented Feb 2, 2024

Deployment successfully completed for PR-98! 🎉

View in Humanitec

Deployment ID: 08a53efb64f6127e233347789a0586c38030388a

Domains:

my-sample-app: my-sample-app-pr-98.endpoints.mathieu-benoit-gcp.cloud.goog

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:5ea6e07b7d38e9eadddb83d16289bc86ac9c95109e8f3cfd7e2a7ec9970f74d3"
        }
      ]
    }
  },
  "shared": null
}
Score Output

Score Output:

{
  "id": "08a53efb64f6127e233347789a0586c38030388a",
  "metadata": {
    "env_id": "pr-98",
    "name": "image parameter",
    "url": "https://app.humanitec.io/orgs/my-trial/apps/my-sample-app/envs/pr-98/draft/08a53efb64f6127e233347789a0586c38030388a",
    "created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8",
    "created_at": "2024-02-02T15:28:14.733707864Z",
    "last_modified_at": "2024-02-02T15:28:14.733707864Z"
  },
  "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"
          },
          "containers": {
            "my-sample-app": {
              "id": "my-sample-app",
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:5ea6e07b7d38e9eadddb83d16289bc86ac9c95109e8f3cfd7e2a7ec9970f74d3",
              "variables": {
                "MESSAGE": "Hello, World!",
                "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 merged commit 3590471 into main Feb 2, 2024
2 checks passed
@mathieu-benoit mathieu-benoit deleted the image-parameter branch February 2, 2024 17:35
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