<commit_before>{
  "Name": "build-rhua",
  "DefaultTimeout": "60m",
  "Zone": "us-central1-b",
  "Vars": {
    "build_date": {
      "Value": "${TIMESTAMP}",
      "Description": "Build datestamp used to version the image."
    },
    "workflow_root": {
      "Value": "/workflows",
      "Description": "Root of github workflows, defaults to /workflows in the container."
    },
    "gcs_url": {
      "Required": true,
      "Description": "The GCS path for the exported image tarball."
    },
    "instance_service_account": {
      "Required": true,
      "Description": "Service account that will be used by the created instance"
    }
  },
  "Sources": {
    "rhua_artifacts": "./rhua_artifacts",
    "rhua_artifacts/health_check.py": "./health_check.py",
    "rhua_artifacts/health_check.nginx.conf": "./health_check.nginx.conf",
    "install_rhua.sh": "./install_rhua.sh"
  },
  "Steps": {
    "create-disk": {
      "CreateDisks": [
        {
          "Name": "disk-rhua",
          "SourceImage": "projects/rhel-byos-cloud/global/images/family/rhel-8-byos",
          "Type": "pd-ssd"
        }
      ]
    },
    "install-rhua": {
      "CreateInstances": [
        {
          "Name": "inst-rhua",
          "Disks": [{"Source": "disk-rhua"}],
          "MachineType": "e2-standard-4",
          "Metadata": {
            "block-project-ssh-keys": "true",
            "enable-oslogin": "false"
          },
          "StartupScript": "install_rhua.sh",
          "ServiceAccounts": [
            {
              "Email": "${instance_service_account}",
              "Scopes": ["https://www.googleapis.com/auth/cloud-platform"]
            }
          ]
        }
      ]
    },
    "wait-install-rhua": {
      "Timeout": "60m",
      "WaitForInstancesSignal": [
        {
          "Name": "inst-rhua",
          "SerialOutput": {
            "Port": 1,
            "FailureMatch": "BuildFailed:",
            "SuccessMatch": "BuildSuccess:",
            "StatusMatch": "BuildStatus:"
          }
        }<commit_msg>use reserved IP for rhua build (#1925)<commit_after>{
  "Name": "build-rhua",
  "DefaultTimeout": "60m",
  "Zone": "us-central1-b",
  "Vars": {
    "build_date": {
      "Value": "${TIMESTAMP}",
      "Description": "Build datestamp used to version the image."
    },
    "workflow_root": {
      "Value": "/workflows",
      "Description": "Root of github workflows, defaults to /workflows in the container."
    },
    "gcs_url": {
      "Required": true,
      "Description": "The GCS path for the exported image tarball."
    },
    "instance_service_account": {
      "Required": true,
      "Description": "Service account that will be used by the created instance"
    }
  },
  "Sources": {
    "rhua_artifacts": "./rhua_artifacts",
    "rhua_artifacts/health_check.py": "./health_check.py",
    "rhua_artifacts/health_check.nginx.conf": "./health_check.nginx.conf",
    "install_rhua.sh": "./install_rhua.sh"
  },
  "Steps": {
    "create-disk": {
      "CreateDisks": [
        {
          "Name": "disk-rhua",
          "SourceImage": "projects/rhel-byos-cloud/global/images/family/rhel-8-byos",
          "Type": "pd-ssd"
        }
      ]
    },
    "install-rhua": {
      "CreateInstances": [
        {
          "Name": "inst-rhua",
          "Disks": [{"Source": "disk-rhua"}],
          "MachineType": "e2-standard-4",
          "Metadata": {
            "block-project-ssh-keys": "true",
            "enable-oslogin": "false"
          },
          "NetworkInterfaces": [
            {
              "network": "global/networks/default",
              "accessConfigs": [
                {
                  "type": "ONE_TO_ONE_NAT",
                  "natIP": "3172.16.17.32"
                }
              ]
            }
          ],
          "StartupScript": "install_rhua.sh",
          "ServiceAccounts": [
            {
              "Email": "${instance_service_account}",
              "Scopes": ["https://www.googleapis.com/auth/cloud-platform"]
            }
          ]
        }
      ]
    },
    "wait-install-rhua": {
      "Timeout": "60m",
      "WaitForInstancesSignal": [
        {
          "Name": "inst-rhua",
          "SerialOutput": {
            "Port": 1,
            "FailureMatch": "BuildFailed:",
            "SuccessMatch": "BuildSuccess:",
            "StatusMatch": "BuildStatus:"
          }
        }
{'fraction_non_alphanumeric': 0.1695919762935947, 'fraction_numerical': 0.007294278550262138, 'mean_word_length': 1.820051413881748, 'pattern_counts': {'":': 103, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '406719', 'n_tokens_mistral': 1417, 'n_tokens_neox': 1385, 'n_words': 240}