locals {
  infra_jobs = {
    elasticsearch = {
      repository_name     = "infrastructure"
      job_name            = "elasticsearch"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Jenkins/jobs/baseImage/elasticsearch.groovy"
      schedule_expression = "H 1 * * 0"

      disabled = false
    }

    mongo = {
      repository_name     = "infrastructure"
      job_name            = "mongo"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Jenkins/jobs/baseImage/mongo.groovy"
      schedule_expression = "H 1 * * 0"

      disabled = false
    }

    mysql = {
      repository_name     = "infrastructure"
      job_name            = "mysql"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Jenkins/jobs/baseImage/mysql.groovy"
      schedule_expression = "H 1 * * 0"

      disabled = false
    }

    node = {
      repository_name     = "infrastructure"
      job_name            = "node"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Jenkins/jobs/baseImage/node.groovy"
      schedule_expression = "H 1 * * 0"

      disabled = false
    }

    postgres = {
      repository_name     = "infrastructure"
      job_name            = "postgres"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Jenkins/jobs/baseImage/postgres.groovy"
      schedule_expression = "H 1 * * 0"

      disabled = false
    }

    redis = {
      repository_name     = "infrastructure"
      job_name            = "redis"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Jenkins/jobs/baseImage/redis.groovy"
      schedule_expression = "H 1 * * 0"

      disabled = false
    }

    nginx = {
      repository_name     = "infrastructure"
      job_name            = "nginx"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Jenkins/jobs/baseImage/nginx.groovy"
      schedule_expression = "H 1 * * 0"

      disabled = false
    }

    dotnet-sdk = {
      repository_name     = "infrastructure"
      job_name            = "dotnet-sdk"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Jenkins/jobs/baseImage/dotnet-sdk.groovy"
      schedule_expression = "H 1 * * 0"

      disabled = false
    }

    dotnet-runtime = {
      repository_name     = "infrastructure"
      job_name            = "dotnet-runtime"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Jenkins/jobs/baseImage/dotnet-runtime.groovy"
      schedule_expression = "H 1 * * 0"

      disabled = false
    }

    sqitch = {
      repository_name     = "infrastructure"
      job_name            = "sqitch"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Jenkins/jobs/baseImage/sqitch.groovy"
      schedule_expression = "H 1 * * 0"

      disabled = false
    }

    locust = {
      repository_name     = "infrastructure"
      job_name            = "locust"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Jenkins/jobs/baseImage/locust.groovy"
      schedule_expression = "H 1 * * *"

      disabled = false
    }

    sonarqube = {
      repository_name     = "infrastructure"
      job_name            = "sonarqube"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Jenkins/jobs/baseImage/sonarqube.groovy"
      schedule_expression = "H 1 * * *"

      disabled = false
    }

    split_synchronizer = {
      repository_name     = "infrastructure"
      job_name            = "split-synchronizer"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Jenkins/jobs/baseImage/split-synchronizer.groovy"
      schedule_expression = "H 1 * * 0"

      disabled = false
    }

    eclipse_temurin = {
      repository_name     = "infrastructure"
      job_name            = "eclipse-temurin"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Jenkins/jobs/baseImage/eclipse-temurin.groovy"
      schedule_expression = "H 1 * * 0"

      disabled = false
    }
  }

  python_3_7 = {
    apollo_alpine_3_7 = {
      repository_name     = "infrastructure"
      job_name            = "apollo-alpine-3.7"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-alpine/3.7/python/Jenkinsfile"
      schedule_expression = "H 1 * * 0"

      disabled = false
    }

    apollo_slim_3_7 = {
      repository_name     = "infrastructure"
      job_name            = "apollo-slim-3.7"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-slim/3.7/python/Jenkinsfile"
      schedule_expression = "H 1 * * 0"

      disabled = false
    }

    apollo_alpine_3_7_builder = {
      repository_name     = "infrastructure"
      job_name            = "apollo-alpine-3.7-builder"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-alpine/3.7/python-builder/Jenkinsfile"
      schedule_expression = "H 2 * * 0"

      disabled = false
    }

    apollo_slim_3_7_builder = {
      repository_name     = "infrastructure"
      job_name            = "apollo-slim-3.7-builder"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-slim/3.7/python-builder/Jenkinsfile"
      schedule_expression = "H 2 * * 0"

      disabled = false
    }

    apollo_alpine_3_7_runner = {
      repository_name     = "infrastructure"
      job_name            = "apollo-alpine-3.7-runner"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-alpine/3.7/python-runner/Jenkinsfile"
      schedule_expression = "H 2 * * 0"

      disabled = false
    }

    apollo_slim_3_7_runner = {
      repository_name     = "infrastructure"
      job_name            = "apollo-slim-3.7-runner"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-slim/3.7/python-runner/Jenkinsfile"
      schedule_expression = "H 2 * * 0"

      disabled = false
    }

    apollo_slim_3_7_runner_lambda = {
      repository_name     = "infrastructure"
      job_name            = "apollo-slim-3.7-runner-lambda"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-slim/3.7/python-runner-lambda/Jenkinsfile"
      schedule_expression = "H 3 * * 0"

      disabled = false
    }
  }

  python_3_8 = {
    apollo_alpine_3_8 = {
      repository_name     = "infrastructure"
      job_name            = "apollo-alpine-3.8"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-alpine/3.8/python/Jenkinsfile"
      schedule_expression = "H 1 * * *"

      disabled = false
    }

    apollo_slim_3_8 = {
      repository_name     = "infrastructure"
      job_name            = "apollo-slim-3.8"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-slim/3.8/python/Jenkinsfile"
      schedule_expression = "H 1 * * *"

      disabled = false
    }

    apollo_alpine_3_8_builder = {
      repository_name     = "infrastructure"
      job_name            = "apollo-alpine-3.8-builder"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-alpine/3.8/python-builder/Jenkinsfile"
      schedule_expression = "H 2 * * *"

      disabled = false
    }

    apollo_slim_3_8_builder = {
      repository_name     = "infrastructure"
      job_name            = "apollo-slim-3.8-builder"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-slim/3.8/python-builder/Jenkinsfile"
      schedule_expression = "H 2 * * *"

      disabled = false
    }

    apollo_alpine_3_8_runner = {
      repository_name     = "infrastructure"
      job_name            = "apollo-alpine-3.8-runner"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-alpine/3.8/python-runner/Jenkinsfile"
      schedule_expression = "H 2 * * *"

      disabled = false
    }

    apollo_slim_3_8_runner = {
      repository_name     = "infrastructure"
      job_name            = "apollo-slim-3.8-runner"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-slim/3.8/python-runner/Jenkinsfile"
      schedule_expression = "H 2 * * *"

      disabled = false
    }

    apollo_slim_3_8_runner_lambda = {
      repository_name     = "infrastructure"
      job_name            = "apollo-slim-3.8-runner-lambda"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-slim/3.8/python-runner-lambda/Jenkinsfile"
      schedule_expression = "H 3 * * *"

      disabled = false
    }

    aws2_3_8 = {
      repository_name     = "infrastructure"
      job_name            = "aws2-3.8"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-aws2/3.8/python/Jenkinsfile"
      schedule_expression = "H 1 * * 0"

      disabled = false
    }

    aws2_3_8_builder = {
      repository_name     = "infrastructure"
      job_name            = "aws2-3.8-builder"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-aws2/3.8/python-builder/Jenkinsfile"
      schedule_expression = "H 2 * * 0"

      disabled = false
    }

    aws2_3_8_testing = {
      repository_name     = "infrastructure"
      job_name            = "aws2-3.8-testing"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-aws2/3.8/python-testing/Jenkinsfile"
      schedule_expression = "H 2 * * 0"

      disabled = false
    }
  }

  python_3_9 = {
    apollo_alpine_3_9 = {
      repository_name     = "infrastructure"
      job_name            = "apollo-alpine-3.9"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-alpine/3.9/python/Jenkinsfile"
      schedule_expression = "H 1 * * *"

      disabled = false
    }

    apollo_slim_3_9 = {
      repository_name     = "infrastructure"
      job_name            = "apollo-slim-3.9"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-slim/3.9/python/Jenkinsfile"
      schedule_expression = "H 1 * * *"

      disabled = false
    }

    apollo_alpine_3_9_builder = {
      repository_name     = "infrastructure"
      job_name            = "apollo-alpine-3.9-builder"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-alpine/3.9/python-builder/Jenkinsfile"
      schedule_expression = "H 2 * * *"

      disabled = false
    }

    apollo_slim_3_9_builder = {
      repository_name     = "infrastructure"
      job_name            = "apollo-slim-3.9-builder"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-slim/3.9/python-builder/Jenkinsfile"
      schedule_expression = "H 2 * * *"

      disabled = false
    }

    apollo_alpine_3_9_runner = {
      repository_name     = "infrastructure"
      job_name            = "apollo-alpine-3.9-runner"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-alpine/3.9/python-runner/Jenkinsfile"
      schedule_expression = "H 2 * * *"

      disabled = false
    }

    apollo_slim_3_9_runner = {
      repository_name     = "infrastructure"
      job_name            = "apollo-slim-3.9-runner"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-slim/3.9/python-runner/Jenkinsfile"
      schedule_expression = "H 2 * * *"

      disabled = false
    }

    apollo_slim_3_9_runner_lambda = {
      repository_name     = "infrastructure"
      job_name            = "apollo-slim-3.9-runner-lambda"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-slim/3.9/python-runner-lambda/Jenkinsfile"
      schedule_expression = "H 3 * * *"

      disabled = false
    }

    aws2_3_9 = {
      repository_name     = "infrastructure"
      job_name            = "aws2-3.9"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-aws2/3.9/python/Jenkinsfile"
      schedule_expression = "H 1 * * 0"

      disabled = false
    }

    aws2_3_9_builder = {
      repository_name     = "infrastructure"
      job_name            = "aws2-3.9-builder"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-aws2/3.9/python-builder/Jenkinsfile"
      schedule_expression = "H 2 * * 0"

      disabled = false
    }

    aws2_3_9_testing = {
      repository_name     = "infrastructure"
      job_name            = "aws2-3.9-testing"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-aws2/3.9/python-testing/Jenkinsfile"
      schedule_expression = "H 2 * * 0"

      disabled = false
    }
  }

  python_3_10 = {
    apollo_alpine_3_10 = {
      repository_name     = "infrastructure"
      job_name            = "apollo-alpine-3.10"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-alpine/3.10/python/Jenkinsfile"
      schedule_expression = "H 1 * * *"

      disabled = false
    }

    apollo_slim_3_10 = {
      repository_name     = "infrastructure"
      job_name            = "apollo-slim-3.10"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-slim/3.10/python/Jenkinsfile"
      schedule_expression = "H 1 * * *"

      disabled = false
    }

    apollo_alpine_3_10_builder = {
      repository_name     = "infrastructure"
      job_name            = "apollo-alpine-3.10-builder"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-alpine/3.10/python-builder/Jenkinsfile"
      schedule_expression = "H 2 * * *"

      disabled = false
    }

    apollo_slim_3_10_builder = {
      repository_name     = "infrastructure"
      job_name            = "apollo-slim-3.10-builder"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-slim/3.10/python-builder/Jenkinsfile"
      schedule_expression = "H 2 * * *"

      disabled = false
    }

    apollo_alpine_3_10_runner = {
      repository_name     = "infrastructure"
      job_name            = "apollo-alpine-3.10-runner"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-alpine/3.10/python-runner/Jenkinsfile"
      schedule_expression = "H 2 * * *"

      disabled = false
    }

    apollo_slim_3_10_runner = {
      repository_name     = "infrastructure"
      job_name            = "apollo-slim-3.10-runner"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-slim/3.10/python-runner/Jenkinsfile"
      schedule_expression = "H 2 * * *"

      disabled = false
    }

    apollo_slim_3_10_runner_lambda = {
      repository_name     = "infrastructure"
      job_name            = "apollo-slim-3.10-runner-lambda"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-apollo-slim/3.10/python-runner-lambda/Jenkinsfile"
      schedule_expression = "H 3 * * *"

      disabled = false
    }

    aws2_3_10 = {
      repository_name     = "infrastructure"
      job_name            = "aws2-3.10"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-aws2/3.10/python/Jenkinsfile"
      schedule_expression = "H 1 * * 0"

      disabled = false
    }

    aws2_3_10_builder = {
      repository_name     = "infrastructure"
      job_name            = "aws2-3.10-builder"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-aws2/3.10/python-builder/Jenkinsfile"
      schedule_expression = "H 2 * * 0"

      disabled = false
    }

    aws2_3_10_testing = {
      repository_name     = "infrastructure"
      job_name            = "aws2-3.10-testing"
      http_url            = "https://github.com/theorchard/infrastructure"
      ssh_url             = "git@github.com:theorchard/infrastructure.git"
      jenkinsfile_path    = "Docker/python-aws2/3.10/python-testing/Jenkinsfile"
      schedule_expression = "H 2 * * 0"

      disabled = false
    }
  }
}
