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

Score Humanitec - New route support #69

Merged
merged 19 commits into from
Aug 23, 2023
Merged

Conversation

mathieu-benoit
Copy link
Owner

@mathieu-benoit mathieu-benoit commented Aug 22, 2023

Issue score-spec/score-humanitec#54 found with score-humanitec 0.6.0, fixed with 0.7.0:

Driver parameters invalid
'ip_address', 'ipv6_address' or 'name' should be specified in the resource parameters: resource definition default-humanitec-dns - resource type dns

@github-actions
Copy link

Deployment Complete for PR-69! 🎉

View in Humanitec

Deployment ID: dd6a3a1c11c3447e981efe63b52422a3f4a47323

Domains:

my-sample-app: bechtelarcasperschneiderprohaska.newapp.io

Deployment diff

Deployment diff:

{
  "modules": {
    "add": null,
    "remove": [],
    "update": {
      "my-sample-app": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-app/variables/MESSAGE",
          "value": "Hello, World!"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-app/image",
          "value": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41"
        },
        {
          "from": "",
          "op": "remove",
          "path": "/spec/ingress",
          "value": null
        }
      ]
    }
  },
  "shared": null
}
Score Output

Score Output:

{
  "id": "dd6a3a1c11c3447e981efe63b52422a3f4a47323",
  "metadata": {
    "env_id": "pr-69",
    "name": "Auto-generated (SCORE)",
    "url": "https://app.humanitec.io/orgs/my-trial/apps/my-sample-app/envs/pr-69/draft/dd6a3a1c11c3447e981efe63b52422a3f4a47323",
    "created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8",
    "created_at": "2023-08-22T12:43:06.680670003Z",
    "last_modified_at": "2023-08-22T12:43:06.680670003Z"
  },
  "modules": {
    "add": {
      "my-sample-app": {
        "externals": {
          "dns": {
            "type": "dns"
          }
        },
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "id": "my-sample-app",
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41",
              "variables": {
                "MESSAGE": "Hello, World!"
              }
            }
          },
          "service": {
            "ports": {
              "tcp": {
                "container_port": 8080,
                "protocol": "TCP",
                "service_port": 8080
              }
            }
          }
        }
      }
    }
  }
}

@github-actions
Copy link

Deployment Complete for PR-69! 🎉

View in Humanitec

Deployment ID: 7dd18a13d0deea7df2416c0ce56f148f90e347a3

Domains:

my-sample-app: bechtelarcasperschneiderprohaska.newapp.io

Deployment diff

Deployment diff:

{
  "modules": {
    "add": null,
    "remove": [],
    "update": {
      "my-sample-app": [
        {
          "from": "",
          "op": "remove",
          "path": "/spec/ingress",
          "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:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-app/variables/MESSAGE",
          "value": "Hello, World!"
        },
        {
          "from": "",
          "op": "add",
          "path": "/externals/route",
          "value": {
            "params": {
              "host": "${resources.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        }
      ]
    }
  },
  "shared": null
}
Score Output

Score Output:

{
  "id": "7dd18a13d0deea7df2416c0ce56f148f90e347a3",
  "metadata": {
    "env_id": "pr-69",
    "name": "Auto-generated (SCORE)",
    "url": "https://app.humanitec.io/orgs/my-trial/apps/my-sample-app/envs/pr-69/draft/7dd18a13d0deea7df2416c0ce56f148f90e347a3",
    "created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8",
    "created_at": "2023-08-22T12:45:08.556418315Z",
    "last_modified_at": "2023-08-22T12:45:08.556418315Z"
  },
  "modules": {
    "add": {
      "my-sample-app": {
        "externals": {
          "dns": {
            "type": "dns"
          },
          "route": {
            "params": {
              "host": "${resources.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        },
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "id": "my-sample-app",
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41",
              "variables": {
                "MESSAGE": "Hello, World!"
              }
            }
          },
          "service": {
            "ports": {
              "tcp": {
                "container_port": 8080,
                "protocol": "TCP",
                "service_port": 8080
              }
            }
          }
        }
      }
    }
  }
}

@github-actions
Copy link

Deployment Complete for PR-69! 🎉

View in Humanitec

Deployment ID: 9b3b15a55c156337978131333b5e472101f7b74d

Domains:

my-sample-app: bechtelarcasperschneiderprohaska.newapp.io

Deployment diff

Deployment diff:

{
  "modules": {
    "add": {
      "test": {
        "externals": {},
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "files": {},
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app:v1.7.0",
              "resources": {
                "limits": {
                  "cpu": "0.250",
                  "memory": "256Mi"
                },
                "requests": {
                  "cpu": "0.025",
                  "memory": "64Mi"
                }
              },
              "variables": {},
              "volume_mounts": {}
            }
          }
        }
      }
    },
    "remove": [],
    "update": {
      "my-sample-app": [
        {
          "from": "",
          "op": "remove",
          "path": "/spec/ingress",
          "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:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-app/variables/MESSAGE",
          "value": "Hello, World!"
        },
        {
          "from": "",
          "op": "add",
          "path": "/externals/route",
          "value": {
            "params": {
              "host": "${resources.['dns#modules.my-sample-app.externals.dns'].outputs.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        }
      ]
    }
  },
  "shared": null
}
Score Output

Score Output:

{
  "id": "9b3b15a55c156337978131333b5e472101f7b74d",
  "metadata": {
    "env_id": "pr-69",
    "name": "Auto-generated (SCORE)",
    "url": "https://app.humanitec.io/orgs/my-trial/apps/my-sample-app/envs/pr-69/draft/9b3b15a55c156337978131333b5e472101f7b74d",
    "created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8",
    "created_at": "2023-08-22T13:22:12.820233828Z",
    "last_modified_at": "2023-08-22T13:22:12.820233828Z"
  },
  "modules": {
    "add": {
      "my-sample-app": {
        "externals": {
          "dns": {
            "type": "dns"
          },
          "route": {
            "params": {
              "host": "${resources.['dns#modules.my-sample-app.externals.dns'].outputs.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        },
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "id": "my-sample-app",
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41",
              "variables": {
                "MESSAGE": "Hello, World!"
              }
            }
          },
          "service": {
            "ports": {
              "tcp": {
                "container_port": 8080,
                "protocol": "TCP",
                "service_port": 8080
              }
            }
          }
        }
      }
    }
  }
}

@github-actions
Copy link

Deployment Complete for PR-69! 🎉

View in Humanitec

Deployment ID: 53803deda160dbd597a0fde707ebf7e1aa7f453c

Domains:

my-sample-app: bechtelarcasperschneiderprohaska.newapp.io

Deployment diff

Deployment diff:

{
  "modules": {
    "add": {
      "test": {
        "externals": {},
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "files": {},
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app:v1.7.0",
              "resources": {
                "limits": {
                  "cpu": "0.250",
                  "memory": "256Mi"
                },
                "requests": {
                  "cpu": "0.025",
                  "memory": "64Mi"
                }
              },
              "variables": {},
              "volume_mounts": {}
            }
          }
        }
      }
    },
    "remove": [],
    "update": {
      "my-sample-app": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-app/variables/MESSAGE",
          "value": "Hello, World!"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-app/image",
          "value": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41"
        },
        {
          "from": "",
          "op": "remove",
          "path": "/spec/ingress",
          "value": null
        },
        {
          "from": "",
          "op": "add",
          "path": "/externals/route",
          "value": {
            "params": {
              "host": "${resources['dns#modules.my-sample-app.externals.dns'].outputs.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        }
      ]
    }
  },
  "shared": null
}
Score Output

Score Output:

{
  "id": "53803deda160dbd597a0fde707ebf7e1aa7f453c",
  "metadata": {
    "env_id": "pr-69",
    "name": "Auto-generated (SCORE)",
    "url": "https://app.humanitec.io/orgs/my-trial/apps/my-sample-app/envs/pr-69/draft/53803deda160dbd597a0fde707ebf7e1aa7f453c",
    "created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8",
    "created_at": "2023-08-22T13:33:52.684192193Z",
    "last_modified_at": "2023-08-22T13:33:52.684192193Z"
  },
  "modules": {
    "add": {
      "my-sample-app": {
        "externals": {
          "dns": {
            "type": "dns"
          },
          "route": {
            "params": {
              "host": "${resources['dns#modules.my-sample-app.externals.dns'].outputs.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        },
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "id": "my-sample-app",
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41",
              "variables": {
                "MESSAGE": "Hello, World!"
              }
            }
          },
          "service": {
            "ports": {
              "tcp": {
                "container_port": 8080,
                "protocol": "TCP",
                "service_port": 8080
              }
            }
          }
        }
      }
    }
  }
}

@github-actions
Copy link

Deployment Complete for PR-69! 🎉

View in Humanitec

Deployment ID: 55b188e1e994ff28671ed4ef6859df35a4232eae

Domains:

my-sample-app: bechtelarcasperschneiderprohaska.newapp.io

Deployment diff

Deployment diff:

{
  "modules": {
    "add": {
      "test": {
        "externals": {},
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "files": {},
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app:v1.7.0",
              "resources": {
                "limits": {
                  "cpu": "0.250",
                  "memory": "256Mi"
                },
                "requests": {
                  "cpu": "0.025",
                  "memory": "64Mi"
                }
              },
              "variables": {},
              "volume_mounts": {}
            }
          }
        }
      }
    },
    "remove": [],
    "update": {
      "my-sample-app": [
        {
          "from": "",
          "op": "remove",
          "path": "/spec/ingress",
          "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:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-app/variables/MESSAGE",
          "value": "Hello, World!"
        },
        {
          "from": "",
          "op": "add",
          "path": "/externals/route",
          "value": {
            "params": {
              "host": "${resources['dns#modules.my-sample-app.externals.dns'].outputs.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        }
      ]
    }
  },
  "shared": null
}
Score Output

Score Output:

{
  "id": "55b188e1e994ff28671ed4ef6859df35a4232eae",
  "metadata": {
    "env_id": "pr-69",
    "name": "Auto-generated (SCORE)",
    "url": "https://app.humanitec.io/orgs/my-trial/apps/my-sample-app/envs/pr-69/draft/55b188e1e994ff28671ed4ef6859df35a4232eae",
    "created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8",
    "created_at": "2023-08-22T16:15:34.218873133Z",
    "last_modified_at": "2023-08-22T16:15:34.218873133Z"
  },
  "modules": {
    "add": {
      "my-sample-app": {
        "externals": {
          "dns": {
            "type": "dns"
          },
          "route": {
            "params": {
              "host": "${resources['dns#modules.my-sample-app.externals.dns'].outputs.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        },
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "id": "my-sample-app",
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41",
              "variables": {
                "MESSAGE": "Hello, World!"
              }
            }
          },
          "service": {
            "ports": {
              "tcp": {
                "container_port": 8080,
                "protocol": "TCP",
                "service_port": 8080
              }
            }
          }
        }
      }
    }
  }
}

@github-actions
Copy link

Deployment Complete for PR-69! 🎉

View in Humanitec

Deployment ID: 3d65ccb0bbaecd3a9ab7a70d4cf2453362315cea

Domains:

my-sample-app: bechtelarcasperschneiderprohaska.newapp.io

Deployment diff

Deployment diff:

{
  "modules": {
    "add": {
      "test": {
        "externals": {},
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "files": {},
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app:v1.7.0",
              "resources": {
                "limits": {
                  "cpu": "0.250",
                  "memory": "256Mi"
                },
                "requests": {
                  "cpu": "0.025",
                  "memory": "64Mi"
                }
              },
              "variables": {},
              "volume_mounts": {}
            }
          }
        }
      }
    },
    "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:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-app/variables/MESSAGE",
          "value": "Hello, World!"
        },
        {
          "from": "",
          "op": "remove",
          "path": "/spec/ingress",
          "value": null
        },
        {
          "from": "",
          "op": "add",
          "path": "/externals/route",
          "value": {
            "params": {
              "host": "${resources.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        }
      ]
    }
  },
  "shared": null
}
Score Output

Score Output:

{
  "id": "3d65ccb0bbaecd3a9ab7a70d4cf2453362315cea",
  "metadata": {
    "env_id": "pr-69",
    "name": "Auto-generated (SCORE)",
    "url": "https://app.humanitec.io/orgs/my-trial/apps/my-sample-app/envs/pr-69/draft/3d65ccb0bbaecd3a9ab7a70d4cf2453362315cea",
    "created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8",
    "created_at": "2023-08-22T16:29:49.323054289Z",
    "last_modified_at": "2023-08-22T16:29:49.323054289Z"
  },
  "modules": {
    "add": {
      "my-sample-app": {
        "externals": {
          "dns": {
            "type": "dns"
          },
          "route": {
            "params": {
              "host": "${resources.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        },
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "id": "my-sample-app",
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41",
              "variables": {
                "MESSAGE": "Hello, World!"
              }
            }
          },
          "service": {
            "ports": {
              "tcp": {
                "container_port": 8080,
                "protocol": "TCP",
                "service_port": 8080
              }
            }
          }
        }
      }
    }
  }
}

@github-actions
Copy link

Deployment successfully completed for PR-69! 🎉

View in Humanitec

Deployment ID: cef893044d9e96d14ae1b08b605bd8774882c777

Domains:

my-sample-app: bechtelarcasperschneiderprohaska.newapp.io

Deployment diff

Deployment diff:

{
  "modules": {
    "add": {
      "test": {
        "externals": {},
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "files": {},
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app:v1.7.0",
              "resources": {
                "limits": {
                  "cpu": "0.250",
                  "memory": "256Mi"
                },
                "requests": {
                  "cpu": "0.025",
                  "memory": "64Mi"
                }
              },
              "variables": {},
              "volume_mounts": {}
            }
          }
        }
      }
    },
    "remove": [],
    "update": {
      "my-sample-app": [
        {
          "from": "",
          "op": "remove",
          "path": "/spec/ingress",
          "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:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-app/variables/MESSAGE",
          "value": "Hello, World!"
        },
        {
          "from": "",
          "op": "add",
          "path": "/externals/route",
          "value": {
            "params": {
              "host": "${resources.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        }
      ]
    }
  },
  "shared": null
}
Score Output

Score Output:

{
  "id": "cef893044d9e96d14ae1b08b605bd8774882c777",
  "metadata": {
    "env_id": "pr-69",
    "name": "Auto-generated (SCORE)",
    "url": "https://app.humanitec.io/orgs/my-trial/apps/my-sample-app/envs/pr-69/draft/cef893044d9e96d14ae1b08b605bd8774882c777",
    "created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8",
    "created_at": "2023-08-22T18:13:37.394216356Z",
    "last_modified_at": "2023-08-22T18:13:37.394216356Z"
  },
  "modules": {
    "add": {
      "my-sample-app": {
        "externals": {
          "dns": {
            "type": "dns"
          },
          "route": {
            "params": {
              "host": "${resources.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        },
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "id": "my-sample-app",
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41",
              "variables": {
                "MESSAGE": "Hello, World!"
              }
            }
          },
          "service": {
            "ports": {
              "tcp": {
                "container_port": 8080,
                "protocol": "TCP",
                "service_port": 8080
              }
            }
          }
        }
      }
    }
  }
}

@github-actions
Copy link

Deployment successfully completed for PR-69! 🎉

View in Humanitec

Deployment ID: 16e1b69b61633c6bb2ac2efb6a55cbe707dbc4bf

Domains:

my-sample-app: bechtelarcasperschneiderprohaska.newapp.io

Deployment diff

Deployment diff:

{
  "modules": {
    "add": {
      "test": {
        "externals": {},
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "files": {},
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app:v1.7.0",
              "resources": {
                "limits": {
                  "cpu": "0.250",
                  "memory": "256Mi"
                },
                "requests": {
                  "cpu": "0.025",
                  "memory": "64Mi"
                }
              },
              "variables": {},
              "volume_mounts": {}
            }
          }
        }
      }
    },
    "remove": [],
    "update": {
      "my-sample-app": [
        {
          "from": "",
          "op": "remove",
          "path": "/spec/ingress",
          "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:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-app/variables/MESSAGE",
          "value": "Hello, World!"
        },
        {
          "from": "",
          "op": "add",
          "path": "/externals/route",
          "value": {
            "params": {
              "host": "${resources.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        }
      ]
    }
  },
  "shared": null
}
Score Output

Score Output:

{
  "id": "16e1b69b61633c6bb2ac2efb6a55cbe707dbc4bf",
  "metadata": {
    "env_id": "pr-69",
    "name": "Auto-generated (SCORE)",
    "url": "https://app.humanitec.io/orgs/my-trial/apps/my-sample-app/envs/pr-69/draft/16e1b69b61633c6bb2ac2efb6a55cbe707dbc4bf",
    "created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8",
    "created_at": "2023-08-22T18:30:03.012393091Z",
    "last_modified_at": "2023-08-22T18:30:03.012393091Z"
  },
  "modules": {
    "add": {
      "my-sample-app": {
        "externals": {
          "dns": {
            "type": "dns"
          },
          "route": {
            "params": {
              "host": "${resources.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        },
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "id": "my-sample-app",
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41",
              "variables": {
                "MESSAGE": "Hello, World!"
              }
            }
          },
          "service": {
            "ports": {
              "tcp": {
                "container_port": 8080,
                "protocol": "TCP",
                "service_port": 8080
              }
            }
          }
        }
      }
    }
  }
}

@github-actions
Copy link

Deployment failed for PR-69! ❌

Errors:

[
{
"apiVersion": "core.api.humanitec.io/v1",
"kind": "DeploymentError",
"metadata": {
"id": ""
},
"object": {
"code": "RES-101",
"error_type": "",
"message": "'ip_address', 'ipv6_address' or 'name' should be specified in the resource parameters: resource definition default-humanitec-dns - resource type dns",
"object_id": "",
"scope": "environment",
"summary": "Driver parameters invalid"
}
}
]

View in Humanitec

Deployment ID: bf419de1631798f65c11c95e26867dca7a401d79

Domains:

my-sample-app: bechtelarcasperschneiderprohaska.newapp.io

Deployment diff

Deployment diff:

{
  "modules": {
    "add": {
      "test": {
        "externals": {},
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "files": {},
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app:v1.7.0",
              "resources": {
                "limits": {
                  "cpu": "0.250",
                  "memory": "256Mi"
                },
                "requests": {
                  "cpu": "0.025",
                  "memory": "64Mi"
                }
              },
              "variables": {},
              "volume_mounts": {}
            }
          }
        }
      }
    },
    "remove": [],
    "update": {
      "my-sample-app": [
        {
          "from": "",
          "op": "remove",
          "path": "/spec/ingress",
          "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:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-app/variables/MESSAGE",
          "value": "Hello, World!"
        },
        {
          "from": "",
          "op": "add",
          "path": "/externals/route",
          "value": {
            "params": {
              "host": "${resources.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        }
      ]
    }
  },
  "shared": null
}
Score Output

Score Output:

{
  "id": "bf419de1631798f65c11c95e26867dca7a401d79",
  "metadata": {
    "env_id": "pr-69",
    "name": "Auto-generated (SCORE)",
    "url": "https://app.humanitec.io/orgs/my-trial/apps/my-sample-app/envs/pr-69/draft/bf419de1631798f65c11c95e26867dca7a401d79",
    "created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8",
    "created_at": "2023-08-22T18:38:08.750774661Z",
    "last_modified_at": "2023-08-22T18:38:08.750774661Z"
  },
  "modules": {
    "add": {
      "my-sample-app": {
        "externals": {
          "dns": {
            "type": "dns"
          },
          "route": {
            "params": {
              "host": "${resources.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        },
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "id": "my-sample-app",
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41",
              "variables": {
                "MESSAGE": "Hello, World!"
              }
            }
          },
          "service": {
            "ports": {
              "tcp": {
                "container_port": 8080,
                "protocol": "TCP",
                "service_port": 8080
              }
            }
          }
        }
      }
    }
  }
}

@github-actions
Copy link

Deployment failed for PR-69! ❌

Errors:

"'ip_address', 'ipv6_address' or 'name' should be specified in the resource parameters: resource definition default-humanitec-dns - resource type dns"

Deployment diff

Errors details:

[
  {
    "apiVersion": "core.api.humanitec.io/v1",
    "kind": "DeploymentError",
    "metadata": {
      "id": ""
    },
    "object": {
      "code": "RES-101",
      "error_type": "",
      "message": "'ip_address', 'ipv6_address' or 'name' should be specified in the resource parameters: resource definition default-humanitec-dns - resource type dns",
      "object_id": "",
      "scope": "environment",
      "summary": "Driver parameters invalid"
    }
  }
]
### [View in Humanitec](https://app.humanitec.io/orgs/my-trial/apps/my-sample-app/envs/pr-69/draft/238324c4a7b034ae5dce93061864a2b23daae033) Deployment ID: 238324c4a7b034ae5dce93061864a2b23daae033

Domains:

my-sample-app: bechtelarcasperschneiderprohaska.newapp.io

Deployment diff

Deployment diff:

{
  "modules": {
    "add": {
      "test": {
        "externals": {},
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "files": {},
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app:v1.7.0",
              "resources": {
                "limits": {
                  "cpu": "0.250",
                  "memory": "256Mi"
                },
                "requests": {
                  "cpu": "0.025",
                  "memory": "64Mi"
                }
              },
              "variables": {},
              "volume_mounts": {}
            }
          }
        }
      }
    },
    "remove": [],
    "update": {
      "my-sample-app": [
        {
          "from": "",
          "op": "add",
          "path": "/externals/route",
          "value": {
            "params": {
              "host": "${resources.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        },
        {
          "from": "",
          "op": "remove",
          "path": "/spec/ingress",
          "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:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-app/variables/MESSAGE",
          "value": "Hello, World!"
        }
      ]
    }
  },
  "shared": null
}
Score Output

Score Output:

{
  "id": "238324c4a7b034ae5dce93061864a2b23daae033",
  "metadata": {
    "env_id": "pr-69",
    "name": "Auto-generated (SCORE)",
    "url": "https://app.humanitec.io/orgs/my-trial/apps/my-sample-app/envs/pr-69/draft/238324c4a7b034ae5dce93061864a2b23daae033",
    "created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8",
    "created_at": "2023-08-22T18:53:49.596345905Z",
    "last_modified_at": "2023-08-22T18:53:49.596345905Z"
  },
  "modules": {
    "add": {
      "my-sample-app": {
        "externals": {
          "dns": {
            "type": "dns"
          },
          "route": {
            "params": {
              "host": "${resources.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        },
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "id": "my-sample-app",
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41",
              "variables": {
                "MESSAGE": "Hello, World!"
              }
            }
          },
          "service": {
            "ports": {
              "tcp": {
                "container_port": 8080,
                "protocol": "TCP",
                "service_port": 8080
              }
            }
          }
        }
      }
    }
  }
}

@github-actions
Copy link

Deployment failed for PR-69! ❌

Errors:

"'ip_address', 'ipv6_address' or 'name' should be specified in the resource parameters: resource definition default-humanitec-dns - resource type dns"
Deployment diff ### Errors details: ```json

[
{
"apiVersion": "core.api.humanitec.io/v1",
"kind": "DeploymentError",
"metadata": {
"id": ""
},
"object": {
"code": "RES-101",
"error_type": "",
"message": "'ip_address', 'ipv6_address' or 'name' should be specified in the resource parameters: resource definition default-humanitec-dns - resource type dns",
"object_id": "",
"scope": "environment",
"summary": "Driver parameters invalid"
}
}
]


</details>
### [View in Humanitec](https://app.humanitec.io/orgs/my-trial/apps/my-sample-app/envs/pr-69/draft/afe4ce164debc8aa15ca3dc94b9d05213facd24b)
Deployment ID: afe4ce164debc8aa15ca3dc94b9d05213facd24b

### Domains:

my-sample-app: [bechtelarcasperschneiderprohaska.newapp.io](https://bechtelarcasperschneiderprohaska.newapp.io)

<details><summary>Deployment diff</summary>

### Deployment diff:
```json

{
  "modules": {
    "add": {
      "test": {
        "externals": {},
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "files": {},
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app:v1.7.0",
              "resources": {
                "limits": {
                  "cpu": "0.250",
                  "memory": "256Mi"
                },
                "requests": {
                  "cpu": "0.025",
                  "memory": "64Mi"
                }
              },
              "variables": {},
              "volume_mounts": {}
            }
          }
        }
      }
    },
    "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:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-app/variables/MESSAGE",
          "value": "Hello, World!"
        },
        {
          "from": "",
          "op": "remove",
          "path": "/spec/ingress",
          "value": null
        },
        {
          "from": "",
          "op": "add",
          "path": "/externals/route",
          "value": {
            "params": {
              "host": "${resources.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        }
      ]
    }
  },
  "shared": null
}

Score Output

Score Output:

{
  "id": "afe4ce164debc8aa15ca3dc94b9d05213facd24b",
  "metadata": {
    "env_id": "pr-69",
    "name": "Auto-generated (SCORE)",
    "url": "https://app.humanitec.io/orgs/my-trial/apps/my-sample-app/envs/pr-69/draft/afe4ce164debc8aa15ca3dc94b9d05213facd24b",
    "created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8",
    "created_at": "2023-08-22T19:02:46.255373184Z",
    "last_modified_at": "2023-08-22T19:02:46.255373184Z"
  },
  "modules": {
    "add": {
      "my-sample-app": {
        "externals": {
          "dns": {
            "type": "dns"
          },
          "route": {
            "params": {
              "host": "${resources.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        },
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "id": "my-sample-app",
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41",
              "variables": {
                "MESSAGE": "Hello, World!"
              }
            }
          },
          "service": {
            "ports": {
              "tcp": {
                "container_port": 8080,
                "protocol": "TCP",
                "service_port": 8080
              }
            }
          }
        }
      }
    }
  }
}

@github-actions
Copy link

Deployment failed for PR-69! ❌

Errors:

'ip_address', 'ipv6_address' or 'name' should be specified in the resource parameters: resource definition default-humanitec-dns - resource type dns
Errors details ### Errors details: ```json

[
{
"apiVersion": "core.api.humanitec.io/v1",
"kind": "DeploymentError",
"metadata": {
"id": ""
},
"object": {
"code": "RES-101",
"error_type": "",
"message": "'ip_address', 'ipv6_address' or 'name' should be specified in the resource parameters: resource definition default-humanitec-dns - resource type dns",
"object_id": "",
"scope": "environment",
"summary": "Driver parameters invalid"
}
}
]


</details>
### [View in Humanitec](https://app.humanitec.io/orgs/my-trial/apps/my-sample-app/envs/pr-69/draft/a42f8cddef5ad9d70586488e7e22dcb783cd4cbe)
Deployment ID: a42f8cddef5ad9d70586488e7e22dcb783cd4cbe

### Domains:

my-sample-app: [bechtelarcasperschneiderprohaska.newapp.io](https://bechtelarcasperschneiderprohaska.newapp.io)

<details><summary>Deployment diff</summary>

### Deployment diff:
```json

{
  "modules": {
    "add": {
      "test": {
        "externals": {},
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "files": {},
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app:v1.7.0",
              "resources": {
                "limits": {
                  "cpu": "0.250",
                  "memory": "256Mi"
                },
                "requests": {
                  "cpu": "0.025",
                  "memory": "64Mi"
                }
              },
              "variables": {},
              "volume_mounts": {}
            }
          }
        }
      }
    },
    "remove": [],
    "update": {
      "my-sample-app": [
        {
          "from": "",
          "op": "remove",
          "path": "/spec/ingress",
          "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:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-app/variables/MESSAGE",
          "value": "Hello, World!"
        },
        {
          "from": "",
          "op": "add",
          "path": "/externals/route",
          "value": {
            "params": {
              "host": "${resources.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        }
      ]
    }
  },
  "shared": null
}

Score Output

Score Output:

{
  "id": "a42f8cddef5ad9d70586488e7e22dcb783cd4cbe",
  "metadata": {
    "env_id": "pr-69",
    "name": "Auto-generated (SCORE)",
    "url": "https://app.humanitec.io/orgs/my-trial/apps/my-sample-app/envs/pr-69/draft/a42f8cddef5ad9d70586488e7e22dcb783cd4cbe",
    "created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8",
    "created_at": "2023-08-22T19:07:02.496162735Z",
    "last_modified_at": "2023-08-22T19:07:02.496162735Z"
  },
  "modules": {
    "add": {
      "my-sample-app": {
        "externals": {
          "dns": {
            "type": "dns"
          },
          "route": {
            "params": {
              "host": "${resources.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        },
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "id": "my-sample-app",
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41",
              "variables": {
                "MESSAGE": "Hello, World!"
              }
            }
          },
          "service": {
            "ports": {
              "tcp": {
                "container_port": 8080,
                "protocol": "TCP",
                "service_port": 8080
              }
            }
          }
        }
      }
    }
  }
}

@github-actions
Copy link

github-actions bot commented Aug 22, 2023

Deployment failed for PR-69! ❌

Errors:

'ip_address', 'ipv6_address' or 'name' should be specified in the resource parameters: resource definition default-humanitec-dns - resource type dns
Errors details

Errors details:

[
  {
    "apiVersion": "core.api.humanitec.io/v1",
    "kind": "DeploymentError",
    "metadata": {
      "id": ""
    },
    "object": {
      "code": "RES-101",
      "error_type": "",
      "message": "'ip_address', 'ipv6_address' or 'name' should be specified in the resource parameters: resource definition default-humanitec-dns - resource type dns",
      "object_id": "",
      "scope": "environment",
      "summary": "Driver parameters invalid"
    }
  }
]

View in Humanitec

Deployment ID: 15a1953ba33f5bd5a8f685fc764f9e997396ba33

Domains:

my-sample-app: bechtelarcasperschneiderprohaska.newapp.io

Deployment diff

Deployment diff:

{
  "modules": {
    "add": {
      "test": {
        "externals": {},
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "files": {},
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app:v1.7.0",
              "resources": {
                "limits": {
                  "cpu": "0.250",
                  "memory": "256Mi"
                },
                "requests": {
                  "cpu": "0.025",
                  "memory": "64Mi"
                }
              },
              "variables": {},
              "volume_mounts": {}
            }
          }
        }
      }
    },
    "remove": [],
    "update": {
      "my-sample-app": [
        {
          "from": "",
          "op": "remove",
          "path": "/spec/ingress",
          "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:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-app/variables/MESSAGE",
          "value": "Hello, World!"
        },
        {
          "from": "",
          "op": "add",
          "path": "/externals/route",
          "value": {
            "params": {
              "host": "${resources.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        }
      ]
    }
  },
  "shared": null
}
Score Output

Score Output:

{
  "id": "15a1953ba33f5bd5a8f685fc764f9e997396ba33",
  "metadata": {
    "env_id": "pr-69",
    "name": "Auto-generated (SCORE)",
    "url": "https://app.humanitec.io/orgs/my-trial/apps/my-sample-app/envs/pr-69/draft/15a1953ba33f5bd5a8f685fc764f9e997396ba33",
    "created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8",
    "created_at": "2023-08-22T19:14:35.037791096Z",
    "last_modified_at": "2023-08-22T19:14:35.037791096Z"
  },
  "modules": {
    "add": {
      "my-sample-app": {
        "externals": {
          "dns": {
            "type": "dns"
          },
          "route": {
            "params": {
              "host": "${resources.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        },
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "id": "my-sample-app",
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41",
              "variables": {
                "MESSAGE": "Hello, World!"
              }
            }
          },
          "service": {
            "ports": {
              "tcp": {
                "container_port": 8080,
                "protocol": "TCP",
                "service_port": 8080
              }
            }
          }
        }
      }
    }
  }
}

@github-actions
Copy link

Deployment failed for PR-69! ❌

Errors:

'ip_address', 'ipv6_address' or 'name' should be specified in the resource parameters: resource definition default-humanitec-dns - resource type dns
Errors details

Errors details:

[
  {
    "apiVersion": "core.api.humanitec.io/v1",
    "kind": "DeploymentError",
    "metadata": {
      "id": ""
    },
    "object": {
      "code": "RES-101",
      "error_type": "",
      "message": "'ip_address', 'ipv6_address' or 'name' should be specified in the resource parameters: resource definition default-humanitec-dns - resource type dns",
      "object_id": "",
      "scope": "environment",
      "summary": "Driver parameters invalid"
    }
  }
]

View in Humanitec

Deployment ID: df2844620ab067a750506342ba38a2e5c5a811b6

Domains:

my-sample-app: bechtelarcasperschneiderprohaska.newapp.io

Deployment diff

Deployment diff:

{
  "modules": {
    "add": {
      "test": {
        "externals": {},
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "files": {},
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app:v1.7.0",
              "resources": {
                "limits": {
                  "cpu": "0.250",
                  "memory": "256Mi"
                },
                "requests": {
                  "cpu": "0.025",
                  "memory": "64Mi"
                }
              },
              "variables": {},
              "volume_mounts": {}
            }
          }
        }
      }
    },
    "remove": [],
    "update": {
      "my-sample-app": [
        {
          "from": "",
          "op": "add",
          "path": "/externals/route",
          "value": {
            "params": {
              "host": "${resources.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        },
        {
          "from": "",
          "op": "remove",
          "path": "/spec/ingress",
          "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:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-app/variables/MESSAGE",
          "value": "Hello, World!"
        }
      ]
    }
  },
  "shared": null
}
Score Output

Score Output:

{
  "id": "df2844620ab067a750506342ba38a2e5c5a811b6",
  "metadata": {
    "env_id": "pr-69",
    "name": "Auto-generated (SCORE)",
    "url": "https://app.humanitec.io/orgs/my-trial/apps/my-sample-app/envs/pr-69/draft/df2844620ab067a750506342ba38a2e5c5a811b6",
    "created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8",
    "created_at": "2023-08-22T19:22:14.013455773Z",
    "last_modified_at": "2023-08-22T19:22:14.013455773Z"
  },
  "modules": {
    "add": {
      "my-sample-app": {
        "externals": {
          "dns": {
            "type": "dns"
          },
          "route": {
            "params": {
              "host": "${resources.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        },
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "id": "my-sample-app",
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41",
              "variables": {
                "MESSAGE": "Hello, World!"
              }
            }
          },
          "service": {
            "ports": {
              "tcp": {
                "container_port": 8080,
                "protocol": "TCP",
                "service_port": 8080
              }
            }
          }
        }
      }
    }
  }
}

@github-actions
Copy link

github-actions bot commented Aug 23, 2023

Deployment successfully completed for PR-69! 🎉

View in Humanitec

Deployment ID: 16086d83b8e8ab5a7b2777e884256c60f5a66a48

Domains:

my-sample-app: bechtelarcasperschneiderprohaska.newapp.io

Deployment diff

Deployment diff:

{
  "modules": {
    "add": [],
    "remove": [],
    "update": {
      "my-sample-app": [
        {
          "from": "",
          "op": "add",
          "path": "/externals/route",
          "value": {
            "params": {
              "host": "${externals.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        },
        {
          "from": "",
          "op": "remove",
          "path": "/spec/ingress",
          "value": null
        }
      ]
    }
  },
  "shared": null
}
Score Output

Score Output:

{
  "id": "16086d83b8e8ab5a7b2777e884256c60f5a66a48",
  "metadata": {
    "env_id": "pr-69",
    "name": "Auto-deployment (SCORE)",
    "url": "https://app.humanitec.io/orgs/my-trial/apps/my-sample-app/envs/pr-69/draft/16086d83b8e8ab5a7b2777e884256c60f5a66a48",
    "created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8",
    "created_at": "2023-08-23T12:02:31.066544471Z",
    "last_modified_at": "2023-08-23T12:02:31.066544471Z"
  },
  "modules": {
    "add": {
      "my-sample-app": {
        "externals": {
          "dns": {
            "type": "dns"
          },
          "route": {
            "params": {
              "host": "${externals.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        },
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "id": "my-sample-app",
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41",
              "variables": {
                "MESSAGE": "Hello, World!"
              }
            }
          },
          "service": {
            "ports": {
              "tcp": {
                "container_port": 8080,
                "protocol": "TCP",
                "service_port": 8080
              }
            }
          }
        }
      }
    }
  }
}

@github-actions
Copy link

Deployment successfully completed for PR-69! 🎉

View in Humanitec

Deployment ID: 8bf1f391500fcd622e6ddd471ab32aacd32e4f8e

Domains:

my-sample-app: bechtelarcasperschneiderprohaska.newapp.io

Deployment diff

Deployment diff:

{
  "modules": {
    "add": {
      "test": {
        "externals": {},
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "files": {},
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app:v1.7.0",
              "resources": {
                "limits": {
                  "cpu": "0.250",
                  "memory": "256Mi"
                },
                "requests": {
                  "cpu": "0.025",
                  "memory": "64Mi"
                }
              },
              "variables": {},
              "volume_mounts": {}
            }
          }
        }
      }
    },
    "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:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-app/variables/MESSAGE",
          "value": "Hello, World!"
        },
        {
          "from": "",
          "op": "remove",
          "path": "/spec/ingress",
          "value": null
        },
        {
          "from": "",
          "op": "add",
          "path": "/externals/route",
          "value": {
            "params": {
              "host": "${externals.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        }
      ]
    }
  },
  "shared": null
}
Score Output

Score Output:

{
  "id": "8bf1f391500fcd622e6ddd471ab32aacd32e4f8e",
  "metadata": {
    "env_id": "pr-69",
    "name": "Auto-deployment (SCORE)",
    "url": "https://app.humanitec.io/orgs/my-trial/apps/my-sample-app/envs/pr-69/draft/8bf1f391500fcd622e6ddd471ab32aacd32e4f8e",
    "created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8",
    "created_at": "2023-08-23T12:13:53.202868216Z",
    "last_modified_at": "2023-08-23T12:13:53.202868216Z"
  },
  "modules": {
    "add": {
      "my-sample-app": {
        "externals": {
          "dns": {
            "type": "dns"
          },
          "route": {
            "params": {
              "host": "${externals.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        },
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "id": "my-sample-app",
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41",
              "variables": {
                "MESSAGE": "Hello, World!"
              }
            }
          },
          "service": {
            "ports": {
              "tcp": {
                "container_port": 8080,
                "protocol": "TCP",
                "service_port": 8080
              }
            }
          }
        }
      }
    }
  }
}

@github-actions
Copy link

Deployment successfully completed for PR-69! 🎉

View in Humanitec

Deployment ID: def9a87bb437a92d89042ee610d58747f5df11f9

Domains:

my-sample-app: bechtelarcasperschneiderprohaska.newapp.io

Deployment diff

Deployment diff:

{
  "modules": {
    "add": {
      "test": {
        "externals": {},
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "files": {},
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app:v1.7.0",
              "resources": {
                "limits": {
                  "cpu": "0.250",
                  "memory": "256Mi"
                },
                "requests": {
                  "cpu": "0.025",
                  "memory": "64Mi"
                }
              },
              "variables": {},
              "volume_mounts": {}
            }
          }
        }
      }
    },
    "remove": [],
    "update": {
      "my-sample-app": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-app/variables/MESSAGE",
          "value": "Hello, World!"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-app/image",
          "value": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41"
        },
        {
          "from": "",
          "op": "remove",
          "path": "/spec/ingress",
          "value": null
        },
        {
          "from": "",
          "op": "add",
          "path": "/externals/route",
          "value": {
            "params": {
              "host": "${externals.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        }
      ]
    }
  },
  "shared": null
}
Score Output

Score Output:

{
  "id": "def9a87bb437a92d89042ee610d58747f5df11f9",
  "metadata": {
    "env_id": "pr-69",
    "name": "Auto-deployment (SCORE)",
    "url": "https://app.humanitec.io/orgs/my-trial/apps/my-sample-app/envs/pr-69/draft/def9a87bb437a92d89042ee610d58747f5df11f9",
    "created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8",
    "created_at": "2023-08-23T12:31:36.664226908Z",
    "last_modified_at": "2023-08-23T12:31:36.664226908Z"
  },
  "modules": {
    "add": {
      "my-sample-app": {
        "externals": {
          "dns": {
            "type": "dns"
          },
          "route": {
            "params": {
              "host": "${externals.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        },
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "id": "my-sample-app",
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41",
              "variables": {
                "MESSAGE": "Hello, World!"
              }
            }
          },
          "service": {
            "ports": {
              "tcp": {
                "container_port": 8080,
                "protocol": "TCP",
                "service_port": 8080
              }
            }
          }
        }
      }
    }
  }
}

@github-actions
Copy link

Deployment successfully completed for PR-69! 🎉

View in Humanitec

Deployment ID: 4a242893f407974dcf90d6ad3dd0fb652bace054

Domains:

my-sample-app: bechtelarcasperschneiderprohaska.newapp.io

Deployment diff

Deployment diff:

{
  "modules": {
    "add": {
      "test": {
        "externals": {},
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "files": {},
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app:v1.7.0",
              "resources": {
                "limits": {
                  "cpu": "0.250",
                  "memory": "256Mi"
                },
                "requests": {
                  "cpu": "0.025",
                  "memory": "64Mi"
                }
              },
              "variables": {},
              "volume_mounts": {}
            }
          }
        }
      }
    },
    "remove": [],
    "update": {
      "my-sample-app": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-app/variables/MESSAGE",
          "value": "Hello, World!"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-app/image",
          "value": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41"
        },
        {
          "from": "",
          "op": "remove",
          "path": "/spec/ingress",
          "value": null
        },
        {
          "from": "",
          "op": "add",
          "path": "/externals/route",
          "value": {
            "params": {
              "host": "${externals.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        }
      ]
    }
  },
  "shared": null
}
Score Output

Score Output:

{
  "id": "4a242893f407974dcf90d6ad3dd0fb652bace054",
  "metadata": {
    "env_id": "pr-69",
    "name": "Auto-deployment (SCORE)",
    "url": "https://app.humanitec.io/orgs/my-trial/apps/my-sample-app/envs/pr-69/draft/4a242893f407974dcf90d6ad3dd0fb652bace054",
    "created_by": "s-9d271151-e949-4548-81ed-e7c652fecbb8",
    "created_at": "2023-08-23T12:39:58.63667669Z",
    "last_modified_at": "2023-08-23T12:39:58.63667669Z"
  },
  "modules": {
    "add": {
      "my-sample-app": {
        "externals": {
          "dns": {
            "type": "dns"
          },
          "route": {
            "params": {
              "host": "${externals.dns.host}",
              "path": "/",
              "port": 8080
            },
            "type": "route"
          }
        },
        "profile": "humanitec/default-module",
        "spec": {
          "containers": {
            "my-sample-app": {
              "id": "my-sample-app",
              "image": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:bae80cbf0c2b4b0455be4c2edd56b274ddfdca0c626cf95415efda1b0eb22d41",
              "variables": {
                "MESSAGE": "Hello, World!"
              }
            }
          },
          "service": {
            "ports": {
              "tcp": {
                "container_port": 8080,
                "protocol": "TCP",
                "service_port": 8080
              }
            }
          }
        }
      }
    }
  }
}

@mathieu-benoit mathieu-benoit merged commit 4b823b6 into main Aug 23, 2023
2 checks passed
@mathieu-benoit mathieu-benoit deleted the mathieu-benoit-patch-1 branch August 23, 2023 12:41
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