Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,7 @@ Platform usage.
The framework uses RIOT to bridge current product gaps with Memorystore Clusters
* [ML Project Generator](tools/ml-project-generator) - A utility to create a Production grade ML project template with the best productivity tools installed like auto-formatting, license checks, linting, etc.
* [Policy Tags Engine](tools/policy-tags-engine) - The tool allows developers to automatically apply BigQuery column-level security (Policy Tags) based on metadata files uploaded to a Google Cloud Storage (GCS) bucket.
* [Gemini CLI Health Dashboard](tools/gemini-cli-health-dashboard) - The tool allows developers to build a custom dashboard for tracking the Gemini CLI health in terms of success vs error rate.


## Contributing
Expand Down
2 changes: 1 addition & 1 deletion examples/ccai-agentassist-five9-grpc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ rsa==4.9
six==1.16.0
sounddevice==0.4.7
tomlkit==0.13.0
urllib3==2.5.0
urllib3==2.6.0
12 changes: 11 additions & 1 deletion examples/cloudrun-crl-monitor/crl-monitor/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ resource "google_cloud_run_v2_job" "crl_validation" {
name = "CRL_EXPIRY_BUFFER"
value = var.crl_expiration_buffer
}
env {
name = "PROXY_URL"
value = var.proxy_url
}

command = ["/bin/bash", "-c"]
args = [
Expand All @@ -71,7 +75,13 @@ resource "google_cloud_run_v2_job" "crl_validation" {
CRL_URL="$TARGET_DOMAIN"
echo "Checking CRL at $CRL_URL..."

if curl -s -f -o crl.file "$CRL_URL"; then
PROXY_ARGS=""
if [ -n "$PROXY_URL" ]; then
echo "Using proxy: $PROXY_URL"
PROXY_ARGS="-x $PROXY_URL"
fi

if curl -s -f $PROXY_ARGS -o crl.file "$CRL_URL"; then
echo "CRL downloaded successfully."

# Try to parse as DER first, then PEM
Expand Down
6 changes: 6 additions & 0 deletions examples/cloudrun-crl-monitor/crl-monitor/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,9 @@ variable "alert_autoclose" {
type = string
default = "1800s"
}

variable "proxy_url" {
description = "Optional proxy URL to use for curl"
type = string
default = ""
}
15 changes: 8 additions & 7 deletions examples/cloudrun-crl-monitor/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,14 @@ resource "google_project_iam_member" "crl_job_metric_writer" {
}

module "crl_monitor" {
source = "./crl-monitor"
source = "./crl-monitor"
for_each = { for m in var.crl_monitors : m.target_url => m }

project_id = var.project_id
region = each.value.region
name = each.value.name
target_url = each.value.target_url
schedule = each.value.schedule
project_id = var.project_id
region = each.value.region
name = each.value.name
target_url = each.value.target_url
schedule = each.value.schedule
crl_expiration_buffer = each.value.crl_expiration_buffer
}
proxy_url = each.value.proxy_url
}
22 changes: 11 additions & 11 deletions examples/cloudrun-crl-monitor/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@
* limitations under the License.
*/

project_id = "sshsergey-argolis"
project_id = "sshsergey-argolis"

crl_monitors = [
{
name = "bsi-ca"
region = "europe-west3"
target_url = "http://download.gsb.bund.de/BSI/crl/DE_CRL.crl"
schedule = "* * * * *"
crl_expiration_buffer = "3600s"
name = "bsi-ca"
region = "europe-west3"
target_url = "http://download.gsb.bund.de/BSI/crl/DE_CRL.crl"
schedule = "* * * * *"
crl_expiration_buffer = "3600s"
},
{
name = "google-ca"
region = "europe-west3"
target_url = "http://c.pki.goog/we2/64OUIVzpZV4.crl"
schedule = "* * * * *"
crl_expiration_buffer = "3600s"
name = "google-ca"
region = "europe-west3"
target_url = "http://c.pki.goog/we2/64OUIVzpZV4.crl"
schedule = "* * * * *"
crl_expiration_buffer = "3600s"
}
]

Expand Down
11 changes: 6 additions & 5 deletions examples/cloudrun-crl-monitor/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ variable "project_id" {
variable "crl_monitors" {
description = "List of CRL monitors to configure"
type = list(object({
name = string
region = string
target_url = string
schedule = optional(string, "* * * * *")
crl_expiration_buffer = optional(string, "3600s")
name = string
region = string
target_url = string
schedule = optional(string, "* * * * *")
crl_expiration_buffer = optional(string, "3600s")
proxy_url = optional(string, "")
}))
}

Expand Down
2 changes: 1 addition & 1 deletion examples/dataflow-flex-python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,6 @@ requests==2.28.1
rsa==4.9
six==1.16.0
typing-extensions==4.4.0
urllib3==2.5.0
urllib3==2.6.0
xsdata==22.12
xsdata-pydantic==22.10
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ rsa==4.9
six==1.16.0
sqlparse==0.5.0
typing_extensions==4.5.0
urllib3==2.5.0
urllib3==2.6.0
zstandard==0.20.0
24 changes: 15 additions & 9 deletions examples/iap-user-profile/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading