Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Update ob-frontend-pr.yaml - add diff in summary #10

Merged
merged 3 commits into from
Jul 14, 2023

Conversation

mathieu-benoit
Copy link
Owner

No description provided.

@github-actions
Copy link

Deployment Complete for PR-10! 🎉

View in Humanitec

Deployment ID: dbd983b9f749d778851c254e351e78d7a33dbc61

Domains:

frontend: schimmelokeefegerlach.newapp.io

Deployment diff

Deployment diff:

{
  "modules": {
    "add": null,
    "remove": [],
    "update": {
      "frontend": [
        {
          "from": "",
          "op": "remove",
          "path": "/spec/containers/frontend/variables/FRONTEND_MESSAGE",
          "value": null
        },
        {
          "from": "",
          "op": "remove",
          "path": "/spec/containers/frontend/variables/CYMBAL_BRANDING",
          "value": null
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/frontend/image",
          "value": "gcr.io/google-samples/microservices-demo/frontend:v0.6.0"
        }
      ]
    }
  },
  "shared": null
}
Score Output

Score Output:

{
  "id": "dbd983b9f749d778851c254e351e78d7a33dbc61",
  "metadata": {
    "env_id": "pr-10",
    "name": "Auto-generated (SCORE)",
    "url": "https://app.humanitec.io/orgs/my-trial/apps/onlineboutique/envs/pr-10/draft/dbd983b9f749d778851c254e351e78d7a33dbc61",
    "created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8",
    "created_at": "2023-07-13T23:32:09.919191968Z",
    "last_modified_at": "2023-07-13T23:32:09.919191968Z"
  },
  "modules": {
    "add": {
      "frontend": {
        "externals": {
          "dns": {
            "type": "dns"
          }
        },
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "frontend": {
              "id": "frontend",
              "image": "gcr.io/google-samples/microservices-demo/frontend:v0.7.0",
              "liveness_probe": {
                "headers": {
                  "Cookie": "shop_session-id=x-liveness-probe"
                },
                "path": "/_healthz",
                "port": 8080,
                "type": "http"
              },
              "readiness_probe": {
                "headers": {
                  "Cookie": "shop_session-id=x-readiness-probe"
                },
                "path": "/_healthz",
                "port": 8080,
                "type": "http"
              },
              "variables": {
                "AD_SERVICE_ADDR": "${modules.adservice.service.name}:9555",
                "CART_SERVICE_ADDR": "${modules.cartservice.service.name}:7070",
                "CHECKOUT_SERVICE_ADDR": "${modules.checkoutservice.service.name}:5050",
                "CURRENCY_SERVICE_ADDR": "${modules.currencyservice.service.name}:7000",
                "CYMBAL_BRANDING": "false",
                "ENABLE_PROFILER": "0",
                "FRONTEND_MESSAGE": "",
                "PAYMENT_SERVICE_ADDR": "${modules.paymentservice.service.name}:50051",
                "PORT": "8080",
                "PRODUCT_CATALOG_SERVICE_ADDR": "${modules.productcatalogservice.service.name}:3550",
                "RECOMMENDATION_SERVICE_ADDR": "${modules.recommendationservice.service.name}:8080",
                "SHIPPING_SERVICE_ADDR": "${modules.shippingservice.service.name}:50051"
              }
            }
          },
          "ingress": {
            "rules": {
              "externals.dns": {
                "http": {
                  "/": {
                    "port": 80,
                    "type": "prefix"
                  }
                }
              }
            }
          },
          "service": {
            "ports": {
              "grpc": {
                "container_port": 8080,
                "protocol": "TCP",
                "service_port": 80
              }
            }
          }
        }
      }
    }
  }
}

@github-actions
Copy link

Deployment Complete for PR-10! 🎉

View in Humanitec

Deployment ID: de25a69b1c6b50912dbdaf0f35b07ff0e2e5c00e

Domains:

frontend: schimmelokeefegerlach.newapp.io

Deployment diff

Deployment diff:

{
  "modules": {
    "add": null,
    "remove": [],
    "update": {
      "frontend": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/frontend/image",
          "value": "gcr.io/google-samples/microservices-demo/frontend:v0.7.0"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/containers/frontend/variables/FRONTEND_MESSAGE",
          "value": ""
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/containers/frontend/variables/CYMBAL_BRANDING",
          "value": "false"
        }
      ]
    }
  },
  "shared": null
}
Score Output

Score Output:

{
  "id": "de25a69b1c6b50912dbdaf0f35b07ff0e2e5c00e",
  "metadata": {
    "env_id": "pr-10",
    "name": "Auto-generated (SCORE)",
    "url": "https://app.humanitec.io/orgs/my-trial/apps/onlineboutique/envs/pr-10/draft/de25a69b1c6b50912dbdaf0f35b07ff0e2e5c00e",
    "created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8",
    "created_at": "2023-07-13T23:38:15.709156941Z",
    "last_modified_at": "2023-07-13T23:38:15.709156941Z"
  },
  "modules": {
    "add": {
      "frontend": {
        "externals": {
          "dns": {
            "type": "dns"
          }
        },
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "frontend": {
              "id": "frontend",
              "image": "gcr.io/google-samples/microservices-demo/frontend:v0.7.0",
              "liveness_probe": {
                "headers": {
                  "Cookie": "shop_session-id=x-liveness-probe"
                },
                "path": "/_healthz",
                "port": 8080,
                "type": "http"
              },
              "readiness_probe": {
                "headers": {
                  "Cookie": "shop_session-id=x-readiness-probe"
                },
                "path": "/_healthz",
                "port": 8080,
                "type": "http"
              },
              "variables": {
                "AD_SERVICE_ADDR": "${modules.adservice.service.name}:9555",
                "CART_SERVICE_ADDR": "${modules.cartservice.service.name}:7070",
                "CHECKOUT_SERVICE_ADDR": "${modules.checkoutservice.service.name}:5050",
                "CURRENCY_SERVICE_ADDR": "${modules.currencyservice.service.name}:7000",
                "CYMBAL_BRANDING": "false",
                "ENABLE_PROFILER": "0",
                "FRONTEND_MESSAGE": "",
                "PAYMENT_SERVICE_ADDR": "${modules.paymentservice.service.name}:50051",
                "PORT": "8080",
                "PRODUCT_CATALOG_SERVICE_ADDR": "${modules.productcatalogservice.service.name}:3550",
                "RECOMMENDATION_SERVICE_ADDR": "${modules.recommendationservice.service.name}:8080",
                "SHIPPING_SERVICE_ADDR": "${modules.shippingservice.service.name}:50051"
              }
            }
          },
          "ingress": {
            "rules": {
              "externals.dns": {
                "http": {
                  "/": {
                    "port": 80,
                    "type": "prefix"
                  }
                }
              }
            }
          },
          "service": {
            "ports": {
              "grpc": {
                "container_port": 8080,
                "protocol": "TCP",
                "service_port": 80
              }
            }
          }
        }
      }
    }
  }
}

@mathieu-benoit mathieu-benoit merged commit 358c82b into main Jul 14, 2023
1 check passed
@mathieu-benoit mathieu-benoit deleted the mathieu-benoit-patch-2 branch July 14, 2023 00:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant