<commit_before>include "./concourse/pipeline-helpers";

{
  "jobs": [
    import_repo_release("github.com/dpb587/openvpn-bosh-release"),
    import_repo_release("github.com/dpb587/ssoca-bosh-release"),

    compile_boshio_release("cloudfoundry/bosh"; "ubuntu-trusty"),
    compile_boshio_release("concourse/concourse"; "ubuntu-trusty"),
    compile_boshio_release("cloudfoundry/garden-runc-release"; "ubuntu-trusty"),
    compile_boshio_release("cloudfoundry/uaa-release"; "ubuntu-trusty"),
    compile_boshio_release("cloudfoundry-community/docker-registry-boshrelease"; "ubuntu-trusty"),
    compile_boshio_release("cloudfoundry-community/prometheus-boshrelease"; "ubuntu-trusty"),
    compile_boshio_release("cloudfoundry/postgres-release"; "ubuntu-trusty"),
    compile_boshio_release("cloudfoundry/syslog-release"; "ubuntu-trusty"),
    compile_boshio_release("cloudfoundry/bosh-dns-release"; "ubuntu-trusty"),
    compile_boshio_release("pivotal-cf/credhub-release"; "ubuntu-trusty"),
    compile_boshio_release("vito/grafana-boshrelease"; "ubuntu-trusty"),

    {
      "name": "import-cf-deployment",
      "plan": [
        {
          "get": "cf-deployment",
          "trigger": true
        },
        {
          "get": "repo"
        },
        {
          "task": "import-cf-deployment",
          "file": "repo/concourse/tasks/import-cf-deployment/config.yml",
          "params": {
            "git_user_email": "((maintainer_email))",
            "git_user_name": "((maintainer_name))"
          }
        },
        {
          "put": "repo",
          "params": {
            "rebase": true,
            "repository": "repo"
          }
        }
      ]
    },

    {
      "name": "push-app",
      "serial": true,
      "plan": [
        {
          "get": "repo",
          "trigger": true
        },
        {
          "task": "build-app",
          "file": "repo/concourse/tasks/build-app/config.yml"
        },
        {
          "put": "app",
          "params": {
            "manifest": "app/manifest.yml"
          }
        }
      ]
    }
  ],
  "resources": [
    {
      "name": "repo",
      "type": "git",
      "source": {
        "branch": "master",
        "private_key": "((git_private_key))",
        "uri": "<EMAIL>:dpb587/bosh-compiled-releases.git"
      }
    },
    {
      "name": "release-compiler",
      "type": "git",
      "source": {
        "uri": "https://github.com/dpb587/bosh-release-compiler.git"
      }
    },
    {
      "name": "ubuntu-trusty",
      "type": "metalink-repository",
      "source": {
        "uri": "https://dpb587.github.io/upstream-blob-mirror/repository/bosh.io/stemcell/bosh-warden-boshlite-ubuntu-trusty-go_agent/index.xml"
      }
    },

    repo_release("github.com/dpb587/openvpn-bosh-release"; {"uri": "https://github.com/dpb587/openvpn-bosh-release.git"}),
    repo_release("github.com/dpb587/ssoca-bosh-release"; {"uri": "https://github.com/dpb587/ssoca-bosh-release.git"}),

    boshio_release("cloudfoundry/bosh"),
    boshio_release("concourse/concourse"),
    boshio_release("cloudfoundry/garden-runc-release"),
    boshio_release("cloudfoundry/uaa-release"),
    boshio_release("cloudfoundry-community/docker-registry-boshrelease"),
    boshio_release("cloudfoundry-community/prometheus-boshrelease"),
    boshio_release("cloudfoundry/postgres-release"),
    boshio_release("cloudfoundry/syslog-release"),
    boshio_release("cloudfoundry/bosh-dns-release"),
    boshio_release("pivotal-cf/credhub-release"),
    boshio_release("vito/grafana-boshrelease"),

    {<commit_msg>add bpm-release<commit_after>include "./concourse/pipeline-helpers";

{
  "jobs": [
    import_repo_release("github.com/dpb587/openvpn-bosh-release"),
    import_repo_release("github.com/dpb587/ssoca-bosh-release"),

    compile_boshio_release("cloudfoundry/bosh"; "ubuntu-trusty"),
    compile_boshio_release("concourse/concourse"; "ubuntu-trusty"),
    compile_boshio_release("cloudfoundry/garden-runc-release"; "ubuntu-trusty"),
    compile_boshio_release("cloudfoundry/uaa-release"; "ubuntu-trusty"),
    compile_boshio_release("cloudfoundry-community/docker-registry-boshrelease"; "ubuntu-trusty"),
    compile_boshio_release("cloudfoundry-community/prometheus-boshrelease"; "ubuntu-trusty"),
    compile_boshio_release("cloudfoundry/postgres-release"; "ubuntu-trusty"),
    compile_boshio_release("cloudfoundry/syslog-release"; "ubuntu-trusty"),
    compile_boshio_release("cloudfoundry/bosh-dns-release"; "ubuntu-trusty"),
    compile_boshio_release("cloudfoundry-incubator/bpm-release"; "ubuntu-trusty"),
    compile_boshio_release("pivotal-cf/credhub-release"; "ubuntu-trusty"),
    compile_boshio_release("vito/grafana-boshrelease"; "ubuntu-trusty"),

    {
      "name": "import-cf-deployment",
      "plan": [
        {
          "get": "cf-deployment",
          "trigger": true
        },
        {
          "get": "repo"
        },
        {
          "task": "import-cf-deployment",
          "file": "repo/concourse/tasks/import-cf-deployment/config.yml",
          "params": {
            "git_user_email": "((maintainer_email))",
            "git_user_name": "((maintainer_name))"
          }
        },
        {
          "put": "repo",
          "params": {
            "rebase": true,
            "repository": "repo"
          }
        }
      ]
    },

    {
      "name": "push-app",
      "serial": true,
      "plan": [
        {
          "get": "repo",
          "trigger": true
        },
        {
          "task": "build-app",
          "file": "repo/concourse/tasks/build-app/config.yml"
        },
        {
          "put": "app",
          "params": {
            "manifest": "app/manifest.yml"
          }
        }
      ]
    }
  ],
  "resources": [
    {
      "name": "repo",
      "type": "git",
      "source": {
        "branch": "master",
        "private_key": "((git_private_key))",
        "uri": "<EMAIL>:dpb587/bosh-compiled-releases.git"
      }
    },
    {
      "name": "release-compiler",
      "type": "git",
      "source": {
        "uri": "https://github.com/dpb587/bosh-release-compiler.git"
      }
    },
    {
      "name": "ubuntu-trusty",
      "type": "metalink-repository",
      "source": {
        "uri": "https://dpb587.github.io/upstream-blob-mirror/repository/bosh.io/stemcell/bosh-warden-boshlite-ubuntu-trusty-go_agent/index.xml"
      }
    },

    repo_release("github.com/dpb587/openvpn-bosh-release"; {"uri": "https://github.com/dpb587/openvpn-bosh-release.git"}),
    repo_release("github.com/dpb587/ssoca-bosh-release"; {"uri": "https://github.com/dpb587/ssoca-bosh-release.git"}),

    boshio_release("cloudfoundry/bosh"),
    boshio_release("concourse/concourse"),
    boshio_release("cloudfoundry/garden-runc-release"),
    boshio_release("cloudfoundry/uaa-release"),
    boshio_release("cloudfoundry-community/docker-registry-boshrelease"),
    boshio_release("cloudfoundry-community/prometheus-boshrelease"),
    boshio_release("cloudfoundry/postgres-release"),
    boshio_release("cloudfoundry/syslog-release"),
    boshio_release("cloudfoundry/bosh-dns-release"),
    boshio_release("cloudfoundry-incubator/bpm-release"),
    boshio_release("pivotal-cf/credhub-release"),
    boshio_release("vito/grafana-boshrelease"),

    {
{'fraction_non_alphanumeric': 0.17020984775750925, 'fraction_numerical': 0.007406391441503223, 'mean_word_length': 2.7071682765632943, 'pattern_counts': {'":': 84, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, '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': '1509974', 'n_tokens_mistral': 2660, 'n_tokens_neox': 2486, 'n_words': 230}