From 63cfc0dde4e55f6e1a47496a032e0bb4fb364dc8 Mon Sep 17 00:00:00 2001 From: Public copy <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 4 Jan 2025 03:36:30 +0000 Subject: [PATCH] automated commit Signed-off-by: Public copy <41898282+github-actions[bot]@users.noreply.github.com> --- .terraform.lock.hcl | 16 ++++++++-------- images/aspnet-runtime/README.md | 8 ++++++-- tflib/imagetest/helm/main.tf | 5 +++++ tflib/imagetest/helm/variables.tf | 6 ++++++ tflib/publisher/providers.tf | 2 +- 5 files changed, 26 insertions(+), 11 deletions(-) diff --git a/.terraform.lock.hcl b/.terraform.lock.hcl index a64e0e17a..a5605fb84 100644 --- a/.terraform.lock.hcl +++ b/.terraform.lock.hcl @@ -44,16 +44,16 @@ provider "registry.terraform.io/chainguard-dev/cosign" { } provider "registry.terraform.io/chainguard-dev/imagetest" { - version = "0.0.46" - constraints = "0.0.46" + version = "0.0.48" + constraints = "0.0.48" hashes = [ - "h1:bkvIWIpwg7eVX2sFMFU92kCSyO3acAbYtO5h4kLDopo=", - "h1:dcb0pKMnKBegp6FQhQdHLqLZCghYy6JdkPhNse38l/A=", - "zh:49f87c8675c466ce615fcf442d3a1815f6dc4d0a0fa1a9081ea9334720c912d9", - "zh:6a0d37d1774e55d5796bda18a45ac87b9c26a905de34d231491c9c9a9aea18a1", + "h1:HpfTP6PFq8Ba98DRKtZWUWbzT43vyHpOZDCQ3fFrZSQ=", + "h1:kBeehGPWJxmzkgtDkKCh08PRJUOspkZ7s2zNq54VRZo=", + "zh:1fb82add26ce828bd02d71791011e29fcbd184e1fbf6e3317e3eceec0b7f7d33", + "zh:74616e394ce9167541e8eaada63faff3c633dec6e34abb9521eb1131163a3eb2", "zh:890df766e9b839623b1f0437355032a3c006226a6c200cd911e15ee1a9014e9f", - "zh:d6ea358020fd464418a68c62383a17aad36d3e21e853819c1a9b0c66a1cf7716", - "zh:e702b91312cef7aa11b88aaeccfb512118887970f2d7fd2ae475e314321209fc", + "zh:953c5d39feb3b1073465946aacea07ebe4e4ca4a8e869e18cb7dbc9b14a27ba0", + "zh:98184ec8f9fdb0fbe259489c798ba5feb4eb1556c4f0a70c347a2f1493341311", ] } diff --git a/images/aspnet-runtime/README.md b/images/aspnet-runtime/README.md index 1b90a5b38..e0ee5b627 100644 --- a/images/aspnet-runtime/README.md +++ b/images/aspnet-runtime/README.md @@ -32,9 +32,13 @@ Be sure to replace the `ORGANIZATION` placeholder with the name used for your or -## Usage +## Compatibility Notes -The `aspnet-runtime` Chainguard Image contains both the ASP.NET runtime and the .NET core runtime, allowing you to run ASP.NET applications. Note that if your use case depends on running `aspnet-runtime` with a package manager or shell, you can use the `:latest-dev` variant. +Chainguard's aspnet-runtime image is comparable to the [.NET core tools found on GitHub](https://github.com/dotnet/core). + +The aspnet-runtime image contains both the ASP.NET runtime and the .NET core runtime, allowing you to run ASP.NET applications. Note that if your use case depends on running `aspnet-runtime` with a package manager or shell, you can use the `:latest-dev` variant. + +## Documentation and Resources For more information, please refer to the official [ASP.NET documentation](https://learn.microsoft.com/en-us/aspnet/core/?view=aspnetcore-8.0). diff --git a/tflib/imagetest/helm/main.tf b/tflib/imagetest/helm/main.tf index b83fdbc39..15e91b34c 100644 --- a/tflib/imagetest/helm/main.tf +++ b/tflib/imagetest/helm/main.tf @@ -71,6 +71,11 @@ if ! helm install ${local.name} $chart \ printf "\\n\\nEvents:\\n\\n" kubectl get events --field-selector type!=Normal --sort-by=.metadata.creationTimestamp -o wide -n ${var.namespace} || true + %{if var.log_debug} + printf "\\n\\nDebug Logs:\\n\\n" + kubectl logs -n ${var.namespace} -l app.kubernetes.io/instance=${local.name} --all-containers=true || true + %{endif} + exit 1 fi EOinstall diff --git a/tflib/imagetest/helm/variables.tf b/tflib/imagetest/helm/variables.tf index d89e537ec..34c9e08e6 100644 --- a/tflib/imagetest/helm/variables.tf +++ b/tflib/imagetest/helm/variables.tf @@ -60,3 +60,9 @@ variable "dry" { description = "Indicates whether Helm will be run in dry-run mode. Useful if all you want is to resolve the chart/values." default = false } + +variable "log_debug" { + description = "Indicates whether to print pod logs if the helm install fails." + type = bool + default = false +} diff --git a/tflib/publisher/providers.tf b/tflib/publisher/providers.tf index f9c13b139..f7b9f3e4a 100644 --- a/tflib/publisher/providers.tf +++ b/tflib/publisher/providers.tf @@ -18,7 +18,7 @@ terraform { } imagetest = { source = "chainguard-dev/imagetest" - version = "0.0.46" + version = "0.0.48" } } }