From 071236225e93ae42c3c9fda4cdd7a6326a1fcf54 Mon Sep 17 00:00:00 2001 From: ehearneredhat Date: Thu, 27 Jun 2024 09:07:04 +0100 Subject: [PATCH] 3.1 --- .github/workflows/verify-dashboards-alerts.yaml | 16 ++++++++-------- self-hosted-runner.tf | 6 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/verify-dashboards-alerts.yaml b/.github/workflows/verify-dashboards-alerts.yaml index 340c82b58..8bc40156c 100644 --- a/.github/workflows/verify-dashboards-alerts.yaml +++ b/.github/workflows/verify-dashboards-alerts.yaml @@ -2,16 +2,16 @@ name: Verify Dashboards and Alerts OK on: push: - branches: main - paths: + #branches: main + #paths: # Dashboards - - examples/dashboards/app_developer.json - - examples/dashboards/business_user.json - - examples/dashboards/platform_engineer.json + #- examples/dashboards/app_developer.json + # - examples/dashboards/business_user.json + # - examples/dashboards/platform_engineer.json # Alerts - - examples/alerts/prometheusrules_policies_missing.yaml - - examples/alerts/slo-availability.yaml - - examples/alerts/slo-latency.yaml + # - examples/alerts/prometheusrules_policies_missing.yaml + # - examples/alerts/slo-availability.yaml + # - examples/alerts/slo-latency.yaml jobs: deploy-register-self-runner: runs-on: ubuntu-latest diff --git a/self-hosted-runner.tf b/self-hosted-runner.tf index fe603e407..077cff476 100644 --- a/self-hosted-runner.tf +++ b/self-hosted-runner.tf @@ -20,7 +20,7 @@ variable "aws_key_name" { } resource "aws_instance" "self_hosted_runner" { - ami = "ami-055032149717ffb30" # change to ami-0776c814353b4814d when creating an AMI. + ami = "ami-0776c814353b4814d" # change to ami-0776c814353b4814d when creating an AMI. instance_type = "t2.xlarge" root_block_device { @@ -38,7 +38,7 @@ resource "aws_instance" "self_hosted_runner" { # Uncomment when creating an AMI . - /* user_data = <<-EOL + user_data = <<-EOL #!/bin/bash echo "Starting user_data script..." sudo apt-get update -y @@ -62,7 +62,7 @@ resource "aws_instance" "self_hosted_runner" { sudo chmod 7777 kuadrant-operator/hack echo "user_data script execution completed." touch /tmp/user_data_done - EOL */ + EOL }